Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Members' Forums & Blogs (http://www.freeadvertisingzone.com/forumdisplay.php?f=80)
-   -   Office Home And Business 2010 Key Daily Dose of Ex (http://www.freeadvertisingzone.com/showthread.php?t=1386056)

06-22-2011 10:56 AM

Office Home And Business 2010 Key Daily Dose of Ex
 
Every day Dose of Excel ,Windows 7 Starter Key HP Laptop Battery, Laptop Battery for HP
Daily posts of Excel tips…and other stuff
Sub SelectAdjacentCol()

Dim rAdjacent As Range

If TypeName(Selection) = "Range" Then
If Selection.Column > 1 Then
If Selection.Cells.Count = 1 Then
If Not IsEmpty(Selection.Offset(0, -1).Value) Then
With Selection.Offset(0,Office Home And Business 2010 Key, -1)
Set rAdjacent = .Parent.Range(.Cells(1), .End(xlDown))
End With

Selection.Resize(rAdjacent.Cells.Count).Select
End If
End If
End If
End If

End Sub


All times are GMT. The time now is 10:01 AM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum