how do I delete a userform through code?
how do I delete a userform through code?
Try something like
With ThisWorkbook.VBProject.VBComponents
.Remove .Item("Userform1")
End With
For more information about working with VBA code, see
www.cpearson.com/excel/vbe.htm .
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"funkymonkUK"
<funkymonkUK.1vtc2e_1127480755.9483@excelforum-nospam.com> wrote
in message
news:funkymonkUK.1vtc2e_1127480755.9483@excelforum-nospam.com...
>
> how do I delete a userform through code?
>
>
> --
> funkymonkUK
> ------------------------------------------------------------------------
> funkymonkUK's Profile:
> http://www.excelforum.com/member.php...o&userid=18135
> View this thread:
> http://www.excelforum.com/showthread...hreadid=470201
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks