Hi all,
I've created a macro via VBA that does the "Ctrl-End" keystrokes, i.e takes me to the Last Cell in a worksheet:
Sub MacroLastCell()
' Perform the Ctrl-End
x = ActiveSheet.UsedRange.Rows.Count
ActiveCell.SpecialCells(xlLastCell).Select
End Sub
My question:
How can I have it to go to the First non-blank cell in that last row?
Thanks in advance for any help!
tivoli0
I've created a macro via VBA that does the "Ctrl-End" keystrokes, i.e takes me to the Last Cell in a worksheet:
Sub MacroLastCell()
' Perform the Ctrl-End
x = ActiveSheet.UsedRange.Rows.Count
ActiveCell.SpecialCells(xlLastCell).Select
End Sub
My question:
How can I have it to go to the First non-blank cell in that last row?
Thanks in advance for any help!
tivoli0