+ Reply to Thread
Results 1 to 2 of 2

Copy and Paste Range with Objects

Hybrid 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.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Copy and Paste Range with Objects

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

+ 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