+ Reply to Thread
Results 1 to 2 of 2

Locking cells using a macro:Can this be done?

  1. #1
    Registered User
    Join Date
    04-24-2007
    Location
    Washington, England
    Posts
    14

    Locking cells using a macro:Can this be done?

    Hello again,

    My first post on this forum this morning was so successful I am going to try again with somthing perhaps a little more complicated.

    What I am building is a form using Excel which will be completed by many users and for data integrity purposes I have to build in as many safeguards as possible to prevent "wrong" data being entered.

    I have a few cells (J18:N18) which are auto populated if "VC" is entered into cell I18.

    What I would like to do is lock these cells if VC is entered so that the data cannot be overwritten as long as VC is still in the cell I18.

    If VC is removed from I18 then the data in cells J18:N18 will disappear because of the auto population formula I have in these cells and the cells should again be available for manual completion.

    Can this be done? If so, be grateful for a suggestion as to the type of macro which would allow this to happen.

    Thanks again

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Closing thread - Question not posted in correct forum

    Olease read forum rules - see links below
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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