View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
peyman peyman is offline
external usenet poster
 
Posts: 189
Default question in VB codes

hi,
is there any difference between these two codes?
for example:
set curCell=sheets("sheet1").cells(1,3)
and
curCell=sheets("sheet1").cells(1,3)
I'd like to know why sometimes "set" is used at the beginning of codes?
thanks