#1   Report Post  
Mike
 
Posts: n/a
Default macro help

I have made a macro to copy and paste data from sheet1 to sheet2. I want
to be able to retain that data on sheet2. Sheet1 will be updated daily and
the marco ran again. Is there a way to have a macro go to the next
available row on sheet2 and paste the new information without disturbing the
previous data?

Thanks
Mike


  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Mike,

Along the lines of

Worksheets("Sheet2").Range("A66536").End(xlUP)(2). Value = _
Worksheets("Sheet1").Range("A1").Value

HTH,
Bernie
MS Excel MVP


"Mike" wrote in message
news:M23he.78060$WI3.54417@attbi_s71...
I have made a macro to copy and paste data from sheet1 to sheet2. I want
to be able to retain that data on sheet2. Sheet1 will be updated daily

and
the marco ran again. Is there a way to have a macro go to the next
available row on sheet2 and paste the new information without disturbing

the
previous data?

Thanks
Mike




  #3   Report Post  
Mike
 
Posts: n/a
Default

Thank you for the help, but so far, I haven't gotten that to work.
Here is what I have:

Sheet3(pcdata)
data is in rows A3:R19
I need to copy and paste(Macro) this data to
Sheet4(Total)
The first available row is A3 Sheet4(Total)

The Sheet3(pcdata) will be updated daily
the macro needs to paste the data on Sheet4(Total) below the existing data,,
(next available row).
As I am quite a novice at excel. any help.. is very appreciated.

Thanks
Mike




"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Mike,

Along the lines of

Worksheets("Sheet2").Range("A66536").End(xlUP)(2). Value = _
Worksheets("Sheet1").Range("A1").Value

HTH,
Bernie
MS Excel MVP


"Mike" wrote in message
news:M23he.78060$WI3.54417@attbi_s71...
I have made a macro to copy and paste data from sheet1 to sheet2. I
want
to be able to retain that data on sheet2. Sheet1 will be updated daily

and
the marco ran again. Is there a way to have a macro go to the next
available row on sheet2 and paste the new information without disturbing

the
previous data?

Thanks
Mike






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro and sub rountines The Good Deeds Team Excel Discussion (Misc queries) 1 March 23rd 05 11:26 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM
Macro Formula revision? Mark Excel Worksheet Functions 1 November 28th 04 01:43 AM


All times are GMT +1. The time now is 11:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"