shariryaniv
New Member
- Joined
- Jun 16, 2010
- Messages
- 4
Hello all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
<o
></o
>
i wrote some code that runs in the "Workbook_Open" subroutine.<o
></o
>
My problem is that the "Workbook_Open" subroutine RUNS TWICE<o
></o
>
When i open the excel file.<o
></o
>
<o
></o
>
IT'S IMPORTANT that i emphasize that i open the file from the command line with additional parameters.... <o
></o
>
For Example:<o
></o
>
"c:\program files\Microsoft Office\OFFICE11\excel.exe" "C:\1.xls" /e/f.Name/L.Name/Street/city name/Phone Num 1/Phone Num 2<o
></o
>
<o
></o
>
Why does the "Workbook_Open" subroutine runs twice? Can it be stoped?<o
></o
>
<o
></o
>
Thanks.




<o


i wrote some code that runs in the "Workbook_Open" subroutine.<o


My problem is that the "Workbook_Open" subroutine RUNS TWICE<o


When i open the excel file.<o


<o


IT'S IMPORTANT that i emphasize that i open the file from the command line with additional parameters.... <o


For Example:<o


"c:\program files\Microsoft Office\OFFICE11\excel.exe" "C:\1.xls" /e/f.Name/L.Name/Street/city name/Phone Num 1/Phone Num 2<o


<o


Why does the "Workbook_Open" subroutine runs twice? Can it be stoped?<o


<o


Thanks.