J
jurgenC!
hi all,
this macro is executed from the Workbook "Master", which posts data to
the Workbook "Minor". before posting, the macro needs to determine if
the Workbook "Minor" is open or not. i created following routing:
If Workbooks.Open("Minor") = False Then
Workbooks.Open("Minor"). _
RunAutoMacros Which:=xlAutoOpen
End If
however it will asttempt to open the Workbook "Minor" regardless of its
status. not to sure where i am going wrong.
alternatively, is there a method for posting data to an other workbook,
without the destination workbook to be open?
any help or advise is mostly appreciated.
cheers...
...jurgenC!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
this macro is executed from the Workbook "Master", which posts data to
the Workbook "Minor". before posting, the macro needs to determine if
the Workbook "Minor" is open or not. i created following routing:
If Workbooks.Open("Minor") = False Then
Workbooks.Open("Minor"). _
RunAutoMacros Which:=xlAutoOpen
End If
however it will asttempt to open the Workbook "Minor" regardless of its
status. not to sure where i am going wrong.
alternatively, is there a method for posting data to an other workbook,
without the destination workbook to be open?
any help or advise is mostly appreciated.
cheers...
...jurgenC!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!