#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Ghost Macro

I have an Excel File that is haunted by 3 Marcos that I didn't create. It
shows up on the Tools-Macro Lists (alt-F8 on the Excel File), with the Delete
button disabled. When I tried to "Step Into" or "Edit", a messagebox says
the reference is not valid.

I have tried looking for them in the VB Editor (alt-F11 on the Excel File)
with no avail either. I have also noticed in the VB Editor that there is an
extra sheet, Namely Sheet 13 listed on the Tree, which has the same
properties of the "This Workbook" sheet. I cannot delete this sheet 13
either.

These Macros is hording lots of memory and make the Excel file extremely
slow in Response. Please advice.

Thanks in advance.
Aaron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Ghost Macro

First make sure the macros are not in worksheet code.

It will take much less time to step around this problem than to solve it.

Open a new, fresh, workbook. Copy your worksheets from the old to the new.
The copy any modules you want to keep. Then set the original workbook aside.
You can always return to it if you become bored and need a rainy-day project.
--
Gary's Student


"Aaron5" wrote:

I have an Excel File that is haunted by 3 Marcos that I didn't create. It
shows up on the Tools-Macro Lists (alt-F8 on the Excel File), with the Delete
button disabled. When I tried to "Step Into" or "Edit", a messagebox says
the reference is not valid.

I have tried looking for them in the VB Editor (alt-F11 on the Excel File)
with no avail either. I have also noticed in the VB Editor that there is an
extra sheet, Namely Sheet 13 listed on the Tree, which has the same
properties of the "This Workbook" sheet. I cannot delete this sheet 13
either.

These Macros is hording lots of memory and make the Excel file extremely
slow in Response. Please advice.

Thanks in advance.
Aaron

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Ghost Macro

Thanks for your suggestion, Gary''s Student.

I guess I didn't specify but I have looked in to all sheet codes as well.

I have actually tried to copy and paste the sheets into a new workbook. I
have even tried to copy and paste one at a time just to make sure those
Ghosts didn't follow, but for obvious reason it didn't work.

This workbook is big and I'm hoping I could get away from copy and paste
individual cells to a new workbook.

Please advice.
Aaron



"Gary''s Student" wrote:

First make sure the macros are not in worksheet code.

It will take much less time to step around this problem than to solve it.

Open a new, fresh, workbook. Copy your worksheets from the old to the new.
The copy any modules you want to keep. Then set the original workbook aside.
You can always return to it if you become bored and need a rainy-day project.
--
Gary's Student


"Aaron5" wrote:

I have an Excel File that is haunted by 3 Marcos that I didn't create. It
shows up on the Tools-Macro Lists (alt-F8 on the Excel File), with the Delete
button disabled. When I tried to "Step Into" or "Edit", a messagebox says
the reference is not valid.

I have tried looking for them in the VB Editor (alt-F11 on the Excel File)
with no avail either. I have also noticed in the VB Editor that there is an
extra sheet, Namely Sheet 13 listed on the Tree, which has the same
properties of the "This Workbook" sheet. I cannot delete this sheet 13
either.

These Macros is hording lots of memory and make the Excel file extremely
slow in Response. Please advice.

Thanks in advance.
Aaron

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ghost files and more! Tony C. Setting up and Configuration of Excel 1 June 17th 09 03:24 PM
Ghost Formulas PJG Excel Discussion (Misc queries) 2 April 16th 07 03:41 PM
ghost macro gevans Excel Worksheet Functions 4 March 8th 06 04:40 PM
I seem to have a ghost macro. SongCoyote Excel Discussion (Misc queries) 1 September 13th 05 01:04 AM
Ghost image David Excel Programming 2 April 17th 04 04:41 AM


All times are GMT +1. The time now is 06:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"