Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Workbook_Open only if called

Hello,
I have my procedure in Workbook_Open(), which I want to run only if th
workbook was opened 'remotely' (via VBA or Task Scheduler). Is thi
possible?

Thanks,
Jare

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Run Workbook_Open only if called

This is an untested suggestion, but look at the help on

Application.UserControl

it describes the situation for the application, but I think in the instances
you describe, it should be reliable. If you are writing the code that would
open it remotely, then you might create some condition it could check and
perhaps use a combination of that and the UserControl property.

--
Regards,
Tom Ogilvy


"Jarek " wrote in message
...
Hello,
I have my procedure in Workbook_Open(), which I want to run only if the
workbook was opened 'remotely' (via VBA or Task Scheduler). Is this
possible?

Thanks,
Jarek


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbook_Open () Bill Martin Excel Discussion (Misc queries) 12 December 20th 05 05:37 PM
Workbook_Open Eric Marple Excel Programming 3 May 10th 04 01:24 AM
Help with Workbook_Open Ruan[_3_] Excel Programming 7 April 28th 04 07:52 AM
Workbook_open Event Bruce Maston Excel Programming 6 April 6th 04 01:19 AM
Workbook_Open() Error Minitman[_4_] Excel Programming 5 April 2nd 04 07:59 PM


All times are GMT +1. The time now is 01:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"