Search:

Type: Posts; User: Andrew Lockton; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Jordan The code might error in several obvious...

    Jordan

    The code might error in several obvious ways (and probably countless non-obvious ways).
    1. If the target table doesn't contain as many rows as the source table
    2. If the relevant cell in...
  2. Try something like this. It will need a bunch of...

    Try something like this. It will need a bunch of error checking but the concept is kind of straightforward.

    Sub aTest()
    Dim srcDoc As Document, tgtDoc As Document
    Dim srcTable As Table,...
  3. Just replacing instances of char styles other...

    Just replacing instances of char styles other than default paragraph font, the macro would look like this

    Sub ClearCharStylesOnly()
    Application.ScreenUpdating = False
    Dim wdDoc As Document,...
  4. It would be simpler to do a search and replace...

    It would be simpler to do a search and replace for each of the (other) character styles and replace it with the 'Default Paragraph Font'.
  5. Have a look at...

    Have a look at http://shaunakelly.com/word/styles/quick-styles-gallery.html
  6. Replies
    2
    Views
    404

    The easiest way to do this is to create a copy of...

    The easiest way to do this is to create a copy of the document and then delete every second word.

    Word has a Word object but this seems to include things that (in my way of thinking) may not...
  7. Read back through the code - the answer is there....

    Read back through the code - the answer is there.

    The Ozgrid thread has two sources. One requires you to join Ozgrid, the other is a download from Microsoft.
  8. Have you looked at Insert > Comment?

    Have you looked at Insert > Comment?
  9. OK, the following modified extract is all you...

    OK, the following modified extract is all you need. Paste the code into one of your template's modules and then run the macro called AddThisButton

    Public Sub AddThisButton()
    AddAnyButton...
  10. Replies
    5
    Views
    392

    Have you looked at the Directory Mail Merge...

    Have you looked at the Directory Mail Merge instructions provided as sticky threads at the top of this forum?
  11. Macros don't appear in add-ins automatically. The...

    Macros don't appear in add-ins automatically. The old macros were probably added as buttons on the toolbar on a Word 2003 (or earlier) machine. When such a template is opened in Word 2007+ those...
  12. Replies
    3
    Views
    519

    [SOLVED] Create the macro and save it to a powerpoint...

    Create the macro and save it to a powerpoint addin file (ppam). You will need to include a qat or ribbon customisation to display a button which allows you to run the code. An alternative is to...
  13. The submit button doesn't work because you...

    The submit button doesn't work because you changed the name of the button. Your current code is expecting the button to be named cmdSubmit (note the name is a different field to the caption so the...
  14. Replies
    2
    Views
    183

    File > Options > Proofing > AutoCorrect Options >...

    File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type > Apply as you type > Automatic numbered lists

    And just be thankful that Microsoft changed the GUI to make it easier to...
  15. Adam You have put in a lot of work to get...

    Adam

    You have put in a lot of work to get where you have and you can continue down that path if you wish. Content Controls are the preferred way (IMO) rather than using fields or bookmarks and...
  16. Replies
    8
    Views
    1,016

    Well the warm weather should have just about...

    Well the warm weather should have just about returned by then so you might even enjoy it here when you get to Melbourne.
  17. Replies
    8
    Views
    1,016

    If you wanted to avoid all the API calls you...

    If you wanted to avoid all the API calls you could summon the dialog more directly with...

    Sub GoFetch()
    Dim strPictPath As String

    'Save user's original path
    strPictPath =...
  18. Is your issue with the grouping of data or simply...

    Is your issue with the grouping of data or simply doing a mail merge?

    Macropod's sticky post on catalog mail merges might be of assistance...
  19. Replies
    17
    Views
    778

    Yes

    Yes
  20. Replies
    17
    Views
    778

    In that case you need to contact your CRM...

    In that case you need to contact your CRM supplier - we can't help you here.
  21. Replies
    17
    Views
    778

    What code do you have? It is not overly dramatic...

    What code do you have? It is not overly dramatic to get the contents of a paragraph where the bookmark resides.
    ActiveDocument.Bookmarks("Hello").Range.Paragraphs(1).Range.Text - or something...
  22. Yes Styles are always the answer. There is...

    Yes

    Styles are always the answer.

    There is undoubtedly ways to streamline the process but without seeing the scope of the input and Master documents I can't really suggest any wonder solutions....
  23. Try this then. It will probably fail miserably if...

    Try this then. It will probably fail miserably if the heading structure isn't logically arranged (ie H1 followed by H2 followed by H3 etc)


    Sub POC()
    Dim aRng As Range, iLev As Integer
    Dim...
  24. It is possible to do this and the following link...

    It is possible to do this and the following link shows some code that points to how I would attempt it. I don't have the time to do the code at the moment but the concept is basically to:
    1. Use...
  25. Replies
    17
    Views
    778

    Phil It looks like your bookmarks are...

    Phil

    It looks like your bookmarks are insertion points and contain no text. You will need content in your bookmark if you want to test the contents of that bookmark.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4