Results 1 to 10 of 10

F2+Enter without sendkeys method

Threaded View

  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.
    Sub Macro1()
    Dim i As Range
    For Each i In Sheets("Sheet1").Range("A2:A" & Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Row)
        i.Select
        Application.SendKeys "{F2}"
        Application.SendKeys "{ENTER}"
        DoEvents
    Next
    End Sub
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] 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