Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    May 2004
    Location
    Toronto, Ontario, Canada
    Posts
    425
    Thanks
    5
    Thanked 0 Times in 0 Posts

    LOAD Userform from another workbook (Excel 2003)

    Hi all,

    I am interested in knowing if you can load a form from another workbook(VBAproject). Just thought I would ask, AND OR is it possible to call pulbic functions, or Sub in another VBA project as long as that project is open?

    Thanks,
    Darryl.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: LOAD Userform from another workbook (Excel 2003)

    See the thread starting at <post:=583,900>post 583,900</post:>.

    If WorkbookA contains a userform named frmTest and a macro

    Sub MyMacro()
    frmTest.Open
    End Sub

    you can open the userform from WorkbookB using the instruction

    Application.Run "WorkbookA!MyMacro"

Posting Permissions

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