Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Inputbox - Select ranges

I've got an inputbox that lets a user type WEEK 1, WEEK 2, WEEK 3, etc. and
the macro then prints whatever range is associated with the week they typed.
Is there a way to provide some kind of selection box the user could click
their choice in, versus an inputbox where they need to type? Thanks for your
help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Inputbox - Select ranges

Data Validation with a list of those values, then trap the value with
worksheet change event code to fire your code.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"cottage6" wrote in message
...
I've got an inputbox that lets a user type WEEK 1, WEEK 2, WEEK 3, etc.

and
the macro then prints whatever range is associated with the week they

typed.
Is there a way to provide some kind of selection box the user could click
their choice in, versus an inputbox where they need to type? Thanks for

your
help!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Inputbox - Select ranges

You best option here is to add a form to your project and place a list box on
that form. You can populate the list box with your values and allow the user
to select from that list...
--
HTH...

Jim Thomlinson


"cottage6" wrote:

I've got an inputbox that lets a user type WEEK 1, WEEK 2, WEEK 3, etc. and
the macro then prints whatever range is associated with the week they typed.
Is there a way to provide some kind of selection box the user could click
their choice in, versus an inputbox where they need to type? Thanks for your
help!

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
Can't Select Range off sheet from inputbox Jim May Excel Discussion (Misc queries) 4 September 29th 07 08:26 PM
InputBox to select cell locations Michael M Excel Worksheet Functions 5 February 21st 06 05:18 PM
InputBox or...to allow nubers formulas and Ranges I mean "Type:=0+1+8" Bero Excel Programming 1 May 9th 04 11:48 PM
Select instersection of two ranges Bert[_3_] Excel Programming 1 February 16th 04 05:01 PM
VBA-Select several ranges using variables waveracerr[_8_] Excel Programming 2 February 10th 04 11:12 PM


All times are GMT +1. The time now is 11:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"