Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello guys,
I would like to know how to save a file without saving the macro that generates the save mode. Ina |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Simplest to go to the VBE (Alt + F11) and delete the module that holds the
macro's: Ctrl + R, right-click the module and do remove Module1 or whatever it is called. Make double-sure you remove the right module and not something else that is important to keep. Then save the workbook. RBS "ina" wrote in message oups.com... Hello guys, I would like to know how to save a file without saving the macro that generates the save mode. Ina |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
yes but this file will be save everyday I need to do a script that
remove it automatically without going everyday to delete it. Ina |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at this:
http://www.cpearson.com/excel/vbe.htm RBS "ina" wrote in message oups.com... yes but this file will be save everyday I need to do a script that remove it automatically without going everyday to delete it. Ina |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks I tried that but and had a lot of problem because to delete it
is better to copy the file in another place and after delete. but I result my problem like this Sheets(Array("Sheet1", "Sheet2", "Sheet3")).Copy ActiveWorkbook.SaveAs Filename: ... this copy only the result in the sheet but not the code. Ina |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I run a macro upon saving a file but prior to actual save? | Excel Discussion (Misc queries) | |||
can't save VBA script when saving excel file | Excel Discussion (Misc queries) | |||
Save as prompt missing saving a .csv file | Excel Discussion (Misc queries) | |||
Macro file save as, saving sheet not workbook | Excel Programming | |||
When I save a file I consistently get a message about saving a co. | Excel Discussion (Misc queries) |