Workbook_open : Putting in message in titlebar (Visual Basic)

  • Thread starter Thread starter Jorgen [DK/2600]
  • Start date Start date
J

Jorgen [DK/2600]

Hi,

I can't find the syntax for putting in a small message in the titlebar when
opening the workbook

Any one ? 8-)

regards
jorgen
 
Hi

Put this in your This Workbook code
Private Sub Workbook_Open()
'MsgBox ("Good Day, your favourite spreadsheet is now open")
CreateObject("WScript.Shell").Popup " Good day, your favourite
spreadsheet is now open", 3, "Welcome back!"
End Sub

Obviously, you can replace the posted text with whatever you like!
 
thanks.

- jorgen

kassie said:
Hi

Put this in your This Workbook code
Private Sub Workbook_Open()
'MsgBox ("Good Day, your favourite spreadsheet is now open")
CreateObject("WScript.Shell").Popup " Good day, your favourite
spreadsheet is now open", 3, "Welcome back!"
End Sub

Obviously, you can replace the posted text with whatever you like!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top