+ Reply to Thread
Results 1 to 3 of 3

Help on how to Loop Copy Paste to End of the Table VBA/Macro that do two rows only

Hybrid View

jomapac Help on how to Loop Copy... 05-13-2013, 06:24 PM
jomapac Re: Help on how to Loop Copy... 05-14-2013, 03:38 AM
jomapac Re: Help on how to Loop Copy... 05-17-2013, 12:18 PM
  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    Sousse, Tunisia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Help on how to Loop Copy Paste to End of the Table VBA/Macro that do two rows only

    Hello Experts, I need help to loop this vba/macro below to the end of the table row 57200.

    Thanks in advance...


    Sub copypaste()
    '
    ' copypaste Macro
    '
    ' Keyboard Shortcut: Ctrl+l
    '
    Selection.Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False
    Do
    ActiveCell.Offset(1, 0).Select
    Loop Until Rows(ActiveCell.Row).Hidden = False
    Selection.Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False
    End Sub

  2. #2
    Registered User
    Join Date
    05-11-2013
    Location
    Sousse, Tunisia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Help on how to Loop Copy Paste to End of the Table VBA/Macro that do two rows only

    the code I posted only work perfectly on two filtered rows, but I need this code to work for a couple of thousand filtered rows, any suggestion would be greatly appreciated...

  3. #3
    Registered User
    Join Date
    05-11-2013
    Location
    Sousse, Tunisia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Help on how to Loop Copy Paste to End of the Table VBA/Macro that do two rows only

    Hello again Experts, I am really new to this any suggestion will helpful, I finished my work by clicking the macro button a thousand times but I am afraid I have to do this again next time I encounter this problem...

+ 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