Solved

Remove erroneous worksheets/code from VBA Editor

Posted on 2016-07-25
6
47 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 47

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 47

Expert Comment

by:Martin Liss
ID: 41728688
Can you attach your workbook?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Accepted Solution

by:
Simulog earned 500 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

733 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