Range object

  • Thread starter Thread starter Zsola
  • Start date Start date
Z

Zsola

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.
 
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.
 
What I want to do is a usable range-variable refering to
an exact copy of a given range.
 
Set myRange = Range("A1:C10")

--

HTH

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top