Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a workbook that I want to show different Userforms
based on condition within the spreadsheet. When I only have the Private Sub set up everything works well, But when the 2nd one is added I get an error for anbigous name. Can anyone tell me how to correct this? Private Sub Worksheet_Change(ByVal Target As Range) If Range("P1BetDown") < Range("CBetDown") Then UserForm7.Show End If End Sub Private Sub Worksheet_Change(ByVal Target As Range) If Range("P1BetFlop") < Range("CBetFlop") Then UserForm8.Show End If End Sub Thanks Pete |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum If based on a 3rd condition ? | Excel Worksheet Functions | |||
MsgBox with condition and showing details | Excel Worksheet Functions | |||
Generating a Userform based on a worksheet | Excel Discussion (Misc queries) | |||
code for showing userform on cell selection | Excel Programming | |||
REPOST: showing a userform | Excel Programming |