ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro copying cells to a list in another spreadsheet (https://www.excelbanter.com/excel-programming/361755-macro-copying-cells-list-another-spreadsheet.html)

Mac

Macro copying cells to a list in another spreadsheet
 
I need to set up a macro on a button that picks up a list of values and
transposes them onto another spreadsheet by pasting them at the bottom of a
list.

I can do the first one but am finding it a problem in locating the end of
the list via the macro.

I.E.

Name Jones
Number 1011
Location Central

2nd Spreadsheet

Name Number Location
Smith 1001 West
Betram 1004 East

I want to automatically put Jones at the bottom of this list.

Any help much appreciated

Mac




Don Guillett

Macro copying cells to a list in another spreadsheet
 

use this idea
dlr=sheets("destinationsheet").cells(rows.count,"a ").end(xlup).row+1


--
Don Guillett
SalesAid Software

"Mac" wrote in message
...
I need to set up a macro on a button that picks up a list of values and
transposes them onto another spreadsheet by pasting them at the bottom of
a
list.

I can do the first one but am finding it a problem in locating the end of
the list via the macro.

I.E.

Name Jones
Number 1011
Location Central

2nd Spreadsheet

Name Number Location
Smith 1001 West
Betram 1004 East

I want to automatically put Jones at the bottom of this list.

Any help much appreciated

Mac







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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com