SQL to unprotect and protect worksheet
Thanks Jim. There is no SQL topic so I thought Programming was as close as I
would get to a correct topic.
If a macro can do this before the SQL kicks in then that will work for me. I
already have the protect and unprotect statements I need. How would I design
a macro to run before the SQL statements?
"Jim Thomlinson" wrote:
2 issues... The only way to do it is via macros. The other issue is that you
posted you question in the programming section where the most likely response
is going to involve a macro.
--
HTH...
Jim Thomlinson
"drewship" wrote:
Hello all.
I have 2 SQL queries that automatically import data from an Access database
into 2 different sheets on my spreadsheet when the spreadsheet opens. I need
to unprotect the sheet prior to the import, then protect it after the import.
I have looked at several posts but they all have to do with macros. Any help
would be appreciated.
Thanks in advance!!
Andrew
|