#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pop Ups

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

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pop Ups

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

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pop Ups

That exactly what I was looking for, thanks

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Pop Ups

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)

"Fraggs " wrote in message
...
I've seen some spreasheets where when you open it, a kessage box appears
and says "something". How is this achieved? I'm really new to VB by
the way so make it as simple as you can please.


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



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



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