You're welcome, Escribe!
Thanks for feedback.
As for your follow-on Q:
Another question is since I added this macro, when I open the
worksheet, the warning about enable/disable macros comes up.
Can you suggest how to turn this off. Since I'm not using any imported
data in this spreadsheet, I don't see the need for this warning.
I'm using xl 97, and it seems that it's not possible in xl 97 to turn it
off,
re: a previous reply by MVP Gord Dibben pasted below.
Perhaps you would like to state what's your xl version
for others to chip-in to clarify ?
--
Rgds
Max
xl 97
----------------------------------
Use xdemechanik <at>yahoo<dot>com for email
-----------------------------------------
From: Gord Dibben (
[email protected])
Subject: Re: Disable macro warning
View: Complete Thread (2 articles)
Original Format
Newsgroups: microsoft.public.excel.setup
Date: 2001-07-09 11:48:22 PST
Cannot be done in XL97. All or nothing as far as Macro warnings are
concerned. If there was a way to do it, virus writers could have a field
day.
Upgrade to XL2000 and get the ability to have low to high security levels
and
signed certificates allowing certain books to be opened without the warning.
HTH Gord XL97 SR2
In Excel 97 is there a way through a command-line switch
or something similar to disable the Macro warning when
opening a specified worksheet?
In general I'd like to keep the macro warnings to adhere
to good security practices, but I have a daily report with
an embedded ActiveX object that I open regularly, and I
would like to open it from a shortcut without the macro
warning [obviously I trust it].
Any advice is appreciated.
-------------------------------