Can you provide a code sample to reproduce what you are seeing?
From: Larry Landis [mailto:lawrence_landis@y...]
Sent: Tuesday, April 23, 2002 9:57 PM
Subject: Multipage Userform
I've designed a multipage userform; it's exhibiting strange behavior (at
least, it's strange to me). Perhaps someone can explain what's going on,
and maybe suggest a solution.
The situation is:
Page 1 has option buttons A, B, C.
Page 2 has option buttons D, E, F.
If you choose, say option button A and click the OK button, template A
its userform get loaded and displayed. On userform A, there's a cancel
button to unload the form. If you click that cancel button, you're taken
back to page 1 as you should be. If you then select another option
on page 1, say option C, and click OK, template C and its userform C get
dispalyed - everything is fine.
However, if when you go back to page 1, you choose another page and
option - say option E on page 2, what appears is still the last userform
you chose on page 1.
It's as if VBA is ignoring the selection of a new page/option
and still has the last page/option in memory.
What gives, and what to do about it?
P.S. - Is this sort of thing documented any place for VBA/Word - either
online or in a book? There's nothing of this sort in Hart-Davis's "Word
2000 Developer's Handbook," Mackenzie's "Word 2000 VBA Programmer's
Reference," Getz and Gilbert's "VBA Developer's Handbook", or in the
VBA online help - at least that I can