+ Reply to Thread
Results 1 to 2 of 2

How can i delete a user form using vba

  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    India
    MS-Off Ver
    Access
    Posts
    69

    How can i delete a user form using vba

    Hi all,

    Actually I want to delete a user form using vba. But I am not getting how to do it?

    Is there a way to do it?

  2. #2
    Forum Administrator ExlGuru's Avatar
    Join Date
    03-17-2009
    Location
    India
    MS-Off Ver
    2003,2007
    Posts
    222

    Re: How can i delete a user form using vba

    Try something like:

    ThisWorkbook.VBProject.VBComponents

    .Remove .Item("Userform1")

    End With


    Get more information about this problem:

    www.cpearson.com/excel/vbe.htm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1