Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As you have it, cell is a range. HTH Otto
"alvin Kuiper" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks
Alvin "Otto Moehrbach" wrote: As you have it, cell is a range. HTH Otto "alvin Kuiper" wrote in message ... 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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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) "alvin Kuiper" wrote in message ... 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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Wow not bad at all
Thanks Alvin "Bob Phillips" wrote: 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) "alvin Kuiper" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Variable name question | Excel Discussion (Misc queries) | |||
variable question | Excel Discussion (Misc queries) | |||
variable question | Excel Programming | |||
variable question | Excel Programming | |||
variable Question | Excel Programming |