Variable Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
If i have this
With Worksheets("Ark1")
Set cell = .Cells(Rows.Count, 1).End(xlUp)
End With
If Not IsEmpty(cell) Then Set cell = cell(2)
cell.Value = antal

What type is Cell as vaiable

Regards alvin
 
You can easily find out. Step through the code, and after setting the value,
drag a copy of cell into the Watch window and it will tell you in there.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
Wow not bad at all
Thanks
Alvin


Bob Phillips said:
You can easily find out. Step through the code, and after setting the value,
drag a copy of cell into the Watch window and it will tell you in there.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top