Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selecting ranges

I am a new user of macros. Excel 2002.
I need to select all cells in a range from cells A2:L2 down to the last row
in column active cell in column A. The number of active cells in Column A
varies in the 35 worksheets I have to gather information from. I then need to
paste the contents into another workbook. Any suggestions would be welcomed.
TIA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Selecting ranges

With activeSheet
.range(.cells(2,1),.Cells(rows.count,1).End(xlup)) .Resize(,12).copy _
Destination:=Workbooks("Book2.xls").Worksheets(1). Range("A1")
End With
--
Regards,
Tom Ogilvy

"Steve Wood" <Steve wrote in message
...
I am a new user of macros. Excel 2002.
I need to select all cells in a range from cells A2:L2 down to the last

row
in column active cell in column A. The number of active cells in Column A
varies in the 35 worksheets I have to gather information from. I then need

to
paste the contents into another workbook. Any suggestions would be

welcomed.
TIA



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
V.B selecting ranges for naming ice_cool[_2_] Excel Programming 2 March 5th 04 02:21 PM
Selecting ranges with a text box Bob Metzler Excel Programming 0 September 22nd 03 04:47 PM
Selecting ranges with a text box Ed[_13_] Excel Programming 1 September 22nd 03 04:47 PM
Selecting Named Ranges Ian[_8_] Excel Programming 7 September 22nd 03 03:32 PM
selecting ranges MDC Excel Programming 1 July 24th 03 03:34 PM


All times are GMT +1. The time now is 07:00 AM.

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"