ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RESIZE PROPERTY: is it possible to resize "up" and "to the left"? (https://www.excelbanter.com/excel-programming/356751-resize-property-possible-resize-up-left.html)

Myles[_57_]

RESIZE PROPERTY: is it possible to resize "up" and "to the left"?
 

Suppose I have Range D10 as pivot. Is it possible to resize to E5:H10
The logical *Range("D10").Resize(-3,-5)* fails. Can the rowsize
columnsize arguments be made to take on negative values?


Myles

--
Myle
-----------------------------------------------------------------------
Myles's Profile: http://www.excelforum.com/member.php...fo&userid=2874
View this thread: http://www.excelforum.com/showthread.php?threadid=52510


Frederick Chow

RESIZE PROPERTY: is it possible to resize "up" and "to the left"?
 
Hi Myles,

Not possible for the Resize method's argument to take on negative values.

But why not try this instead:

Range("D10").Offset(-6,1).Resize(4,6)

Frederick Chow
Hong Kong

"Myles" wrote in
message ...

Suppose I have Range D10 as pivot. Is it possible to resize to E5:H10?
The logical *Range("D10").Resize(-3,-5)* fails. Can the rowsize,
columnsize arguments be made to take on negative values?


Myles.


--
Myles
------------------------------------------------------------------------
Myles's Profile:
http://www.excelforum.com/member.php...o&userid=28746
View this thread: http://www.excelforum.com/showthread...hreadid=525101





All times are GMT +1. The time now is 03:30 AM.

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