#1   Report Post  
Posted to microsoft.public.excel.misc
Erika
 
Posts: n/a
Default Footer Macro

I have recorded a footer macro that inserts the file name & path as well as
the date and time. I have saved this macro to my personal macro workbook -
when I run this macro it seems to take several minutes to run - I get the
hour glass and have to wait.

Did I do something wrong?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peter Ellis
 
Posts: n/a
Default Footer Macro

Have you checked the macro using the editing feature to see if any extraneous
code got inserted?


"Erika" wrote:

I have recorded a footer macro that inserts the file name & path as well as
the date and time. I have saved this macro to my personal macro workbook -
when I run this macro it seems to take several minutes to run - I get the
hour glass and have to wait.

Did I do something wrong?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Erika
 
Posts: n/a
Default Footer Macro

No I have not done that, is the Editing feature something this is in the
Visual Basic Editor?

"Peter Ellis" wrote:

Have you checked the macro using the editing feature to see if any extraneous
code got inserted?


"Erika" wrote:

I have recorded a footer macro that inserts the file name & path as well as
the date and time. I have saved this macro to my personal macro workbook -
when I run this macro it seems to take several minutes to run - I get the
hour glass and have to wait.

Did I do something wrong?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Peter Ellis
 
Posts: n/a
Default Footer Macro

Editing the macro brings up the Visual Basic Editor. You will need some sort
of programming knowlege to edit this. Your macro sounds quite simple though
so the code will probably not be too complicated.

To access, Use Tools | Macro | Macros, then select the macro and click the
edit command button. This will bring up the Visual Basic Editor.

If you are changing header and footer information, their might be a lot of
lines in the macro for header and footer settings that you do not need reset.
I just recorded such a macro and found that to be true. Deleting any
lines that make unneeded settings might speed up the macro.

If you are not sure about this, or are unfamiliar with a programming
language, get some help first. The code should be readable though as to what
is going on and what is being set.


"Erika" wrote:

No I have not done that, is the Editing feature something this is in the
Visual Basic Editor?

"Peter Ellis" wrote:

Have you checked the macro using the editing feature to see if any extraneous
code got inserted?


"Erika" wrote:

I have recorded a footer macro that inserts the file name & path as well as
the date and time. I have saved this macro to my personal macro workbook -
when I run this macro it seems to take several minutes to run - I get the
hour glass and have to wait.

Did I do something wrong?

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
Header and Footer Macro dhuang via OfficeKB.com Excel Discussion (Misc queries) 1 October 31st 05 04:14 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Footer Macro? mully Excel Discussion (Misc queries) 0 September 10th 05 10:37 AM
MACRO FOR SETTING MARGINS WITHOUT OVERRIDING HEADER AND FOOTER Ro Excel Discussion (Misc queries) 0 March 30th 05 02:31 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM


All times are GMT +1. The time now is 07:54 AM.

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"