LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default HOW TO SELECT RANGE IN MACRO

With Sheets(1)
.Range(.Cells(1, 1), .Cells(.Cells(.Rows.Count, "A").End(xlUp).Row,
"D")).Select
End With

--

Regards,
Nigel




"K" wrote in message
...
Hi, can anybody pleae tell me that how can i select range in macro
from A1 to column D cell which come in same row of last value cell in
column A


 
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
Select range in macro Chris Excel Discussion (Misc queries) 1 February 19th 10 01:33 PM
HOW TO SELECT SPECIFIED RANGE IN MACRO K[_2_] Excel Programming 4 April 24th 08 10:16 PM
Macro to select max value of range E [email protected] Excel Programming 9 October 25th 07 05:09 PM
How do I select a range using a macro? brettopp Excel Discussion (Misc queries) 3 November 8th 06 11:40 PM
When you select a range with a macro Patrick[_6_] Excel Programming 2 December 2nd 03 08:26 AM


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

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"