Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have the following macro. Need to add xlup to find last row so dont highlite
blank rows not in use. Not sure how to add to this? Thanks All Worksheets("Data").Activate Range("d5:m100").Select Selection.specialcells(xlCellTypeBlanks).Select Selection.ClearContents Dim blanks As Long blanks = MsgBox(prompt:="Do you have blanks to complete?", Buttons:=vbYesNo) If blanks = vbYes Then UserForm4.Hide Userform1.Hide Exit Sub If blanks = vbNo Then End If Exit Sub End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 | |||
XLUP FInd Error | Excel Programming |