DaveRadford
Board Regular
- Joined
- Feb 18, 2010
- Messages
- 63
Afternoon,
This is probably simple but i have tried various syntax's and it still seems to complain.
I want to display multiple forms for example, if the 1st range is selected, i want to show the 1st form if the second range is selected then ill want to show the second form, making way for the 'is nothing' of course. In time im sure there will be a 3rd form but that shouldnt be a problem once i have the correct syntax.
Thanks,
If Intersect(Target, Range("$B$11:$B$45")) Is Nothing Then Exit Sub
UserForm1.Show vbModeless
If Intersect(Target, Range("$D$11:$D$45")) Is Nothing Then Exit Sub
WSFilter
CreateWSList
UserForm2.Show vbModeless
This is probably simple but i have tried various syntax's and it still seems to complain.
I want to display multiple forms for example, if the 1st range is selected, i want to show the 1st form if the second range is selected then ill want to show the second form, making way for the 'is nothing' of course. In time im sure there will be a 3rd form but that shouldnt be a problem once i have the correct syntax.
Thanks,
If Intersect(Target, Range("$B$11:$B$45")) Is Nothing Then Exit Sub
UserForm1.Show vbModeless
If Intersect(Target, Range("$D$11:$D$45")) Is Nothing Then Exit Sub
WSFilter
CreateWSList
UserForm2.Show vbModeless