+ Reply to Thread
Results 1 to 3 of 3

VBA code required to restricted column editing

  1. #1
    Registered User
    Join Date
    11-28-2014
    Location
    india
    MS-Off Ver
    7
    Posts
    141

    VBA code required to restricted column editing

    Hi All
    Just wanted to know how I can restrict the edit option for a blank column and this restriction should be activated once I entered something for the first time.

    As an example in the attached excel
    1) Under request ID if I put any numeric data for the first tie then I should not have access to edit the same field for the 2nd time
    2) Once I update something in the "Request" column the "Date" and "Time" column should get the update automatically and capture the entry date and time
    If anyone suggests me some code it will be very helpful.

    help.xlsx

    Regards
    Arindam

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: VBA code required to restricted column editing

    I am going to suggest you manage this using protection and locked cells. The Request ID column starts out unlocked. Then when the user enters numeric data, it is locked. I added Data Validation to require numeric data (whole number greater than 0), since you specified that.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    11-28-2014
    Location
    india
    MS-Off Ver
    7
    Posts
    141

    Exclamation Re: VBA code required to restricted column editing

    Hi @6StringJazzer

    Regarding the title question of mine what you have given the solution it's perfectly working fine for me.
    Just need one more help
    For some time I need to delete all the data from the Sheet so if you can add a shortcut key to refresh the page so that I can make the whole page blank for next month's use.
    It will be a great help if you can tell me how to do that.

    Regards
    Arindam
    Last edited by arindamsenaxa; 06-24-2021 at 11:47 PM. Reason: Modification required

+ 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. VBA code Help PAssword with restricted viewing
    By janger in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2021, 09:30 PM
  2. [SOLVED] Help editing VBA code that uses MySQL queries to show also column names
    By ropbasuel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2020, 01:55 PM
  3. [SOLVED] code editing, inserting from three conditions into one more column
    By anna.anna in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2019, 03:13 AM
  4. [SOLVED] Message Box pop up VBA not working in Restricted Editing mode.
    By singerbatfink in forum Word Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2018, 03:16 PM
  5. [SOLVED] VBA Code Required to autofill formulated column according to the adjacent column
    By bonny24tycoon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2012, 12:05 PM
  6. Editing code to show common four-word combinations in a column
    By Glayva in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2011, 09:06 AM
  7. [SOLVED] Help required to code a '% of total' column
    By overcanyon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-19-2005, 10:25 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