+ Reply to Thread
Results 1 to 10 of 10

F2+Enter without sendkeys method

  1. #1
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    F2+Enter without sendkeys method

    Greetings,
    1- Open enclosed file.
    2- Run Macro1.
    Please Login or Register  to view this content.
    3- See that F2+Enter macro works perfectly.

    Question: I dont want to use F2+Enter macro for some reasons... Any advice without using F2+Enter macro will be appreciated...
    I dont want to use sendkeys method...
    Attached Files Attached Files
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: F2+Enter without sendkeys method

    What does pressing F2 do?
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: F2+Enter without sendkeys method

    Hi Mike,
    F2 + Enter is creating proper date numbers...
    In order to see how, please run Macro1 in the enclosed file...

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: F2+Enter without sendkeys method



    Why this duplicate thread ?‼

  5. #5
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: F2+Enter without sendkeys method

    Quote Originally Posted by Marc L View Post

    Why this duplicate thread ?‼
    This is not duplicate thread. Because this time data is in "date" format...

  6. #6
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: F2+Enter without sendkeys method

    Hi Herry,

    I am really confused what you intend to do? F2 + Enter for what reasons? Do you want to convert text in Column A to date format?

  7. #7
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: F2+Enter without sendkeys method

    Quote Originally Posted by Faridwahidi View Post
    Hi Herry,
    Do you want to convert text in Column A to date format?
    Yes, exactly.

  8. #8
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: F2+Enter without sendkeys method

    I don't see F2, Enter doing what you want.

    Please Login or Register  to view this content.

  9. #9
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: F2+Enter without sendkeys method

    Hi Herry,


    You don't need a macro to do this. It just a simple excel Formula

    put in at column B starting on B2 and drag down this formula


    =DATE("20"&RIGHT(A2,2),RIGHT(LEFT(A2,5),2),LEFT(A2,2))

  10. #10
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: F2+Enter without sendkeys method

    Thanks Kenneth Hobson.
    Thanks Faridwahidi.
    Solved.

+ 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. application.sendkeys shift+ctrl+enter
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-18-2014, 04:13 AM
  2. SendKeys "{ENTER}" in Macro...............Permission denied
    By BHD in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2013, 06:26 PM
  3. Sendkeys for Right Most Enter Key
    By thisisgerald in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2012, 04:34 AM
  4. GetObject method not work after Call Shell Method
    By ben in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2006, 11:50 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