View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
engineer[_4_] engineer[_4_] is offline
external usenet poster
 
Posts: 1
Default Excel VBA - Storing text in a variable, and "'Cells' of object _Global failed"

Found the answer in one of Stephen Bullen's replies on another thread
and it works:

I "fully qualified" the range and cells using:

With ActiveSheet
ID = .Range(.Cells(Start, 1), .Cells(Start, 1))
End With


BTW, this is a standard module.


Thanks

--
Message posted from http://www.ExcelForum.com