+ Reply to Thread
Results 1 to 3 of 3

Macro to start working on a page

  1. #1
    Registered User
    Join Date
    06-09-2014
    Posts
    1

    Macro to start working on a page

    Is there a macro that will allow the user to work on a page ONLY after entering a value in a cell?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,552

    Re: Macro to start working on a page

    You could lock all the cells except the one you need input, and protect the sheet. Then use a Worksheet Change event to monitor that cell. When you get something input, you unprotect the sheet.

    Protect the sheet again before you close/save the workbook.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-16-2013
    Location
    OK
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Macro to start working on a page

    Here is code that does what you're looking for, with the target cell in this case being B1. This needs to be an unlocked cell so the user can actually put something in it, while all the other cells in the spreadsheet should remained locked (the default). The code below also checks that the cell hasn't been changed to be empty, at which point it will relock the sheet.

    Please Login or Register  to view this content.

+ 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] Vba code to start page numbers from current page (bottom of the pate right side)
    By satputenandkumar0 in forum Word Formatting & General
    Replies: 2
    Last Post: 04-04-2014, 01:09 AM
  2. [SOLVED] Make page numbering start on Page 2
    By The Skipper in forum Excel General
    Replies: 2
    Last Post: 01-15-2013, 01:16 AM
  3. Macro for page break in columns not working
    By dlorenzo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2012, 01:06 PM
  4. Macro to setup page is not working correclty
    By Larry.LeBlanc@O in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2012, 02:29 PM
  5. [SOLVED] Format page number in excel footer to start at a specific page #
    By straitctrydncr in forum Excel General
    Replies: 3
    Last Post: 04-11-2006, 08:00 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