Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet that launches a splashscreen when opened, after
specified time, the splashscreen closes and launches a form requiring user level selection and password requirements. All works fine when this is the only spreadsheet being opened, lets call it spreadsheet 1. The issue is when a second spreadsheet is being opened at the same time, I get a script error. I think the issue is because the second spreadsheet, lets call it spreadsheet 2, is now the active workbook and the code of course is not applicable to spreadsheet 2. Any thoughts how to get around this, Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try using ThisWorkbook instead of Activeworkbook?
hth, Doug "Gardfd" wrote in message ... I have a spreadsheet that launches a splashscreen when opened, after specified time, the splashscreen closes and launches a form requiring user level selection and password requirements. All works fine when this is the only spreadsheet being opened, lets call it spreadsheet 1. The issue is when a second spreadsheet is being opened at the same time, I get a script error. I think the issue is because the second spreadsheet, lets call it spreadsheet 2, is now the active workbook and the code of course is not applicable to spreadsheet 2. Any thoughts how to get around this, Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use ThisWorkbook rather than ActiveWorkbook in your references.
-- Regards, Tom Ogilvy "Gardfd" wrote: I have a spreadsheet that launches a splashscreen when opened, after specified time, the splashscreen closes and launches a form requiring user level selection and password requirements. All works fine when this is the only spreadsheet being opened, lets call it spreadsheet 1. The issue is when a second spreadsheet is being opened at the same time, I get a script error. I think the issue is because the second spreadsheet, lets call it spreadsheet 2, is now the active workbook and the code of course is not applicable to spreadsheet 2. Any thoughts how to get around this, Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compatibility Issue between files created in 2003 but opened in 20 | Excel Discussion (Misc queries) | |||
workbook_Open event Procedure | Excel Discussion (Misc queries) | |||
workbook_Open event Procedure | Excel Discussion (Misc queries) | |||
How call procedure when worksheet opened? | Excel Programming | |||
OnTime event not firing in Workbook_Open event procedure | Excel Programming |