K
knikkix
Hi,
I am opening Excel sheet from VB.Net. Suppose the namis VB_WorkBook.xlt
In the WorkBook_ACtivate event, I am activating the following
procedures to activate when the user press the keys. Suppose the name
of this macro file is Macro_File.xls
application.onkey "{Del}", "OnDelete"
application.onkey "{Down}", "GoDown"
My main problem is the sheet is opened ok from Vb.Net but when I opened
another workbook from outside (Outside_Workbook.xls) then it also got
opened in the same excel instance in which vb has opened the workbook.
Close the Vb_Workbook.xls and reopen Outside_Workbook.xls. When I
reopen it then macro_file is automatically attached to it meaning macro
file is also opened automatically. I don't want this macro file to be
opened. what can i do.
Thanks
Nikki
I am opening Excel sheet from VB.Net. Suppose the namis VB_WorkBook.xlt
In the WorkBook_ACtivate event, I am activating the following
procedures to activate when the user press the keys. Suppose the name
of this macro file is Macro_File.xls
application.onkey "{Del}", "OnDelete"
application.onkey "{Down}", "GoDown"
My main problem is the sheet is opened ok from Vb.Net but when I opened
another workbook from outside (Outside_Workbook.xls) then it also got
opened in the same excel instance in which vb has opened the workbook.
Close the Vb_Workbook.xls and reopen Outside_Workbook.xls. When I
reopen it then macro_file is automatically attached to it meaning macro
file is also opened automatically. I don't want this macro file to be
opened. what can i do.
Thanks
Nikki