Pop Ups

  • Thread starter Thread starter Fraggs
  • Start date Start date
F

Fraggs

I've seen some spreasheets where when you open it, a kessage box appear
and says "something". How is this achieved? I'm really new to VB b
the way so make it as simple as you can please
 
If it is A password then you can save the workbook as passwor
protected

or else use VBA to write a message box in the workbook_Open Event.

If you want to do this

right click the picture next to the file menu item
choose view code
change the first drop down box to workbook

and then type

msgbox "This is my Text"

every time you open the workbook the messagebox appears

Hope this helps

Davi
 
Sub Auto_Open()
MsgBox "Hello", vbInformation
End Sub

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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