I guess Sheets("A") is selecting sheet A ,but what does it mean if I combine it with .Cells(i, 3).Value É
B = Sheets("A").Cells(i, 3).Value
I guess Sheets("A") is selecting sheet A ,but what does it mean if I combine it with .Cells(i, 3).Value É
B = Sheets("A").Cells(i, 3).Value
Hi,
there's probably a variable called "i" that has a number value, so the code
B = Sheets("A").Cells(i, 3).Value
means: assign the variable "B" the value of the cell in row "i",column 3 (which is C1 if i=1) on the sheet with the name "A"
hth
ok I got it !
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks