Log in

View Full Version : Laziest VBA Programmer



SJ McAbney
08-13-2004, 04:23 AM
Done this in Excel and was wondering if anybody has done anything even lazier to save a few keystrokes?


Private Sub OffSet(x As Integer, y As Integer)
ActiveCell.OffSet(x, y).Select
End Sub

Private Function OffVal(x As Integer, y As Integer) As Variant
OffVal = ActiveCell.OffSet(x, y).Value
End Function


:p

SJ McAbney
08-18-2004, 04:04 PM
Am I really the laziest? :confused:

Jacob Hilderbrand
08-18-2004, 04:06 PM
I think you are :rofl

SJ McAbney
08-18-2004, 04:09 PM
I knew it! :cool:

You should see some of my other lazy code procs.... :D

Zack Barresse
08-18-2004, 04:14 PM
McAbney? So ... McAbney = Lazy Programmer. ROFL! I bet I'm a close second though!! :D

SJ McAbney
08-18-2004, 11:23 PM
It's only SJ because I couldn't be bothered to put my full name. :D