+ Reply to Thread
Results 1 to 2 of 2

lock columns A to G for manual data entry but let my userform fill in columns A to G only

  1. #1
    Registered User
    Join Date
    02-07-2015
    Location
    staffordshire England
    MS-Off Ver
    2010
    Posts
    5

    lock columns A to G for manual data entry but let my userform fill in columns A to G only

    Hope some one can help me

    i have spreadsheet set up which is filled in by a userform what i would like to do is the following
    i want to the data to be enterd by my userform only not by some on selecting the cells manually
    can this be done
    i would like any help if possible

    thanks in advance

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: lock columns A to G for manual data entry but let my userform fill in columns A to G o

    One way would be to use DataValidation on columns A:G with the formula =FALSE. (Uncheck the Ignore Blanks)

    Then the user couldn't type in entries, but the VB associated with a user form could.

    Howerver (not mentioned in the OP) the use could copy a cell a paste it into a cell in A:G.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ 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] Lock cells with formula to prevent manual data entry into those cells.
    By jitterbug888 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2015, 12:24 AM
  2. Replies: 1
    Last Post: 02-16-2015, 09:16 PM
  3. how do i create macro that will auto color fill and lock columns if day is weekend HELP
    By nt_excel help in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2013, 03:17 PM
  4. Replies: 8
    Last Post: 01-15-2013, 01:39 PM
  5. Add two columns and fill columns based on other column data
    By gcoug in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-21-2011, 06:52 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