Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data validation in a MSG box

Does anyone know how I can get a MSGbox to pop up when I
run a macro that list only certain items, then once the
item is selected the program will run the macro that was
created already for that selection. Similar to Data
validation only I need this to pop up one the program
opens.

Thanks in advance.
Pete W
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data validation in a MSG box

Pete,

Sounds like you need to create a userform with some
command buttons on it. Once you create the form, you can
have it open when the worksheet opens. Then, you can link
specific macros to the buttons on that form.

In the VBA Help, type in userforms for more information!

Chan
-----Original Message-----
Does anyone know how I can get a MSGbox to pop up when I
run a macro that list only certain items, then once the
item is selected the program will run the macro that was
created already for that selection. Similar to Data
validation only I need this to pop up one the program
opens.

Thanks in advance.
Pete W
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data validation in a MSG box

Chan

You lost me. But maybe I did not make myself very clear.
When I run a certain macro I want the first dialog box to
pop up and say "what formula do you want to figure out"
Under that I need a validation box with about 15 possible
entries in it. When the user select one of them , that
certain macro will run and calculate the formula.

Any new idea's will be helpful.
Thanks
Pete W

-----Original Message-----
Pete,

Sounds like you need to create a userform with some
command buttons on it. Once you create the form, you can
have it open when the worksheet opens. Then, you can link
specific macros to the buttons on that form.

In the VBA Help, type in userforms for more information!

Chan
-----Original Message-----
Does anyone know how I can get a MSGbox to pop up when I
run a macro that list only certain items, then once the
item is selected the program will run the macro that was
created already for that selection. Similar to Data
validation only I need this to pop up one the program
opens.

Thanks in advance.
Pete W
.

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Data validation in a MSG box

You lost me. But maybe I did not make myself very clear.

Or maybe you thought the solution was irrelevant because you never heard of
it and didn't investigate further. Chan is correct, you need a userform with
a listbox or a combobox on it. Here's how to get started:

http://www.microsoft.com/OfficeDev/A...PG/012/012.htm
http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Pete" skrev i melding
...
Chan

You lost me. But maybe I did not make myself very clear.
When I run a certain macro I want the first dialog box to
pop up and say "what formula do you want to figure out"
Under that I need a validation box with about 15 possible
entries in it. When the user select one of them , that
certain macro will run and calculate the formula.

Any new idea's will be helpful.
Thanks
Pete W

-----Original Message-----
Pete,

Sounds like you need to create a userform with some
command buttons on it. Once you create the form, you can
have it open when the worksheet opens. Then, you can link
specific macros to the buttons on that form.

In the VBA Help, type in userforms for more information!

Chan



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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


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