Multipage problem

Magriza

Well-known Member
Joined
Nov 16, 2005
Messages
508
Hi everyone,

I've a multipage with 4 pages on it. As part of the validation check I've used the multipage_change event to trigger the validation. If a field is not completed I set the multipage.value back to the the original page, but although the tab at the top changes the content does not show.

For example:

  • I'm on page 1
  • I click on page 2
  • Data validation kicks in and the multipage.value = 0 sends me back to page 1
  • The page 1 tab shows but with page 2 content!
Please help!

Thanks.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Hi

Try Repainting the userform after you set the MultiPage value ie:

Code:
'validation code
Me.Repaint
 

Magriza

Well-known Member
Joined
Nov 16, 2005
Messages
508
Hi Richard,

Thanks for the quick response! I've just tried that and it's not worked! I'm beginning to wish I'd never used a multipage control now!
 

Watch MrExcel Video

Forum statistics

Threads
1,132,671
Messages
5,654,655
Members
418,146
Latest member
Shnn028

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top