View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default VB code in Excel

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