+ Reply to Thread
Results 1 to 3 of 3

Help making a macro to modify Left arrow key behavior when editing

  1. #1
    Registered User
    Join Date
    07-27-2019
    Location
    NY
    MS-Off Ver
    2016
    Posts
    2

    Cool Help making a macro to modify Left arrow key behavior when editing

    Hi there,

    When editing/input text in cells, I need to move the cursor back 'in-between' characters using the left arrow key. However, Excel would simply select the cell left of the current cell unless I press F2 to enter into editing mode. I was wondering if there is any way to make a macro to:
    1. Check the status of the cursor.
    If the cursor is in cell-selecting mode, keep the default behavior;
    elif in text inputting mode, sendkeys "{F2} {Left}".

    2. This macro could be triggered by the left arrow key.

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: Help making a macro to modify Left arrow key behavior when editing

    Hi zxyzgt,
    I am not certain of what you are describing. I can double click to get right into insert mode, at which point I can select anywhere in the cell, or click on the cell and then select where I want to go inside the cell using the formula bar.
    Under Options>Advanced do you have Allow editing directly in cells selected?

  3. #3
    Registered User
    Join Date
    07-27-2019
    Location
    NY
    MS-Off Ver
    2016
    Posts
    2

    Re: Help making a macro to modify Left arrow key behavior when editing

    Hi Squeaky,
    Thanks for your reply.
    Double-clicking to enter into the text box is a good habit. But, try to select cell and type contents directly, you will understand the awkwardness for the Left arrow key.

+ 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] I cannot select a cell with down/up/left/right arrow on the keyboard when ....
    By karmapala in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-14-2018, 11:08 AM
  2. Replies: 5
    Last Post: 08-06-2014, 05:36 PM
  3. Modify macro to go to the left
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-14-2013, 10:49 AM
  4. Home, End and Arrow Key Behavior
    By Nutshell in forum Excel General
    Replies: 4
    Last Post: 01-09-2011, 03:05 PM
  5. Replies: 1
    Last Post: 06-15-2006, 02:45 PM
  6. [SOLVED] modify the behavior of the enter key?
    By BobW in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-30-2006, 11:10 AM
  7. Left arrow key opens up 'Save As' window
    By lionsgate1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-22-2006, 07:10 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