Results 1 to 1 of 1

Copy data from sheet1 to sheet2 when refresh

Threaded View

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    Ct
    MS-Off Ver
    Excel 2010
    Posts
    7

    Copy data from sheet1 to sheet2 when refresh

    I am trying to copy data from sheet1 to sheet2 when the sheet is refreshed. My code is not working. Please help! Many thanks!

    Sub copy()
    If Worksheets("sheet1").RefreshAll = True Then
    Worksheets("sheet1").Range("d1:d" & Range("d1").End(xlDown).Row).copy _
    Destination:=Worksheets("sheet2").Range("D1")
    End If
    End Sub
    Last edited by jeffreybrown; 07-28-2013 at 02:06 PM. Reason: Duplicate post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 07-25-2013, 02:58 PM
  2. [SOLVED] Copy Certain data from Sheet1 to Sheet2
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2013, 01:16 PM
  3. Copy data from Sheet1 to Sheet2
    By Seraph84 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-24-2011, 09:52 AM
  4. Copy data from sheet1 to sheet2
    By BigBlackMamba in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-11-2010, 07:37 PM
  5. how to copy sheet1 to sheet2 and refresh sheet1
    By ansmyq in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2009, 02:42 PM

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