?
Solved

Remove erroneous worksheets/code from VBA Editor

Posted on 2016-07-25
6
Medium Priority
?
60 Views
Last Modified: 2016-07-26
Looking for a method/addins that will clean up my vba, removing all erroneous codes and sheets that are still visible in VBA Editor, however, no longer exists in the workbook.  (ie ThisWorkbook1, thisWorkbook2)
0
Comment
Question by:Karen Schaefer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 49

Expert Comment

by:Martin Liss
ID: 41728601
Did you try quitting and restarting Excel?
0
 

Author Comment

by:Karen Schaefer
ID: 41728683
yes and stays there.  I know this has been an issue in the past, and I have seen some addins that can be used, unfortunately I am unable to download these to my work system - do not have admin rights
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 41728688
Can you attach your workbook?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Accepted Solution

by:
Simulog earned 2000 total points
ID: 41729351
I had this issue a few years back, any time the workbook had been with a colleague who had a corrupt Excel installation.

Back then the solution was to save as Excel95 - close - open - save as Excel2003. This meant that you loosed some stuff from Excel2003

The modernized version would be to export all VBA, save the workbook as an XLSX (no macros), open it, import back all VBA and save it as an XLAM again.

Good Luck
0
 
LVL 2

Expert Comment

by:Simulog
ID: 41729378
Sorry, the last should obviously be "save as an XLSM again".
0
 

Author Closing Comment

by:Karen Schaefer
ID: 41730170
Thanks that did the trick.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Use Windows Task Scheduler to print a Word document weekly so your printer ink won't dry out.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question