Results 1 to 6 of 6

Thread: Word Table

  1. #1
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Word Table

    Hi Hans,
    I'm trying to create a table in this forum using your vba code in the <post#=164109>post 164109</post#>. This error comes up as per the attachment. I'm assuming its because I do not have the MS FormsXX Object active. I went to Tools References, but I do not find the MS Forms option to active. Could you tell me exacly what to look for, and if I need to browse for it...where to go!
    Thanx
    Attached Images Attached Images
    Regards,
    Rudi

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Word Table

    Since <!profile=HansV>HansV<!/profile> isn't online at the moment...

    In the VBA editor, go to Tools, References, and set a reference to the "Microsoft Forms 2.0 Object Library"

    StuartR

  3. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Word Table

    Hi Rudi

    I am not Hans but maybe you will let a mere mortal answer <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    The option to select in Tools>References is "Microsoft Forms x.x Object Library" (x.x is a number for me it is 2.0) as shown in the attachment.
    Attached Images Attached Images

  4. #4
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Word Table

    Hi Guys
    I do not have this reference. Do I need to browse for it...and if so, what is the reference called then?
    Attached Images Attached Images
    Regards,
    Rudi

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

    Re: Word Table

    A quick way to set the reference is to insert a userform into your document (Insert | UserForm in the Visual Basic Editor). Even if you immediately remove the userform again, the reference will stay set.
    You can also use the Browse... button in the References dialog. The file to look for is FM20.dll in your system folder (C:WindowsSystem32, C:WinNTSystem32 or C:WindowsSystem depending on your Windows version)

  6. #6
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Word Table

    Thanx Hans,
    FM20.dll was what I was after!
    Regards,
    Rudi

Posting Permissions

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