ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to switch pages in a multipage control by a commandbutton (https://www.excelbanter.com/excel-programming/372610-how-switch-pages-multipage-control-commandbutton.html)

furbiuzzu

how to switch pages in a multipage control by a commandbutton
 
i want to write a VB code associated with a command button located
inside page1 of a multipagecontrol to switch automatically to page2.

is it possible??

thanks in advance


stevebriz

how to switch pages in a multipage control by a commandbutton
 

furbiuzzu wrote:
i want to write a VB code associated with a command button located
inside page1 of a multipagecontrol to switch automatically to page2.

is it possible??

thanks in advance



Private Sub CommandButton1_Click()
UserForm1.MultiPage1.Value = 1
End Sub


furbiuzzu

how to switch pages in a multipage control by a commandbutton
 

stevebriz ha scritto:

furbiuzzu wrote:
i want to write a VB code associated with a command button located
inside page1 of a multipagecontrol to switch automatically to page2.

is it possible??

thanks in advance



Private Sub CommandButton1_Click()
UserForm1.MultiPage1.Value = 1
End Sub





sorry for my ignorance... so easy solution !!!!

thanks again



All times are GMT +1. The time now is 06:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com