+ Reply to Thread
Results 1 to 9 of 9

Copy data from Sheet1 to ActiveSheet

Hybrid View

buckobro Copy data from Sheet1 to... 05-30-2013, 03:01 PM
thameem127 Re: Copy data from Sheet1 to... 05-30-2013, 03:12 PM
buckobro Re: Copy data from Sheet1 to... 05-30-2013, 03:25 PM
JOHN H. DAVIS Re: Copy data from Sheet1 to... 05-30-2013, 03:23 PM
thameem127 Re: Copy data from Sheet1 to... 05-30-2013, 03:41 PM
buckobro Re: Copy data from Sheet1 to... 05-30-2013, 03:51 PM
thameem127 Re: Copy data from Sheet1 to... 05-30-2013, 04:16 PM
billstpierre79 Re: Copy data from Sheet1 to... 05-30-2013, 04:14 PM
buckobro Re: Copy data from Sheet1 to... 05-30-2013, 04:29 PM
  1. #1
    Registered User
    Join Date
    05-30-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Copy data from Sheet1 to ActiveSheet

    That won't work because the macro can only copy the data from Sheets("Data") and paste it to Sheets("Sheet2"). I need the macro to paste the data in whichever sheet where the button was clicked. For example, if I click the button on Sheet3, the data should be copied to sheet3 -- not to sheet2.

  2. #2
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: Copy data from Sheet1 to ActiveSheet

    try this
    
    Sheets("Data").Range("A1:A10").Copy Destination:=ActiveSheet.Range("A1")
    Attached Files Attached Files

+ 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