Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ppbedz
 
Posts: n/a
Default To: Gary's Student cell address reply


Thank you.

Next question....

How do I substitute r.Value into my range statement below? I
essentially want to say from A5 through r.Value


Range("A5:J65000").Select


Thanks Again! :)


--
ppbedz
------------------------------------------------------------------------
ppbedz's Profile: http://www.excelforum.com/member.php...o&userid=33559
View this thread: http://www.excelforum.com/showthread...hreadid=533519

  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Gary's Student cell address reply

Try

Range("A5:J" & R.Value).Select


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"ppbedz"
wrote in message
...

Thank you.

Next question....

How do I substitute r.Value into my range statement below? I
essentially want to say from A5 through r.Value


Range("A5:J65000").Select


Thanks Again! :)


--
ppbedz
------------------------------------------------------------------------
ppbedz's Profile:
http://www.excelforum.com/member.php...o&userid=33559
View this thread:
http://www.excelforum.com/showthread...hreadid=533519



  #3   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default To: Gary's Student cell address reply


Assuming r.value is an address, you can use

Range("A5:" & R.value).Select


--
mrice


------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=533519

  #4   Report Post  
Posted to microsoft.public.excel.misc
ppbedz
 
Posts: n/a
Default To: Gary's Student cell address reply


Sorry, I needed to bo more clear. I need to retain the J and use the
row portion of the r.value address.

Note: J is the last column in the sheet I am copying from, bit it can
have a variable number of rows.



mrice Wrote:
Assuming r.value is an address, you can use

Range("A5:" & R.value).Select



--
ppbedz
------------------------------------------------------------------------
ppbedz's Profile: http://www.excelforum.com/member.php...o&userid=33559
View this thread: http://www.excelforum.com/showthread...hreadid=533519

  #5   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Gary's Student cell address reply

Do you mean

Range("A5:J" & R.Row)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"ppbedz"
wrote in message
...

Sorry, I needed to bo more clear. I need to retain the J and
use the
row portion of the r.value address.

Note: J is the last column in the sheet I am copying from, bit
it can
have a variable number of rows.



mrice Wrote:
Assuming r.value is an address, you can use

Range("A5:" & R.value).Select



--
ppbedz
------------------------------------------------------------------------
ppbedz's Profile:
http://www.excelforum.com/member.php...o&userid=33559
View this thread:
http://www.excelforum.com/showthread...hreadid=533519





  #6   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default To: Gary's Student cell address reply

You have an alternate suggestion at your other thread.

ppbedz wrote:

Thank you.

Next question....

How do I substitute r.Value into my range statement below? I
essentially want to say from A5 through r.Value

Range("A5:J65000").Select

Thanks Again! :)

--
ppbedz
------------------------------------------------------------------------
ppbedz's Profile: http://www.excelforum.com/member.php...o&userid=33559
View this thread: http://www.excelforum.com/showthread...hreadid=533519


--

Dave Peterson
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
Address of Maximum value in Cell Session101 Excel Worksheet Functions 1 April 12th 06 09:06 PM
Insert Cell Contents in middle of web address Jetheat Excel Discussion (Misc queries) 2 March 5th 06 07:18 PM
cell address rather than range name Angi Bemiss Excel Discussion (Misc queries) 1 December 1st 05 12:46 AM
Pound (#) signs instead of text mommyo Excel Discussion (Misc queries) 16 September 20th 05 01:45 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM


All times are GMT +1. The time now is 09:28 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"