Results 1 to 10 of 10

Thread: Remove Excel Userform Using VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    VBAX Regular
    Joined
    Aug 2008
    Posts
    6
    Location

    Excel - Removing Userform with VBA

    The code I was trying was very similar to what Mikerickson shows, just without the With/End With. When I try the code mentioned here, I get the following error:

    Runtime Error 1004
    Programmatic access to Visual Basic is not trusted

    Is there a setting I need to change to make this work? I would try to remove the pictures from the userform, but I'm sure I'd get the same error. I'd much rather just remove the whole userform.

    Any ideas? Thanks!!!!!
    Last edited by Aussiebear; 01-01-2025 at 11:49 AM.

Posting Permissions

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