+ Reply to Thread
Results 1 to 2 of 2

How can i move cursor two cells up in macros?

  1. #1
    Registered User
    Join Date
    06-11-2011
    Location
    Muzaffargarh, Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    1

    How can i move cursor two cells up in macros?

    I want to create a macro which insert 8 row and cursor move two row above automatically.
    Code of inserting 8 rows is

    '
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    Selection.EntireRow.Insert
    End Sub

    How can i move cursor two row above in above code.?.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: How can i move cursor two cells up in macros?

    Hi ameen,
    Welcome to the forum

    try..
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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