Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default MACRO Recorded and saved does not run the second time.


"helene and gabor" wrote in message news:...
Hello,

The Macro was created on a Vista system.

Steps:
Developer
Record Macro
Macro entered
---------------
Record Macro
Macro name: month
Sto Workbook
OK
-----------------
Macro was then entered
Stop recording

Developer
Visual Basic
Macro name shows as:month
Run
The macro ran OK
---------------------------.
once mo Run Macro
edit
Save Book1 save as type: Excel Macro Enabled Workbook
save

developer
Macro security
Macro setting Enable all Macros
Trust access to the VBA project object model
---------------------------

When I tried to run it once more, the Run Macro
had no macro name, and entering:month did not make it possible to; RUN

Thanks for any help!

Gabor


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default MACRO Recorded and saved does not run the second time.

Hi helene and gabor,

I also had problems with the macros when I first migrated from xl2002 to
xl2007. If my memory serves me correctly, the macro security to allow macros
had to be set first before saving any macros. Even a file that I migrated
from xl2002 and then saved as macro enabled workbooks in xl2007 lost the
macros. (I did have backups).

I think that I finished up setting the macro security to allow macros then
closed Excel and re-opened Excel and then everything worked fine. (Not sure
if closing and re-opening did anything but that is how I did it because I
wanted to go back to the options and see if they were still set as required.)

--
Regards,

OssieMac


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
MACRO Recorded and saved does not run the second time. helene and gabor Excel Programming 0 November 23rd 09 10:49 PM
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Recorded single column insert in macro. Macro inserts two not one lostatlewisu Excel Programming 3 August 16th 07 01:26 AM
How do you run macro automatically each time workbook is saved? Husker87 Excel Programming 5 November 25th 05 02:56 PM
Run a macro each time a workbook is saved donbuz Excel Programming 2 September 16th 04 03:12 PM


All times are GMT +1. The time now is 03:26 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"