Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have my macros all done up doing exactly what I want. I have run into 2 problems however. When I have it set to save a file, if the filename already exists, it asks if I wish to overwrite, if I say yes, it continues on fine, if I say no, the macro stops and crashes, saying "Run-time error '1004' Method 'SaveAs' of object '_Workbook' failed Is there a way if I say no for it to continue on instead of crashing? The other problem I have is when I send out reports that I used macros to create. I just want people to be able to view the reports of the data, but instead a box comes up when they try to open them saying that the file contains macros, and that "Macros may contain viruses, it is usually safe to disable macros". Is there anyway of automatically removing any macros from a file before it sends? Any help would be great!, ~J -- nbaj2k ------------------------------------------------------------------------ nbaj2k's Profile: http://www.excelforum.com/member.php...o&userid=36480 View this thread: http://www.excelforum.com/showthread...hreadid=569162 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Runtime error prevents Excel 2000 to save file | Excel Worksheet Functions | |||
Runtime Error '53' File Not Found? | Excel Discussion (Misc queries) | |||
trying to trap runtime error when opening file without password | Excel Programming | |||
File Name Causes Runtime Error 1004 | Excel Programming | |||
send macros with file | Excel Programming |