Hi
The code was in active workbook, but your tip did gave me a start anyway. I
had to refer to workbook usinf it's name with extension. I.e.
Workbooks("ReadRep.xls") instead Workbooks("ReadRep"), etc. Strange, from MS
Help :
Workbooks Property Example
This example activates the workbook Book1.xls.
Workbooks("BOOK1").Activate
And with replace was my fault too - I did forget to determine the worksheet
:-((
--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )
"tony h" wrote in
message ...
It sounds like you have the code in a different spreadsheet to the one
on which you want to operate - but I would have thought you had noticed
that.
You could check using activeworkbook.name and thisworkbook.name but
again I would have thought you would have noticed this.
Regards
--
tony h
------------------------------------------------------------------------
tony h's Profile:
http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=507142