Results 1 to 14 of 14

Vba how to set this value cell in my value ?

Threaded View

  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

    If Target.Value = "3G" Or Target.Value = "4A" Or Target.Value = "4B" Or Target.Value = "4C" Or Target.Value = "4H" Or Target.Value = "4K" Or Target.Value = "4P" Then
    Range(valueC, Range(Target.Address)) = "Sale (Default)" ' Target column C 
    End If
    Attached Files Attached Files
    Last edited by excelvbanew; 04-27-2023 at 01:55 AM.

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