Results 1 to 2 of 2

VBA code for Disable/Enable cells

Threaded View

  1. #1
    Registered User
    Join Date
    03-19-2020
    Location
    India
    MS-Off Ver
    Microsoft Pro 365
    Posts
    9

    VBA code for Disable/Enable cells

    In this attached excel , I have 3 types of target such as weekly , monthly , and yearly . User has to choose either one option and fill the target accordingly .

    If the user is selecting target type as yearly , then monthly target cell (B3) should be disabled and user could update the target only in yearly target column.

    If the user is selecting target type as monthly , then yearly target cell (B4) should be disabled and user could update the target only in monthly target column.

    If the user is selecting target type as Weekly , then both Monthly target and yearly target should be disabled(B3 and B4 ).

    Can someone help me to find the code for above scenario..

    Please find the attached excel for your reference.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is there vba code which can disable/enable switching between open workbooks
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2016, 05:37 AM
  2. VBA Code to Know Macro Enable or Disable when Open workbook
    By GOLDENEXCEL in forum Excel General
    Replies: 3
    Last Post: 10-09-2015, 08:52 AM
  3. VBA to check cell value and enable/disable two other cells in same row
    By dexterz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2015, 09:09 AM
  4. Enable/Disable vba code
    By henk400 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2015, 08:16 AM
  5. [SOLVED] Code to disable and enable indentations
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2014, 01:38 PM
  6. Create A Button In Document To Disable/Enable A Specific Line of Code
    By BLK306 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-05-2014, 02:12 PM
  7. enable and disable cells based on the value of another cell
    By Emma_B in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-09-2013, 08:06 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