Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Acivecell.Formula Offset End(xlUp)
How can i convert the macro below to Acivecell.Formula = ??? i.e get
the cell reference of the resulting cell. Sub activece() ActiveCell.Value = ActiveCell.Offset(0, -1).End(xlUp) End Sub Thxs |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Acivecell.Formula Offset End(xlUp)
Stick .Address at the end
" wrote: How can i convert the macro below to Acivecell.Formula = ??? i.e get the cell reference of the resulting cell. Sub activece() ActiveCell.Value = ActiveCell.Offset(0, -1).End(xlUp) End Sub Thxs |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Acivecell.Formula Offset End(xlUp)
Try this:
Sub activece() ActiveCell.Value = ActiveCell.Offset(0, -1).End(xlUp).Address End Sub |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Acivecell.Formula Offset End(xlUp)
Sub activece()
ActiveCell.Formula = "=" & ActiveCell.Offset(0, -1).End(xlUp).Address End Sub -- Regards, Tom Ogilvy " wrote: How can i convert the macro below to Acivecell.Formula = ??? i.e get the cell reference of the resulting cell. Sub activece() ActiveCell.Value = ActiveCell.Offset(0, -1).End(xlUp) End Sub Thxs |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Understanding .End(xlUp) (1,1) | Excel Discussion (Misc queries) | |||
End(xlUp) question | Excel Discussion (Misc queries) | |||
problem with .end(xlUp).row | Excel Discussion (Misc queries) | |||
End(xlUp) | Excel Programming | |||
Stupid End(xlup) problem | Excel Programming |