PC Review


Reply
Thread Tools Rate Thread

How can I popup instructions using VBA?

 
 
=?Utf-8?B?TGVnZW5kYXNo?=
Guest
Posts: n/a
 
      5th Jun 2007
I'd like to create a popup screen describing how to use my worksheet. Ideally
it would be in VBA

The alternative is to create a sheet with the instructions on but this would
be less fun.

I am using Excel 2003 and my knowledge of VBA is limited.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?dmJhcHJv?=
Guest
Posts: n/a
 
      5th Jun 2007
The simplest way is to use MsgBox. Put this code into ThisWorkbook module and
every time the file is opened your message appears:

Private Sub Workbook_Open()
MsgBox "How to use this workbook...."
End Sub


"Legendash" wrote:

> I'd like to create a popup screen describing how to use my worksheet. Ideally
> it would be in VBA
>
> The alternative is to create a sheet with the instructions on but this would
> be less fun.
>
> I am using Excel 2003 and my knowledge of VBA is limited.

 
Reply With Quote
 
Incidental
Guest
Posts: n/a
 
      5th Jun 2007
Hi Legendash

Another option would be to add a userform to the workbook that you can
call from a keyboard shortcut, this would have the benefit of allowing
you to add images and formatting to your popup and it can be called at
anytime if your workbook requires alot of instructions.

Open VBE (Alt + F11)
add a userform and a module to your project.

on your userform you can add whatever you want the user to see when
they access it

in the module add the code below

Sub LoadPopUP()
UserForm1.Show vbModal 'if you changed the name of your userform also
change it in here
End Sub

Then from the main excel application window select the Macro's option
under the "Tools" menu (Alt + F8) you should see LoadPopUp in the left
textbox highlight it if it is not already and click the "Options"
button from here you can assign a keyboard shortcut to run the macro
and show the userform.

Just another option for you

S

 
Reply With Quote
 
=?Utf-8?B?TGVnZW5kYXNo?=
Guest
Posts: n/a
 
      5th Jun 2007
Ah, brilliant, thanks a lot.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows trys to install Earthlink popup blocker everytime a popup =?Utf-8?B?TGRlbXBrZQ==?= Windows XP Performance 0 7th Nov 2005 08:51 AM
popup killer/blocker/stopper that shows the type of popup? peter Windows XP Internet Explorer 1 26th Jul 2004 07:41 AM
Popup Stopper does not stop popup even in aggressive mode Greg Patrick Rozelle Windows XP Internet Explorer 0 16th Feb 2004 04:45 PM
URGENT: Popup windows not working anymore - but no popup-blocker installed!!! owen Windows XP Internet Explorer 8 18th Sep 2003 03:22 AM
Re: strange W32 RPC popup (popped up) sorry for posting image of popup Jonathan Maltz [MS-MVP] Microsoft Windows 2000 4 7th Sep 2003 02:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.