Userforms & Multipages???

soodaarti21

New Member
Joined
Jun 30, 2008
Messages
48
greetings for d day!

I have a problem refering to a multipage..... i have a user form (userform2) on to which i have a multipage with 4 pages and each page has a image box on it viz a viz they are named like page1 image1, page2 image2 and till 4..... now the problem is i am not able to refer pages seperately i.e

userform2.multipages.page1.image1=""

this line contains error... anyone thr pls correct it!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Don't know exactly what you're meaning, but try using the entire multipage name:

Code:
userform2.multipage1.page1.image1=""

Notice the 1 after "multipage". Change it to whatever applies. The (entire)multipage object has a name...multipage1, multipage2..whatever it is will be in the properties of the object.
 
Upvote 0
You should be able to refer to the image controls directly using Me.Image1
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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
Back
Top