What celll is rng2 set to? You'll get an error if rng2 is
referencing a cell in row 1.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"mthomas"
wrote in message
...
Thanks Tom so much for your reply. I'm getting the following
error
message:
"Application-defined or Object-defined error"
The line of code is:
rng2.Formula = "=" & rng2(1).Offset(-1, 0).Address(0, 0)
Thanks again for everything!
--
mthomas
------------------------------------------------------------------------
mthomas's Profile:
http://www.excelforum.com/member.php...o&userid=25649
View this thread:
http://www.excelforum.com/showthread...hreadid=486450