+ Reply to Thread
Results 1 to 2 of 2

VBA or Macro needed for Copy yesterday's data automatically

Hybrid View

krjoshi VBA or Macro needed for Copy... 03-23-2012, 12:52 PM
dangelor Re: VBA or Macro needed for... 03-23-2012, 04:17 PM
  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Question VBA or Macro needed for Copy yesterday's data automatically

    Hi Folks

    I need a Macro or VBA to copy paste yesterday's data into another sheet to compile with today's data.

    I have attached an excel file of what I'm trying to accomplish.

    Thanks in advance for your expertise!

    Joshi
    Attached Files Attached Files

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    MS365 V.2406
    Posts
    2,310

    Re: VBA or Macro needed for Copy yesterday's data automatically

    Possibly...
    Sub Update()
        Dim vData As Variant
        
        vData = Worksheets("Today").Range("D5:E8")
        Worksheets("Yesterday").Range("B5:C8") = vData
    End Sub

+ 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