D
Derek Gadd
I had a macro that worked fine but now when I try to run it (e.g. by
pressing F5 in the code) a dialog box comes up asking me to choose the
macro I want to run. My macro is not there and I can't get it to run.
I've tried creating a new workbook and typing a new macro. But anytime
that I use arguments, it doesn't recognise that the macro exists. For
example:
This will run:
Sub EmailReport()
But this will not:
Sub EmailReport(Optional Monthly As Boolean)
Any suggestions would be appreciated.
Thanks,
Derek
pressing F5 in the code) a dialog box comes up asking me to choose the
macro I want to run. My macro is not there and I can't get it to run.
I've tried creating a new workbook and typing a new macro. But anytime
that I use arguments, it doesn't recognise that the macro exists. For
example:
This will run:
Sub EmailReport()
But this will not:
Sub EmailReport(Optional Monthly As Boolean)
Any suggestions would be appreciated.
Thanks,
Derek