Assign the content of a cell from excel to a variabele

P

pikus

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