Computing.Net > Forums > Programming > VBA-Excel copy data sheet to sheet

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VBA-Excel copy data sheet to sheet

Reply to Message Icon

Original Message
Name: Stephen Parr
Date: November 8, 2004 at 07:38:57 Pacific
Subject: VBA-Excel copy data sheet to sheet
OS: Win XP
CPU/Ram: Intel 1333 mhz 256mb
Comment:

Hello,

I am looking for some help in getting data from one sheet to another based on a date entry.

On sheet1 column h1:h10 sums rows b2:b10 to g2:10. I want to copy and paste the results only (paste special) to sheet2 in a column appropriate to the date on sheet1 (cell a1) to the column on sheet2 that has the same date. eg sheet1!a1 may be 8/11/04 and sheet2!c1 would be 8/11/04 the data from h would copy to c2:c10 then on another date say 15/11/04 hsheet1!h would copy to sheet2! d2:d10.

This could be done on the press of a button, save or another way if suggested.

Many thanks Stephen


Report Offensive Message For Removal


Response Number 1
Name: Chi Happens
Date: November 9, 2004 at 03:54:46 Pacific
Reply: (edit)

if you go TOOLS/MACROS/Record New Macro you can record a new macro as you copy your stuff, then modify the macro so that it works they way you want.

Hope this helps
Chi

"They mostly come at night...mostly"


Report Offensive Follow Up For Removal

Response Number 2
Name: Tom McKenzie
Date: November 12, 2004 at 14:40:28 Pacific
Reply: (edit)

I tried using the RECORD MACRO, but on the LOOP to go to the next name on thr first page, the first name stays in the recorded macro. I´m trying to go down a name list on the first sheet and access the same nae on the second sheet and copy some detailed information there, so as to paste it on the first sheet. Help !!!!


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software