Here is my code....PLEASE HELP (if possible)
Let me give you some background information.
1. I create a new blank workbook everytime this macro runs.
2. I do a SaveAs command (see below) in the beginning of my macro so I can identify this workbook throughout the macro. (Here's where I think...
I tried
MyFilName = "C:\" & Format(Now, "m-d-yy") & ".Xls"
? MyFilName
C:\7-11-01.Xls
I'm still getting an error message that says "Wrong number of arguments or invalid property assignment"
Is there another way to do this?
I'm working on a macro in VBA with Excel.
My objective is to have the macro automatically save the new file the macro just created. Each time the macro runs I want the filename to change.
For example,
I run the macro and it saves the file as C:\7-1-01.xls.
Tommorrow I run the macro and I want...
I don't know a lot about macros. I have used the macro recorder to create my macro to open 11 files that I use everyday. The problem is these 11 files contain passwords and the macro will not automatically open these files. It prompts me to enter my password for each file it opens.
Is there...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.