+ Reply to Thread
Results 1 to 14 of 14

Vba how to set this value cell in my value ?

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

    Question Vba how to set this value cell in my value ?

    Hi,

    i have done an example drop down where if user select drop down list A they be given to select based on the grouping, now however i want to target this column cell value as = 1 of my drop down

    i have put the instruction down in the excel marco can someone help me out from the vba to add on this ?

    i have try this vba code

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by excelvbanew; 04-27-2023 at 01:55 AM.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    In previously supplied code...add red snippet...
    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 star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

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

    Re: Vba how to set this value cell in my value ?

    Nice is there a way where i can auto refresh the column C as well if i select on 4D i can still see "Sale (Default)" is there a way i can refresh the cell by cell ? in column C ?

    since in my scenario is 1 whole table ..
    Attached Files Attached Files
    Last edited by excelvbanew; 04-27-2023 at 03:00 AM.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    I don't understand...please explain this in more detail...

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

    Re: Vba how to set this value cell in my value ?

    sorry is a bit hard to explain

    basically i have added more row to it
    and i wan a drop down refresh when select the column A drop down

    i also have updated the code whatever you have send which have solved most of my issue, now currently left is this where i wan try to refresh the drop down based on the selection i make .
    Last edited by excelvbanew; 04-27-2023 at 03:26 AM.

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    Explain step by step what you want to achieve by referring to each individual action...I am not a mind reader...

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

    Re: Vba how to set this value cell in my value ?

    Example

    I Select in Column 4A i select 3G first which give me "Sale (Default)"
    now i reselect in Column 4A i select 4D which i should see the new value however "Sale (Default)" is still there

    so now i would like to try to update the new column in C4 to make it = ""
    and the following same row which also same but it refresh in that row

    so if i choose 4A in row 2 = "Sale (Default)"
    then row 2 i change to 4D = "" if i change this in my 4d this row get updated

    hope this help to explain what i wan

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    which i should see the new value
    What new value...The first of the next list...
    NA - No tangible assets

    so if i choose 4A in row 2
    do you want A4:A9 to have the same functions...

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

    Re: Vba how to set this value cell in my value ?

    yes correct

    as this will be like in a table for the user to choose

  10. #10
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    like this...
    Attached Files Attached Files

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

    Re: Vba how to set this value cell in my value ?

    Hi sorry i cant view the file as is block by my company due to virus found

    can u paste the code instead in here ?

  12. #12
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    Please Login or Register  to view this content.

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

    Re: Vba how to set this value cell in my value ?

    yes it work as what i want

    Thanks again for it Cheers .

  14. #14
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Vba how to set this value cell in my value ?

    ...............................
    THANKS.gif

+ 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] When one cell equals value of another cell, then third cell displays text of fourth cell?
    By spookymyo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2021, 02:12 PM
  2. [SOLVED] cell a function doing math on previous sheet, cell b - cell c result in cell d...
    By dad812 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-08-2018, 08:20 AM
  3. Replies: 6
    Last Post: 01-23-2018, 04:49 AM
  4. If Cell A is equal to Cell B replace the data from Cell A with Cell C. How can I do this.
    By tristanhathaway in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2014, 08:05 PM
  5. [SOLVED] How to create/run "cell A equals Cell B put Cell C info in Cell D
    By abmb161 in forum Excel General
    Replies: 7
    Last Post: 02-05-2014, 02:20 AM
  6. Replies: 1
    Last Post: 11-06-2013, 02:56 AM
  7. Replies: 1
    Last Post: 11-03-2012, 09:05 PM

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