Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CCR
 
Posts: n/a
Default Excel Macro Disappeared

Where did my macro go?

I know it was in the worksheet and I saved the worksheet, but when I closed
the worksheet and reopened it, the macro is now gone.

How do I find it or do I have to re-record it?

Also, how do I make it accessible so others can run it as well (it reformats
the layout of the page and columns and column headers after exporting data
from an Access database into the Excel spreadsheet.

I have it assigned to a button on the toolbar...the button is still there
but the macro is gone and I now get an error message stating the macro cannot
be found...???

Help!
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

CCR

When you recorded the macro you probably had Personal Macro Workbook selected
as the place to store it.

Close Excel completely then re-open. Personal.xls should open and your macro
will be available.

For more on Personal.xls see Help.

BTW......you don't save a "worksheet", you save a "workbook" which can contain
multiple worksheets.


Gord Dibben Excel MVP


On Wed, 11 May 2005 11:31:03 -0700, CCR wrote:

Where did my macro go?

I know it was in the worksheet and I saved the worksheet, but when I closed
the worksheet and reopened it, the macro is now gone.

How do I find it or do I have to re-record it?

Also, how do I make it accessible so others can run it as well (it reformats
the layout of the page and columns and column headers after exporting data
from an Access database into the Excel spreadsheet.

I have it assigned to a button on the toolbar...the button is still there
but the macro is gone and I now get an error message stating the macro cannot
be found...???

Help!


  #3   Report Post  
CCR
 
Posts: n/a
Default

Thanks, Gord...

No, the macro doesn't show up in any file I open (though it used to!!!???).

Nothing works so I guess I will re-record it...

Now, how do I make it portable to others? The challenge is the file i want
it in is opened up via an export from Access. So, it isn't a file I have
saved somewhere, I developed it in a file that was exported...perhaps that is
why it disappeared?

Either way, thanks again, Gord...

CCR

"Gord Dibben" wrote:

CCR

When you recorded the macro you probably had Personal Macro Workbook selected
as the place to store it.

Close Excel completely then re-open. Personal.xls should open and your macro
will be available.

For more on Personal.xls see Help.

BTW......you don't save a "worksheet", you save a "workbook" which can contain
multiple worksheets.


Gord Dibben Excel MVP


On Wed, 11 May 2005 11:31:03 -0700, CCR wrote:

Where did my macro go?

I know it was in the worksheet and I saved the worksheet, but when I closed
the worksheet and reopened it, the macro is now gone.

How do I find it or do I have to re-record it?

Also, how do I make it accessible so others can run it as well (it reformats
the layout of the page and columns and column headers after exporting data
from an Access database into the Excel spreadsheet.

I have it assigned to a button on the toolbar...the button is still there
but the macro is gone and I now get an error message stating the macro cannot
be found...???

Help!



  #4   Report Post  
CCR
 
Posts: n/a
Default

Gord,

I had to re-record the macro, but once I saved it in Personal.xls, it works
now.

I also e-mailed my personal.xls to a co-worker and it works for him too...so
now I know how to make Excel macros protable!

Thanks again,

CCR

"Gord Dibben" wrote:

CCR

When you recorded the macro you probably had Personal Macro Workbook selected
as the place to store it.

Close Excel completely then re-open. Personal.xls should open and your macro
will be available.

For more on Personal.xls see Help.

BTW......you don't save a "worksheet", you save a "workbook" which can contain
multiple worksheets.


Gord Dibben Excel MVP


On Wed, 11 May 2005 11:31:03 -0700, CCR wrote:

Where did my macro go?

I know it was in the worksheet and I saved the worksheet, but when I closed
the worksheet and reopened it, the macro is now gone.

How do I find it or do I have to re-record it?

Also, how do I make it accessible so others can run it as well (it reformats
the layout of the page and columns and column headers after exporting data
from an Access database into the Excel spreadsheet.

I have it assigned to a button on the toolbar...the button is still there
but the macro is gone and I now get an error message stating the macro cannot
be found...???

Help!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel Macro Disappeared

This happened to me this morning. I had saved the macros in my workbook and
when I re-opened it, they were gone. It was because when I saved the
workbook, I saved it as a normal .xlsx file. This file format does not
support macros. To save a workbook containing macros, you have to "save as"
..xlsm which is Excel Macro-Enabled Workbook.

This is for the newest version of Excel as of today April 2009. I don't
know the version because the menus have been changed so extensively that I
can't even find where to look for the version information.....

"CCR" wrote:

Where did my macro go?

I know it was in the worksheet and I saved the worksheet, but when I closed
the worksheet and reopened it, the macro is now gone.

How do I find it or do I have to re-record it?

Also, how do I make it accessible so others can run it as well (it reformats
the layout of the page and columns and column headers after exporting data
from an Access database into the Excel spreadsheet.

I have it assigned to a button on the toolbar...the button is still there
but the macro is gone and I now get an error message stating the macro cannot
be found...???

Help!

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
Saving Excel using Macro mrbalaje Excel Discussion (Misc queries) 4 April 20th 05 02:32 PM
Button fails to call macro when open an Excel via Intranet tigertax Excel Discussion (Misc queries) 1 April 12th 05 10:21 AM
How can I edit cell contents with a macro in Excel? Mind the gaps! Excel Discussion (Misc queries) 2 March 23rd 05 08:51 PM
Problem Editing Macro in Shared Excel File [email protected] Excel Discussion (Misc queries) 1 March 19th 05 06:43 PM
Open Access Database under and Excel window using a Macro BMSpell Excel Worksheet Functions 1 January 8th 05 05:32 PM


All times are GMT +1. The time now is 09:34 AM.

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

About Us

"It's about Microsoft Excel"