Search:

Type: Posts; User: macropod; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    120

    jec1: Kindly don't delete the content of posts as...

    jec1: Kindly don't delete the content of posts as you've done to your opening post in this thread. As it now stands, the replies lack any context. Whilst it may have been appropriate to delete the...
  2. Replies
    5
    Views
    212

    Cross-posted at:...

    Cross-posted at: http://www.vbaexpress.com/forum/showthread.php?56532-VBA-Search-String-Expression

    timdata: Please read the Lounge's cross-posting requirements in Rule #14:...
  3. Replies
    4
    Views
    120

    It seems your 'unformatted' document has already...

    It seems your 'unformatted' document has already had some changes made to the code, as it already doesn't work properly. Amongst other things, some variables are undefined. It's a bit difficult...
  4. Replies
    1
    Views
    108

    You can't change the defaults. You could,...

    You can't change the defaults. You could, however, use a macro to perform a row split:

    Sub Demo()
    With Selection
    If .Information(wdWithInTable) = True Then
    .Cells(1).Split...
  5. Your latest code really does look like you should...

    Your latest code really does look like you should be defining an appropriate paragraph Style and using that for the replacement. As for "I can't get the code to work properly", since the code...
  6. Replies
    11
    Views
    427

    Yes, it does. The proposition would necessitate...

    Yes, it does. The proposition would necessitate obtaining a separate Win 7 License.
  7. Since it's a .Replacement expression to be...

    Since it's a .Replacement expression to be incorporated into the Find/Replace, I'd have though it pretty obvious you'd use:

    Sub DPU_DeleteSpacesVF()
    With Selection.Find
    .ClearFormatting
    ...
  8. Replies
    11
    Views
    427

    At the bottom of an MS page I was on just a few...

    At the bottom of an MS page I was on just a few minutes ago:
    Don’t miss out! The free upgrade offer to Windows 10 will end on July 29, 2016.
  9. You could try adding the following line to the...

    You could try adding the following line to the code:
    .Replacement.ParagraphFormat.LineSpacingRule = wdLineSpace1pt5
  10. Replies
    13
    Views
    378

    First TOC, now HTH - are you serious??? ...

    First TOC, now HTH - are you serious???

    http://www.urbandictionary.com/define.php?term=HTH
  11. Replies
    13
    Views
    378

    Simply add to the header a STYLEREF field that...

    Simply add to the header a STYLEREF field that references the 'Heading 1' Style.
  12. Change: .InsertAfter " (" & Int(Now -...

    Change:
    .InsertAfter " (" & Int(Now - CDate(.Text)) & " days ago)"
    to:

    If DateDiff("m", CDate(.Text), Now) > 2 Then
    .InsertAfter " (" & DateDiff("m", CDate(.Text), Now) & " months...
  13. Replies
    1
    Views
    63

    To see the email addresses, press Alt-F9 to...

    To see the email addresses, press Alt-F9 to toggle Word's field code display. To print them, go to File|Options|Advanced>Print, then check the 'print field codes instead of their values' option. Note...
  14. You macro will not delete every return (paragraph...

    You macro will not delete every return (paragraph break) in the document - it deletes only the second of consecutive returns. You could process all repeated returns more efficiently with code like:
    ...
  15. Posting code that is unrelated to the OP's...

    Posting code that is unrelated to the OP's question isn't at all helpful. Not only doesn't the code you posted have anything to do with retrieving bookmarked content (which the OP specified), using...
  16. Try the following macro. Simply run the macro,...

    Try the following macro. Simply run the macro, select folder to process and sit back while it renames all your documents.

    Sub UpdateDocumentNames()
    Application.ScreenUpdating = False
    Dim...
  17. Replies
    3
    Views
    144

    As posted, the code works equally well with .doc,...

    As posted, the code works equally well with .doc, .docx and .docm files; your modification means it won't work with .doc or docm files.

    To list files with comments and/or revisions, change:
    If...
  18. Replies
    1
    Views
    109

    You can use Word's Catalogue/Directory Mailmerge...

    You can use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version), but it's far from straightforward. To see how to do so with any mailmerge data source...
  19. Replies
    9
    Views
    179

    A comparison of my attachment vs. yours will...

    A comparison of my attachment vs. yours will quickly reveal the differences.
  20. Captions are easily-enough identified - they use...

    Captions are easily-enough identified - they use SEQ fields (type 12) and, by default, will be in paragraphs with the Caption format and be named Equation, Figure, Table (or a custom name).
  21. Replies
    3
    Views
    144

    You could use a macro like the following: Sub...

    You could use a macro like the following:

    Sub GetTrackedDocuments()
    Application.ScreenUpdating = False
    Dim strFolder As String, strFile As String, strDocNm As String, wdDoc As Document, StrOut...
  22. Another approach is to toggle Word's field code...

    Another approach is to toggle Word's field code display 'on' with your macro. That way, multi-paragraph fields like TOC, TOF, TOA, Bibliography all collapse to a single paragraph and you can easily...
  23. Replies
    9
    Views
    179

    See attached:

    See attached:
  24. Replies
    9
    Views
    179

    Can you attach a document to a post showing what...

    Can you attach a document to a post showing what you are expecting to see as the output?
  25. Replies
    9
    Views
    179

    I have no idea what you mean about a "border for...

    I have no idea what you mean about a "border for header2" or "the document its adding other locations for the border". Your Heading 2 Style does not have a border and the only border I see in either...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4