View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
pikus pikus is offline
external usenet poster
 
Posts: 1
Default Assign the content of a cell from excel to a variabele

var1 = Worksheets("Sheet1").Cells(1, 1).Value
or:
var1 = Worksheets(1).Cells(1, 1).Valu

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