Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Abi Abi is offline
external usenet poster
 
Posts: 20
Default Msgbox on spreadsheet launch

Hi!

I want my message box to appear as soon as the excel sheet is opened, but
I'm drawing a blank as to how to do it. Help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default Msgbox on spreadsheet launch

Hi,

i the code for ThisWorkbook

Private Sub Workbook_Open()
MsgBox "my msg"
End Sub


J

"Abi" wrote:

Hi!

I want my message box to appear as soon as the excel sheet is opened, but
I'm drawing a blank as to how to do it. Help!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Msgbox on spreadsheet launch

See Chip Pearson's page on events

http://www.cpearson.com/excel/events.htm

You would want to use the workbook_open event.

--
Regards,
Tom Ogilvy


"Abi" wrote in message
...
Hi!

I want my message box to appear as soon as the excel sheet is opened, but
I'm drawing a blank as to how to do it. Help!



  #4   Report Post  
Posted to microsoft.public.excel.programming
Abi Abi is offline
external usenet poster
 
Posts: 20
Default Msgbox on spreadsheet launch

thanks! The article helped greatly as I was missing a key step for the code.

"Tom Ogilvy" wrote:

See Chip Pearson's page on events

http://www.cpearson.com/excel/events.htm

You would want to use the workbook_open event.

--
Regards,
Tom Ogilvy


"Abi" wrote in message
...
Hi!

I want my message box to appear as soon as the excel sheet is opened, but
I'm drawing a blank as to how to do it. Help!




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
Add-In Launch MimiS Excel Discussion (Misc queries) 0 May 18th 10 08:42 PM
File won't launch eric blom Excel Discussion (Misc queries) 1 September 17th 07 10:30 PM
Macro launch - Button vs Manual launch , has different results. Wayne Excel Programming 4 February 23rd 05 11:33 AM
How to launch excel spreadsheet and load xml file from cmd line? RickH Excel Programming 1 August 22nd 04 11:13 PM
Using vb to launch a shortcut JT[_2_] Excel Programming 1 April 23rd 04 08:50 PM


All times are GMT +1. The time now is 09:00 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"