Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The code below causes UserForm2 to display when I select a cell within the
range. Is there any way in the datesort module to prevent UserForm2 from displaying? Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) If Not Application.Intersect(Target, Range("C5:V700")) Is Nothing Then UserForm2.Show End Sub ----------------------------- Sub datesort() ' ' datesort Macro ' Macro recorded 3/23/2004 by mary ' ' Module10.UnProtectSheet Rows("7:1000").Select Selection.Sort Key1:=Range("F7"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortTextAsNumbers Range("G7").Select Module10.ProtectSheet End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
UserForm not displaying | Excel Programming | |||
Prevent closing userform | Excel Programming | |||
Prevent closing userform | Excel Programming | |||
How to prevent a formula from displaying ? | Excel Discussion (Misc queries) | |||
HOW DO I PREVENT HIDDEN CELLS FROM DISPLAYING WHEN I COPY | Excel Discussion (Misc queries) |