• Word 2010 Dialog Box Parameters – Comprehensive Resource?

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Word 2010 Dialog Box Parameters – Comprehensive Resource?

    Author
    Topic
    #495239

    Hi Loungers!

    I dabble in VBA and VB.net (Visual Basic Express 2010). I am trying to learn how to – or if I can – use code to invoke the EditLinks dialog box in Word 2010.

    I managed to locate the list of parameters, but not how to use them or what values they accept.

    I also know that I can use something called hidden dialogs, where code is used to set up the parameters and an execute command is used to update the related settings.

    If you know where I can find this information, I would be grateful.

    These links were the only ones I could find:
    Built-in Dialog Box Argument Lists (Word)
    How to Use Word Dialog Boxes in Hidden Mode
    Enumerations

    Cheers,

    Mitch

    Viewing 3 reply threads
    Author
    Replies
    • #1457065

      This MVP resource page might help.

    • #1457069

      Hi Charles!

      Thanks for your speedy response. I was excited to see the link to the wordbasic help file. Alas, that link is no longer any good.

      Not to worry, I Googled and found another download from the same site. this one is Wrdbasic.exe, which is a setup file for the same resource.

      Note to intrepid spelunkers – you will need a reader, since modern versions of Windows no longer support .hlp files.

      So, again, thanks!

      Cheers,

      Mitch

      [edit] WOW! I thought Word95 would have been outdated, but it seems EditLinks has been around at least that long. Here is the help file syntax:

      EditLinks [.UpdateMode = number,] [.Locked = number,] [.SavePictureInDoc = number,] [.UpdateNow,] [.OpenSource,] [.KillLink,] .Link = text, .Application = text, .Item = text, .FileName = text

      I don’t want to be accused of copyright infringement, so I just posted that. The help file includes detailed explanations for each parameter.

      You made my day, Charles 🙂

    • #1457106

      Note to intrepid spelunkers – you will need a reader, since modern versions of Windows no longer support .hlp files.

      Try this:
      http://support.microsoft.com/kb/917607

      Before you wonder "Am I doing things right," ask "Am I doing the right things?"
      • #1457164

        Thanks for supplying that link, Berton.

        Update on question: I now understand the parameters and values for EditLinks. But as was mentioned in the WordBasic article (Charles’ link), some dialogs just don’t work programmatically. I don’t see how to select all of the links to kill them in one go.

        Cheers,

        Mitch

    • #1457187

      Ctrl-6 will unlink any fields selected. If you record a macro doing this, you should get the command.

      Take a look, also, at http://www.gmayor.com/installing_macro.htm for code manipulating fields. You can restrict such a procedure to a single type of field.

      • #1457216

        Hi Charles,

        You have the right idea. I did wind up recording a macro, but it was an external 3rd-party product.
        Word 2010 EditLinks dialog box gives a blank macro when recorded.

        Still, your advice about WrdBasic has given me a valuable resource for other dialog boxes.

        Thanks!

        Cheers,

        Mitch

    Viewing 3 reply threads
    Reply To: Word 2010 Dialog Box Parameters – Comprehensive Resource?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: