+ Reply to Thread
Results 1 to 3 of 3

Force a carriage return in a protected worksheet

  1. #1
    Forum Contributor
    Join Date
    11-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2007
    Posts
    212

    Force a carriage return in a protected worksheet

    I'm not sure why but in the attached spreadsheet pressing enter does not put you at the first cell in the row below the one you're in. I think it's because I've protected the worksheet to prevent people from putting info in the wrong cells. Is there a way to make Enter drop to the first cell of the next row down, or a way to make TAB move you to the first cell of the row below after a certain column? In the attached spreadsheet we fill in four rows of data starting at B10. After U10 you go to B11. Currently the only way to get there is to move the cursor and click in B11. I would like it automated if possible.

    Thanks!
    Attached Files Attached Files
    "Laugh? I thought I'd die!"

    Jimbo?

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Force a carriage return in a protected worksheet

    Hi jimboryan,

    There are two things I can think of that you can do:
    a. I don't think you are protecting the cells correctly.
    (1) Unprotect the sheet
    (2) Click the box between the 'A' and the '1' and Protect the entire worksheet.
    (3) Unprotect your data entry cells as required.
    (4) Protect the Sheet.

    Now when data entry is done in U10, the focus will be on 'B11'

    b. Use a Worksheet_Change() Event. When a cell changes value, Select the Cell that you want the focus to move to:
    Simple Example:
    Please Login or Register  to view this content.
    I hope this helps.

    Lewis

  3. #3
    Forum Contributor
    Join Date
    11-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2007
    Posts
    212

    Re: Force a carriage return in a protected worksheet

    The first method did exactly what I was hoping for. However, I think I will play with the other solution as well.

    Thank you very much!

+ 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] replacing two carriage return wit one carriage return
    By CDandVinyl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2015, 05:55 PM
  2. [SOLVED] Separate Carriage Return
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2014, 08:22 AM
  3. [SOLVED] Remove all but one carriage return in each cell of worksheet
    By Alimac70 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2013, 06:35 AM
  4. Carriage Return
    By hezcal1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2012, 09:27 AM
  5. Force Carriage Return?
    By 2plus2isjoe in forum Excel General
    Replies: 9
    Last Post: 09-29-2011, 09:43 AM
  6. Tab Carriage Return
    By WhtKnt in forum Excel General
    Replies: 5
    Last Post: 01-05-2011, 05:00 PM
  7. Carriage Return
    By rexmann in forum Excel General
    Replies: 3
    Last Post: 05-09-2006, 11:25 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