+ Reply to Thread
Results 1 to 3 of 3

If an option in dropdown list selected return value 0

  1. #1
    Forum Contributor
    Join Date
    11-09-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    390

    If an option in dropdown list selected return value 0

    Hi All,

    Could you please have a look at attached file and tell me how can I change the VBA code so when 'Electricity' in row 4 is selected the value of row8 in the column will be changed to 0?

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: If an option in dropdown list selected return value 0

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    11-09-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    390

    Re: If an option in dropdown list selected return value 0

    Thanks Olly. You're a life saver.

+ 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. Replies: 3
    Last Post: 02-05-2016, 11:09 AM
  2. Replies: 3
    Last Post: 12-15-2015, 12:14 PM
  3. using a dropdown list instead of option buttons
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2015, 10:16 PM
  4. Return Value When Option Selected [SOLVED]
    By Brenzo in forum Excel General
    Replies: 5
    Last Post: 02-03-2012, 10:52 AM
  5. Replies: 3
    Last Post: 05-09-2011, 04:56 PM
  6. Dropdown - option is picked it will return a date
    By MrJennings in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-24-2008, 12:38 PM
  7. [SOLVED] Return selected option from a control
    By XP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2006, 11:35 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