Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy data from a worksheet


Hi, I have two worksheets in my workbook, im calling the first ‘master’
and he second ‘input’ basically the master is a list of important
invoices which have to be correct,. The input sheet is design to be a
holding sheet for the date being inputted, so it can be checked before
being added to the bottom of the master list. This is done weekly and
there are normally between 5 – 20 rows.

Would I need to uses some kind of macro to select all the rows and
columns to then be copied to the next free row at the bottom of the
master list?

Thanks in advance.

Clare


--
clarefoxly
------------------------------------------------------------------------
clarefoxly's Profile: http://www.excelforum.com/member.php...o&userid=24183
View this thread: http://www.excelforum.com/showthread...hreadid=384485

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy data from a worksheet

sub copyrows()
Dim rng as Range, rng1 as Range
with worksheets("Inputs")
set rng = .Range(.Cells(2,1),.Cells(rows.count,1).End(xlup))
End With
with Worksheets("Master")
set rng1 = .Cells(rows.count,1).End(xlup)(2)
End with
rng.EntireRow.copy Destination:=rng1
End Sub

--
Regards,
Tom Ogilvy


"clarefoxly" wrote
in message ...

Hi, I have two worksheets in my workbook, im calling the first 'master'
and he second 'input' basically the master is a list of important
invoices which have to be correct,. The input sheet is design to be a
holding sheet for the date being inputted, so it can be checked before
being added to the bottom of the master list. This is done weekly and
there are normally between 5 - 20 rows.

Would I need to uses some kind of macro to select all the rows and
columns to then be copied to the next free row at the bottom of the
master list?

Thanks in advance.

Clare


--
clarefoxly
------------------------------------------------------------------------
clarefoxly's Profile:

http://www.excelforum.com/member.php...o&userid=24183
View this thread: http://www.excelforum.com/showthread...hreadid=384485



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy data from a worksheet


thank you Tom, was most helpful!

Clare


--
clarefoxly
------------------------------------------------------------------------
clarefoxly's Profile: http://www.excelforum.com/member.php...o&userid=24183
View this thread: http://www.excelforum.com/showthread...hreadid=384485

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
copy from B worksheet to A worksheet with NO repeated data tikchye_oldLearner57 Excel Discussion (Misc queries) 1 September 29th 06 06:56 PM
copy data in a cell from worksheet A to worksheet B rajesh Excel Discussion (Misc queries) 1 February 21st 06 07:40 AM
Copy data from one worksheet to another Howard Excel Worksheet Functions 2 February 14th 05 01:11 PM
Copy Modified Worksheet 1 Data to Worksheet 2 clarkelrc Excel Programming 0 April 15th 04 01:36 PM
copy all worksheet data into a new worksheet eric Excel Programming 2 October 2nd 03 08:33 PM


All times are GMT +1. The time now is 11:18 AM.

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

About Us

"It's about Microsoft Excel"