ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Delete multipage (https://www.excelbanter.com/excel-programming/316742-delete-multipage.html)

axel

Delete multipage
 
is there a way to delete a multipage in a userform with a macro
Thanks!
--
axel

Sharad Naik

Delete multipage
 
It can be done by UseformName.Controls.Remove(n)
where n is the control item index.
However you can remove it only if you added it during run time.
Controls added during design time can not be removed.

Sharad

"axel" wrote in message
...
is there a way to delete a multipage in a userform with a macro
Thanks!
--
axel





All times are GMT +1. The time now is 10:41 PM.

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