ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula Range (https://www.excelbanter.com/excel-programming/313556-formula-range.html)

Steph[_3_]

Formula Range
 
How can I make the below formula range consist of columns B and D, still
using the bottow row finder of .End(xlup) ? Thanks!

Set frng = Range("B5:B" & Range("D65536").End(xlUp).Row)



duane[_28_]

Formula Range
 

change B5:B to B5:D I believ

--
duan

-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=26930


Steph[_3_]

Formula Range
 
But that will include C, which I don't want it to....

"duane" wrote in message
...

change B5:B to B5:D I believe


--
duane


------------------------------------------------------------------------
duane's Profile:

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




Bob Phillips[_6_]

Formula Range
 
Set frng = Union(Range("B5:B" & Range("B65536").End(xlUp).Row), _
Range("D5:D" & Range("D65536").End(xlUp).Row))


--

HTH

RP

"Steph" wrote in message
...
How can I make the below formula range consist of columns B and D, still
using the bottow row finder of .End(xlup) ? Thanks!

Set frng = Range("B5:B" & Range("D65536").End(xlUp).Row)





duane[_29_]

Formula Range
 

I do not know how to define a discontinuous range

--
duan

-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=26930


Steph[_3_]

Formula Range
 
Thanks Bob!

"Bob Phillips" wrote in message
...
Set frng = Union(Range("B5:B" & Range("B65536").End(xlUp).Row), _
Range("D5:D" & Range("D65536").End(xlUp).Row))


--

HTH

RP

"Steph" wrote in message
...
How can I make the below formula range consist of columns B and D, still
using the bottow row finder of .End(xlup) ? Thanks!

Set frng = Range("B5:B" & Range("D65536").End(xlUp).Row)








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

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