Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create a Dialog Box

Hi all. I cant seem to find info on how to create a dialog box. When a user clicks on a command button I would like to have a dialog box appear with instructions and an OK button

TI


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Create a Dialog Box

Hi
have a look at
msgbox
in the VBA help
-----Original Message-----
Hi all. I cant seem to find info on how to create a

dialog box. When a user clicks on a command button I would
like to have a dialog box appear with instructions and an
OK button.

TIA


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Create a Dialog Box

You would use a Userform in Excel 97 or later. Here are some resources:

http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.

http://support.microsoft.com/?id=168067
XL97: WE1163: "Visual Basic Examples for Controlling UserForms"

Microsoft(R) Visual Basic(R) for Applications Examples for Controlling
UserForms in Microsoft Excel 97

This Application Note is an introduction to manipulating UserForms in
Microsoft Excel 97. It includes examples and Microsoft Visual Basic for
Applications macros that show you how to take advantage of the capabilities
of UserForms and use each of the ActiveX controls that are available for
UserForms


--
Regards,
Tom Ogilvy


"Chas" wrote in message
...
Hi all. I cant seem to find info on how to create a dialog box. When a

user clicks on a command button I would like to have a dialog box appear
with instructions and an OK button.

TIA




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Create a Dialog Box

You can create one of 3 things

1. a Msgbox, a simple info box with specified buttons the user can click

2. an Inputbox, like Msgbox, but user inputs a response, and only OK Cancel
buttons

3. A userform where you can create whatever controls and labels you desire./

Which suits best?

--

HTH

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

"Chas" wrote in message
...
Hi all. I cant seem to find info on how to create a dialog box. When a

user clicks on a command button I would like to have a dialog box appear
with instructions and an OK button.

TIA




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
How to create a dialog box to encode information to worksheet? joromajr Excel Discussion (Misc queries) 2 November 2nd 09 04:33 PM
How do I create a dialog box to pop up when logging out of a docum Perki Excel Discussion (Misc queries) 0 September 5th 06 11:44 PM
Create a dialog box Raza Excel Worksheet Functions 3 December 2nd 05 06:34 PM
how do i create a dialog box to appear on opening an excel wkbook lallyboo Excel Discussion (Misc queries) 1 October 13th 05 06:52 PM
Create Startup Dialog coal_miner Excel Discussion (Misc queries) 2 June 8th 05 07:25 PM


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