ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Range object (https://www.excelbanter.com/excel-programming/318928-range-object.html)

Zsola

Range object
 
Dear Developers,

how can I make a copy of an range object(eg. range
("a1:c10") ), that I can manipulate(eg. change values or
format of a column of this range) instead of the original,
so this manipulation will not affect the original one's
values or format.

Rob van Gelder[_4_]

Range object
 
You could copy the worksheet or copy the range to a new range.

In either case, start the macro recorder to capture the code for what you're
after.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Zsola" wrote in message
...
Dear Developers,

how can I make a copy of an range object(eg. range
("a1:c10") ), that I can manipulate(eg. change values or
format of a column of this range) instead of the original,
so this manipulation will not affect the original one's
values or format.




No Name

Range object
 
What I want to do is a usable range-variable refering to
an exact copy of a given range.



-----Original Message-----
You could copy the worksheet or copy the range to a new

range.

In either case, start the macro recorder to capture the

code for what you're
after.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Zsola" wrote in message
...
Dear Developers,

how can I make a copy of an range object(eg. range
("a1:c10") ), that I can manipulate(eg. change values or
format of a column of this range) instead of the

original,
so this manipulation will not affect the original one's
values or format.



.


Bob Phillips[_6_]

Range object
 
Set myRange = Range("A1:C10")

--

HTH

RP
(remove nothere from the email address if mailing direct)


wrote in message
...
What I want to do is a usable range-variable refering to
an exact copy of a given range.



-----Original Message-----
You could copy the worksheet or copy the range to a new

range.

In either case, start the macro recorder to capture the

code for what you're
after.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Zsola" wrote in message
...
Dear Developers,

how can I make a copy of an range object(eg. range
("a1:c10") ), that I can manipulate(eg. change values or
format of a column of this range) instead of the

original,
so this manipulation will not affect the original one's
values or format.



.





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

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