+ Reply to Thread
Results 1 to 3 of 3

A macro to simulate CTRL+[

  1. #1
    Registered User
    Join Date
    06-28-2005
    Posts
    81

    A macro to simulate CTRL+[

    Hi, could anyone provide some code to simulate the behaviour of the shortcut CTRL+[ which select the precedents of currently active cell ?

    Please note that the property activecell.directprecedents does not work when the precedent cell is in another sheet which is most often the reason why CTRL+[ is used (fast way to move between sheets)

    Another way to obtain the same result would be to deselect "edit directly in cell " in the advanced options and then double click on the cell.

    The reason why i need a macro is beacouse in the italian version of excel 2010 (only 2010) that shortcut doesn't work anymore (actually the italian version of that shortcut)

    Thanks for any support
    Last edited by kayard; 10-21-2011 at 03:00 AM.

  2. #2
    Forum Contributor
    Join Date
    12-13-2007
    Location
    Central New York
    MS-Off Ver
    Home: 2007, Office: 2010
    Posts
    158

    Re: A macro to simulate CTRL+[

    Have you tried:
    Application.SendKeys("^[")
    HTH,
    Mark


    Sorry, I just re-read your post and noticed that you said the shortcut doesn't work anymore.
    Last edited by mgaworecki; 10-20-2011 at 01:46 PM.

  3. #3
    Registered User
    Join Date
    06-28-2005
    Posts
    81

    Re: A macro to simulate CTRL+[

    Hi, I found a solution:

    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)

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