Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    The Netherlands
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Convert VB6 form to Word 2000 (2000)

    Is it possible to convert form made in Visual Basic 6 to Word 2000?
    I want to use a form I made in Visual Basic 6 in a Word 2000 macro (VBA).

  2. #2
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Convert VB6 form to Word 2000 (2000)

    Bart,

    I don't know of a way directly. I know that if I export a VBA form into VB, it can be read, but not in the same way as a form created by VB. I'm not sure why the incompatabilities.

    How complex is the form?

    If there's not too many complexities, the best way would be to view it in Notepad, and copy the properties in VBA- where you can. VB seems to just record the properties which have changed from the default- so it might not be too big a job.

    Even then, there are controls used in VB which can't be used in VBA (eg, timer). So it may not be possible.
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Convert VB6 form to Word 2000 (2000)

    No, a VB form cannot be used in VBA.

    Although you may think you can use a VBA form in VB, AFAIK, it is not officially supported.

    In any case, you could not distribute the VBA form to anyone who does not have an Office license as the VBA form requires the MS Forms 2 engine (the little engine that could).

Posting Permissions

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