+ Reply to Thread
Results 1 to 3 of 3

vba based on a cell value

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    SOUTH AFRICA
    MS-Off Ver
    MS EXCEL 2016
    Posts
    132

    vba based on a cell value

    Good day

    Please assist with a vba code so that when I click a checkbox on cell: "A16" the value on cell:AC16 reads "TRUE" , then input the value: "N/A" in cell range: "H16,K16,N16,Q16"
    And If the value on cell:AC16 reads "FALSE" , then cell range: "H16,K16,N16,Q16" should be blank

    I've attached file as reference.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-02-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    358

    Re: vba based on a cell value

    1. code in Modue1
    Please Login or Register  to view this content.
    2. Right click on Checkbox -> Assign Macro -> select checkbox_click -> OK

  3. #3
    Forum Contributor
    Join Date
    08-18-2017
    Location
    SOUTH AFRICA
    MS-Off Ver
    MS EXCEL 2016
    Posts
    132

    Re: vba based on a cell value

    Thanks a lot works perfectly super cool

+ 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] Delete Rows based on cell value, highlight based on cell value and keep deleted data
    By jaredli in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-21-2020, 06:37 AM
  2. Replies: 0
    Last Post: 08-05-2020, 10:55 AM
  3. [SOLVED] VBA code to duplicate work sheet based on cell value and rename based on cell value
    By NASANASA in forum Excel Programming / VBA / Macros
    Replies: 51
    Last Post: 03-12-2020, 07:54 AM
  4. Replies: 2
    Last Post: 09-02-2018, 01:09 PM
  5. Replies: 6
    Last Post: 01-23-2018, 04:49 AM
  6. Color Cell Based on Specific Text in Other Cell and Sorting Based on Results
    By kre30a in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2016, 07:51 PM
  7. Delete row based on cell FORMAT (color, font, etc) (not based on cell value)
    By trobey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2012, 10:39 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