Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 421
Default message box does not show

Hi Marilyn,

Try posting the following code in the ThisWorkbook module:

'==========
Private Sub Workbook_Open()
Call Form23
End Sub
'<<==========


This is workbook event code and should
be pasted into the workbook's
ThisWorkbook module *not* a standard
module or a sheet module:

Right-click the Excel icon on the worksheet
(or the icon to the left of the File menu if
your workbook is maximised)
Select 'View Code' from the menu and paste
the code.
Alt-F11 to return to Excel.



---
Regards.
Norman


"Marilyn" wrote in message
...
Hello this is my message box
Sub Form23()
Dim Msg As String
Msg = "Complete Attached Form " & vbCrLf
Msg = Msg & "Submit Invoice" & vbCrLf
Msg = Msg & "Copy your Manager"
MsgBox Msg, vbInformation, "Don't Forget"
End Sub

I want this message to pop up when the work book is opened.
right now it only works if I run the macro. thanks


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
formula to show the message that number already entered Eliane Excel Worksheet Functions 1 November 21st 07 04:59 AM
Error message - PivotTable will not fit on sheet. Show as much as Donna W Excel Worksheet Functions 2 June 27th 07 04:20 AM
"Do Not Show Again" option for message box tjmny Excel Discussion (Misc queries) 0 March 28th 07 04:54 PM
Can I add a pop-up message that will show when a workbook opens Cruisin Lo Excel Discussion (Misc queries) 5 June 28th 06 07:17 PM
changing the message in an error message The Villages DA Excel Worksheet Functions 2 February 18th 05 05:30 PM


All times are GMT +1. The time now is 04:28 PM.

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"