Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Posts
    7

    Unanswered: delete user form using vba..........

    Hi to 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?
    thanks

  2. #2
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Is it a subform that is on the mainform and you're trying to delete it while the mainform is open using VBA from the mainform?? ^.^

    If the form is closed, DoCmd.DeleteObject acForm, "FormName" is my guess.
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  3. #3
    Join Date
    Sep 2002
    Location
    South Wales
    Posts
    580

    Creating / Deleting

    Hi,

    I am still genuinely interested in what you are trying to acheive in your environment - wondered if you wouldnt mind posting some details?

    Cheers
    Windows Server 2003-8 / Terminal Services / SQL 2000 / Access 2003 / Office 2003-7 / Exchange 2003-7 / Blackberry Enterprise Server / AutoCAD / Lambert And Butler / Red Bull

Posting Permissions

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