Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2018, 06:07 PM
NoSparks NoSparks is offline Drop down box list based on response to another drop down box Windows 7 64bit Drop down box list based on response to another drop down box Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

No Phideaus, your Excel program isn't coming undone.... that's Excel 2003.
Things improved with the newer versions, but that doesn't help you right now.

Tables weren't introduced until Excel 2007.
Excel 2003 can't apply validation from another sheet unless you use named ranges.
Manually giving each range a name and formulating when to use it... not for me.



In the attached, the Schedules is moved to a separate sheet which can be hidden.
The macro in Module1 only needed to be run once to name the ranges.
The WorkSheet_Change event monitors the cells of 'Front Sheet' column A for changes and uses the same calculation
as the NameRanges macro to determine 'on the fly' what range to use for validation in the adjacent column B cell.

Don't know if this is of any use to you or not but at least have a look.
Attached Files
File Type: xls Forum example_v2a.xls (45.0 KB, 8 views)
Reply With Quote
  #2  
Old 04-13-2018, 01:30 AM
ArviLaanemets ArviLaanemets is offline Drop down box list based on response to another drop down box Windows 8 Drop down box list based on response to another drop down box Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Attached an example how use dynamic ranges for depending data validation.

As you have Office2003, I tried to avoid using all newer features. When anyway there will be some problems, then let me know. At same time, I designed this example in a way, that it will be easy to redesign it to use defined Tables later (you have to use named ranges anyway, as MS didn't include the reference to Tables into Data Validation, but formulas will be easier and more automatic).

The sheet H_Lookup is meant to be hidden, but I left it visible.

Edit. I can't check it, as I haven't Office at home comp, but I'm not sure how I made the cell references for OFFSET anchor - the 1st parameter for some references must probably be absolute (like $A$1), and for some mixed (effectively like $A1)
Attached Files
File Type: xls DataValidationExample.xls (34.0 KB, 11 views)

Last edited by ArviLaanemets; 04-13-2018 at 11:54 PM.
Reply With Quote
Reply

Tags
conditional, drop down list



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down box list based on response to another drop down box How to import list from Excel into drop-down list into word ahw Word VBA 43 02-28-2020 08:11 PM
Drop down box list based on response to another drop down box Drop down lists and pulling data from worksheet based on drop down selection cjoyce73 Excel 5 07-17-2017 07:40 AM
Drop down box list based on response to another drop down box how to make sections hidden/appear based on selection in Cont. Ctrl. Drop-down list Irimi-Ai Word 5 04-25-2017 09:31 AM
Use different sumifs based on value in drop down. Prondr Excel 3 12-20-2016 07:05 AM
Drop down box list based on response to another drop down box Dynamically changing drop-down list based on selection? (Word Form) laurarem Word 1 02-21-2013 10:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft