+ Reply to Thread
Results 1 to 6 of 6

Row dropdown triggers converting entire table row to values

  1. #1
    Registered User
    Join Date
    06-14-2009
    Location
    Indianapolis
    MS-Off Ver
    Office 365- MAC
    Posts
    5

    Row dropdown triggers converting entire table row to values

    I have a table called “TABLE1” with the fist column being "Status" which is a dropdown of 3 possible values ("ACTIVE", "PENDING" and "SOLD").

    If I select "SOLD" from the dropdown I want THAT SAME SPECIFIC TABLE ROW to convert to values. Meaning all formulas or functions within that row turn to values (so they never change).

    Maybe the drop-down selection of "SOLD" would trigger a macro that would copy and PASTE as “Values & Number Formatting”. Not sure exactly how to do this.

    I need help knowing the VBA code to enable for this please.

    Please use prop syntax for tables (not ranges).

    see attached file
    Attached Files Attached Files

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

    Re: Row dropdown triggers converting entire table row to values

    Try:
    Please Login or Register  to view this content.
    Artik

  3. #3
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,034

    Re: Row dropdown triggers converting entire table row to values

    If I select "SOLD" from the dropdown I want THAT SAME SPECIFIC TABLE ROW to convert to values
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    06-14-2009
    Location
    Indianapolis
    MS-Off Ver
    Office 365- MAC
    Posts
    5

    Re: Row dropdown triggers converting entire table row to values

    Thank you . It seems to work except it changes the number formatting. (It is changing "Accounting" number format to "Currency" number format.

    What if the dropdown column was the 2nd column? Would I then update your syntax to:

    (Target, LO.Range.Columns(2))

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

    Re: Row dropdown triggers converting entire table row to values

    In fact, Excel arbitrarily converts the accounting format to currency (ah that smug Excel!). Because of this and a different monitored column than the first, the code gets a bit complicated.
    Please Login or Register  to view this content.
    Artik

  6. #6
    Registered User
    Join Date
    06-14-2009
    Location
    Indianapolis
    MS-Off Ver
    Office 365- MAC
    Posts
    5

    Re: Row dropdown triggers converting entire table row to values

    it works! Thank you Artik!

+ 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] Dropdown List copies Values from table
    By Tobzd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2020, 07:05 PM
  2. Replies: 0
    Last Post: 10-09-2013, 10:26 PM
  3. [SOLVED] Dropdown List value triggers macro.
    By TJ Saulnier in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-09-2013, 11:28 AM
  4. [SOLVED] values from table and dropdown lists
    By andyb63uk in forum Excel General
    Replies: 3
    Last Post: 04-03-2012, 10:15 AM
  5. Dropdown option triggers data in row to be copied to new tab
    By DotsAndMagnets in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2011, 11:29 AM
  6. Replies: 3
    Last Post: 05-09-2011, 04:56 PM
  7. Converting table to chart - 0 values to be ignored
    By The Cardinal in forum Excel General
    Replies: 2
    Last Post: 09-27-2006, 07:00 AM

Tags for this Thread

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