+ Reply to Thread
Results 1 to 4 of 4

VBA Question

Hybrid View

  1. #1
    Registered User
    Join Date
    10-26-2006
    Posts
    26
    I have a worksheet that has multiple data that I need to copy 2 cells (side by side) and move up 1 row and over 2 cells.

    I just can't figure it out how to do it. THe code I pasted isn't working the way I want it to.

    Thanx

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388
    The Resize property will extend rngFound -
    Set rngFound = rngFound.Resize(, 2)     'extend to two columns
    For the looping look at the FindNext method.
    There is a nice little example in VBA help that you can use as a framework.

+ 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