+ Reply to Thread
Results 1 to 3 of 3

Drop down value to be selected = this value or less in VBA

  1. #1
    Forum Contributor
    Join Date
    04-08-2023
    Location
    Singapore
    MS-Off Ver
    365, 2021
    Posts
    113

    Exclamation Drop down value to be selected = this value or less in VBA

    Hello everyone,

    Today i have a excel with me that i have done previously in my example i wan to let it auto to be selected in my drop down under this or = to the price value

    in my example sheet 3 will be where i am taking the value from to auto select the drop down in "B3"

    can someone help me with my vba on how can i write that such if the price value is = or less it auto select the correct dropdown ?
    Last edited by excelvbanew; 04-28-2023 at 12:54 AM.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,224

    Re: Drop down value to be selected = this value or less in VBA

    Try adding further code in the Worksheet_Change event in Sheet1:
    Please Login or Register  to view this content.
    Artik

  3. #3
    Forum Contributor
    Join Date
    04-08-2023
    Location
    Singapore
    MS-Off Ver
    365, 2021
    Posts
    113

    Re: Drop down value to be selected = this value or less in VBA

    Hi i have added however when i type in the value my drop down only appear "Please select designation from this dropdown"

    Currently this is what i want with my vba to do
    The Total price is = to what the desginator can approve

    so if the total price is between 0 - 3000 the director can approve only and of course minister
    then if the price is 3000 - 10000 the senior dupty can approve only and of course minister
    and so foe till minister anything above 250000 only minister can approve etc

    Previously i have try added new vba script but i not sure if this is the correct way to do it

    Please Login or Register  to view this content.
    Last edited by excelvbanew; 05-01-2023 at 09:41 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Creating multiple drop-downs based on primary drop-down selected
    By dcwan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-30-2020, 06:13 PM
  2. Replies: 1
    Last Post: 12-21-2019, 01:21 AM
  3. Replies: 5
    Last Post: 03-04-2019, 02:32 AM
  4. Have drop down list - Need to Change formulas based on drop down selected
    By snuffnchess in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2015, 01:10 PM
  5. Replies: 2
    Last Post: 03-11-2013, 02:22 PM
  6. After drop down selected, how do I add them all together?
    By NavyDave1974 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-28-2011, 04:48 PM
  7. Replies: 0
    Last Post: 09-03-2010, 04:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1