N
nbaj2k
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
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