+ Reply to Thread
Results 1 to 2 of 2

VBA to execute keystroke F2+enter

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    7

    VBA to execute keystroke F2+enter

    Hi All, from what I read from the Internet, having VBA executing the keystroke is not recommendable.

    However, I also cannot get it done too.

    I am very new to VBA and I am trying to pick up pieces, hope everyone could help out, thanks in advance!

    I am using the manual keystroke to change the format of the date. F2, Enter, F2, Enter, repeat. I will have whole long list of data at times and I am thinking of writing a script to replace the manual entry. Macro recording cannot get this to work.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: VBA to execute keystroke F2+enter

    Here is an alternative solution:

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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