Hi,
I would like if there is a way to pass parameters while opening a workbook.
Whenever i open the workbook i query the DB to get some parameters. I have created a template file which i will be using to create other workbooks. To create a workbook i will have to open the template file and do a saveas. When i open the template file i don't want it to access the DB which i do on workbook_open.
is there any way i can prevent this?
Currently i set a cell in the template file to some value and check in workbook_open. if the value is "T" i don't access the DB. Is there anyother clean way to obtain this?
Thanks
Veera
I would like if there is a way to pass parameters while opening a workbook.
Whenever i open the workbook i query the DB to get some parameters. I have created a template file which i will be using to create other workbooks. To create a workbook i will have to open the template file and do a saveas. When i open the template file i don't want it to access the DB which i do on workbook_open.
is there any way i can prevent this?
Currently i set a cell in the template file to some value and check in workbook_open. if the value is "T" i don't access the DB. Is there anyother clean way to obtain this?
Thanks
Veera