Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How- Message box on opening excel file?

Hi All,

Can any one help with this please?

All I want is a message pop-up box saying "Blah Blah Blah" first thing
when I open an excel file?

I used to know but it's completely gone from my head,

It's something like "On Open" or somethng like that?!?

I'm miffed!

Thanks for some help on this guys?

Buck:confused

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How- Message box on opening excel file?

Sub Auto_Open()
Msgbox "Blah Blah Blah"
End Sub

--
Regards,
Tom Ogilvy


"Buck247 " wrote in message
...
Hi All,

Can any one help with this please?

All I want is a message pop-up box saying "Blah Blah Blah" first thing,
when I open an excel file?

I used to know but it's completely gone from my head,

It's something like "On Open" or somethng like that?!?

I'm miffed!

Thanks for some help on this guys?

Buck


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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How- Message box on opening excel file?

Hi Buck

All I want is a message pop-up box saying "Blah Blah

Blah" first thing,
when I open an excel file?


I'm sure this would have come back to you in a few
minutes, anyway ... ;-)

Start VBA
In the ThisWorkBook module, enter:
Private Sub Workbook_Open()
MsgBox ("Blah Blah Blah")
End Sub

Of course you also could have created the sub in various
other ways.

Jeremy
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
Error message opening Excel file Mark Excel Discussion (Misc queries) 0 February 6th 08 04:43 PM
How can I display a message when opening an Excel File? PeterM Excel Discussion (Misc queries) 4 November 1st 05 06:58 PM
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. Tim Marsden Charts and Charting in Excel 2 October 15th 05 02:10 PM
Display a message when opening Excel file Julie Setting up and Configuration of Excel 1 August 10th 05 06:08 PM
when opening excel I receive a message that says file can't be fo. Ken Excel Discussion (Misc queries) 3 February 22nd 05 12:13 AM


All times are GMT +1. The time now is 09:11 PM.

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"