ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Set Userform As A Variable (https://www.excelbanter.com/excel-programming/424423-set-userform-variable.html)

Roger

Set Userform As A Variable
 
I can set controls as a variable
Dim CTL as Control
Set CTL = Userform1.Label1
This does not work when trying to set the actual Userform as a variable
Can someone please show me an example of how to do this



--
Roger


All times are GMT +1. The time now is 05:29 PM.

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