You cannot issue a VBA command from the declaratives section, it must be
within a macro. So
MsgBox GetFolder
has to be in a macro.
--
HTH
Bob Phillips
(remove nothere from the email address if mailing direct)
"Daminc" wrote in
message ...
And here is the reported error:
+-------------------------------------------------------------------+
|Filename: excel2.gif |
|Download: http://www.excelforum.com/attachment.php?postid=4258 |
+-------------------------------------------------------------------+
--
Daminc
------------------------------------------------------------------------
Daminc's Profile:
http://www.excelforum.com/member.php...o&userid=27074
View this thread: http://www.excelforum.com/showthread...hreadid=503265