Results 1 to 2 of 2

Copy and Paste Range with Objects

Threaded View

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    1

    Copy and Paste Range with Objects

    Hi All, I'm trying to set up VB to copy Range with Objects but am unable to get any objects copied to a new worksheet. Hoping someone can guide me in the right direction. Here is the VB code that I'm currently using:

    Private Sub AutomationSelect_Click()
    Application.ScreenUpdating = False
    
    Dim i As Long
    Range("AutomationForm").Copy
    
    For i = 1 To AutomationQty.Value
        Range("a" & Rows.Count).End(xlUp).Offset(1).PasteSpecial Paste:=xlPasteAll
    Next i
    Application.CutCopyMode = False
    End Sub
    Thank you in advance for your help!
    Last edited by JBeaucaire; 03-07-2013 at 06:50 PM. Reason: Added code tags, as per forum rules. Don't forget! Read the Forum Rules, please. (Link is above in Menu Bar). Thanks.

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