#1   Report Post  
Yaasien Parker
 
Posts: n/a
Default open vb

I'd like a macro to run when a specific file is opened. The file is on our
server and will be accessed by different users on different machine - so
xlStart is out.

--
Yaasien Parker
  #2   Report Post  
bigwheel
 
Posts: n/a
Default

"Yaasien Parker" wrote:

I'd like a macro to run when a specific file is opened. The file is on our
server and will be accessed by different users on different machine - so
xlStart is out.

--
Yaasien Parker


Put your macro in the Microsoft Excel Object named ThisWorkbook something like

Sub workbook_activate()
MsgBox "Hi Yaasien Parker"
End Sub

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Put the code in Workbook_Open event.

--
HTH

Bob Phillips

"bigwheel" wrote in message
...
"Yaasien Parker" wrote:

I'd like a macro to run when a specific file is opened. The file is on

our
server and will be accessed by different users on different machine - so
xlStart is out.

--
Yaasien Parker


Put your macro in the Microsoft Excel Object named ThisWorkbook something

like

Sub workbook_activate()
MsgBox "Hi Yaasien Parker"
End Sub



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
file open via IE hyperlink causes already open files to shrink and tile Marc Setting up and Configuration of Excel 0 May 4th 05 08:13 PM
Cannot open Excel attachment from e-mail when Excel is already ope John P. Excel Discussion (Misc queries) 1 March 1st 05 08:35 PM
When I open excel document it always ask if I want to open it in . dperkins Excel Discussion (Misc queries) 0 February 15th 05 08:11 PM
Excel Files Won't Open From Shortcut ConfusedNHouston Excel Discussion (Misc queries) 5 December 31st 04 06:25 PM
Cannot open a file that Excel says is open Plodhia Excel Discussion (Misc queries) 2 December 7th 04 01:43 AM


All times are GMT +1. The time now is 02:50 AM.

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

About Us

"It's about Microsoft Excel"