Omit the Set keyword in that line of code.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"oscarooko"
wrote in
message
...
Thanks Tom, but there was still a little problem. It still gave
me an
error. Guess there is something missing thats related to the
"set
lastrow...." line
Hope you can help me get a way round it.
--
oscarooko
------------------------------------------------------------------------
oscarooko's Profile:
http://www.excelforum.com/member.php...o&userid=28116
View this thread:
http://www.excelforum.com/showthread...hreadid=476248