Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Saving macros

Is there any way to save a macro in progress other than exporting it or
saving the spreadsheet it's associated with? What, if anything, does
the "File, Save" or the Save icon in the VBE do?
The macro I'm working on hoses up the spreadsheet, so I'd like to close
without saving the worksheet, but I lose my work on the macro if I do.
The only way I know to avoid this is to export the macro, then import
it after I close the spreadsheet without saving it. Is there an easier
way?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Saving macros

Keep the macro(s) in one workbook and the data you work on in another
workbook.

HTH. Best wishes Harald


"davegb" skrev i melding
ups.com...
Is there any way to save a macro in progress other than exporting it or
saving the spreadsheet it's associated with? What, if anything, does
the "File, Save" or the Save icon in the VBE do?
The macro I'm working on hoses up the spreadsheet, so I'd like to close
without saving the worksheet, but I lose my work on the macro if I do.
The only way I know to avoid this is to export the macro, then import
it after I close the spreadsheet without saving it. Is there an easier
way?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Saving macros


Harald Staff wrote:
Keep the macro(s) in one workbook and the data you work on in another
workbook.

HTH. Best wishes Harald


Was afraid someone was going to say that! I guess no one at MS who set
this all up ever wrote a complex program that needed destructive
testing.
Thanks for your reply!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Saving macros

Start another workbook.
Drag the module from one project to another.



davegb wrote:

Is there any way to save a macro in progress other than exporting it or
saving the spreadsheet it's associated with? What, if anything, does
the "File, Save" or the Save icon in the VBE do?
The macro I'm working on hoses up the spreadsheet, so I'd like to close
without saving the worksheet, but I lose my work on the macro if I do.
The only way I know to avoid this is to export the macro, then import
it after I close the spreadsheet without saving it. Is there an easier
way?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Saving macros


Dave Peterson wrote:
Start another workbook.
Drag the module from one project to another.


Thanks, Dave! Foolish me, I thought it was a 21st century development
tool! :)



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Saving macros

I don't know how you could beat that speed.

davegb wrote:

Dave Peterson wrote:
Start another workbook.
Drag the module from one project to another.


Thanks, Dave! Foolish me, I thought it was a 21st century development
tool! :)


--

Dave Peterson
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 Macros MAtt Excel Discussion (Misc queries) 2 June 4th 08 06:07 PM
Saving Macros Gerald Excel Discussion (Misc queries) 1 August 19th 05 02:28 PM
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Excel Programming 0 December 12th 04 09:19 PM
Saving Macros brodine Excel Worksheet Functions 1 November 9th 04 04:14 PM
Saving Macros Peter[_35_] Excel Programming 1 January 26th 04 09:27 PM


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