Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2004, 02:06 AM
Authorized User
 
Join Date: Jan 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Assigning Macros to Drop Down Boxes

I am having trouble trying to assign macros to drop down boxes and I need help!
My spreadsheet has two drop down boxes in 2 different columns. For example, the first drop down box will list all of my companies products types. The second drop down box has a list of product variations. I would like to set the spreadsheet up so once a product is selected in the first drop down box the second drop down box only displays the variations of that particular product and not variations for all products. Basically I'd like to filter the data as each drop down box is used. Is this possible?

When I try to assign a macro to a drop down box it only assigns it to the entire box and not to a particular component within the box and that's my question in a nutshell. Can you assign macros to components of a drop down box or just to the entire box in general?

I just know the basics regarding macros and have no experience with VBA.





 
Old August 12th, 2004, 12:44 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

http://p2p.wrox.com/topic.asp?TOPIC_ID=17462






Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop Down boxes in Cells and selecting ranges tbmbob Excel VBA 0 June 1st, 2006 09:12 AM
assigning macros to word documents dynamically x_ray C# 0 May 30th, 2006 10:29 AM
Forms and drop down boxes Apocolypse2005 Javascript 1 December 6th, 2005 11:26 AM
drag and drop to multiple text boxes gbuller VB.NET 5 September 6th, 2004 09:55 PM
Two drop down dependent list boxes and a Button tcasp Classic ASP Basics 0 August 5th, 2003 02:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.