User Profile
Doug_Robbins_Word_MVP
MVP
Joined 4 years ago
User Widgets
Recent Discussions
Re: Trying to type text after picture
You do NOT need to use Text Boxes. Rather, insert the image so that it is in-line with the text and insert the caption into a paragraph before or after the image and if the caption is to be before the image, format the paragraph containing the caption so that it is kept together with the next paragraph, which will be the one containing the image. If the caption is to be after the image, format the paragraph containing the image so that it is kept together with the next paragraph containing the caption. By adopting this method, you will avoid the possibility of your document becoming corrupted as a result of mis-matched xml tag errors/63Views2likes0CommentsRe: Mail merge to individual custom named pdf and email
Use the Merge to Email as PDF Attachment destination of the Merge with Attachments facility of Use my Merge Tools Add-in that is contained in the MERGE TOOLS ADD-IN.zip file that you can download from: https://mergetoolsaddin.com/ Extract the files from the archive and read the: “READ ME – Setting up and using the Merge Tools Add-in.pdf to see how to install and use the various tools. Using those tools, it is possible to perform the following types of merge that cannot be done with Mail Merge “out-of-the-box”: Merge to e-mail messages either with or without attachments, with the documents created by the merge being sent as either Word or PDF attachments or as the body of the e-mail message . The email messages can, if necessary, also be sent to CC and BCC addresses and the subject of the message can include data from a field in the data source. Merge to individual documents in either Word or PDF format with the filenames being supplied by the data in one of the fields in the data source Many to One type merges, which can be used for creating documents such as invoices where there are multiple records in the data source that have common data in one of the fields Merging to a document that will include a chart that is unique to each record in the data source Merging a document with Content Controls Merging a document that contains Legacy FormFields Duplex Merges Merging to a printer that will collate and staple the output created from each record in the data source. The requirements for using the system are: The mail merge main document must be of the Letters type, though that does not mean that the output cannot be sent as an e-mail message where relevant. For the Many To One, Merge with Attachments and Merge to Individual Docs utilities, the data source may be either a table or query in an Access database, or in the form of an Excel worksheet. For the Chart Merge utility, see the Mail Merging with Charts document that is included in the Merge Tools Add-in Zip file for additional requirements for the data source for use with that utility For a data source in the form of an Excel worksheet, the field names must be in the first row of the worksheet and there must be a field name in all of the cells in that row that are within the range of columns that contain the data. For both types of data source, the field names must contain only alphanumeric characters (No @,#,$,%,&,(,), etc) and the field names must not start with a numeric character (0-9). The number of characters in the field names, including spaces, must not be more than 40. The MergeTools Add-in will NOT work with the “New Outlook”, which is just a re-badged version of Windows Mail and like its predecessor, it does not support automation and hence will not send the messages created by the MergeTools Add-in. Be aware, that any messages that you had tried to send with the “New Outlook” will have been placed in the Outbox of the original Outlook and they will be sent as soon as you revert to that version of Outlook. If you do not want that to happen, you should put Outlook Off-line, or disconnect your computer from the Internet. For a demonstration of the use of the facility, prepared by a Microsoft employee, see https://www.youtube.com/watch?v=yj_s3cdfVDY10Views1like0CommentsRe: Word Mail Merge->PDF->Auto Name
Use the Merge to Individual Documents facility of my Merge Tools Add-in that is contained in the MERGE TOOLS ADD-IN.zip file that you can download from: https://mergetoolsaddin.com/ Extract the files from the archive and read the: “READ ME – Setting up and using the Merge Tools Add-in.pdf to see how to install and use the various tools. Using those tools, it is possible to perform the following types of merge that cannot be done with Mail Merge “out-of-the-box”: Merge to e-mail messages either with or without attachments, with the documents created by the merge being sent as either Word or PDF attachments or as the body of the e-mail message . The email messages can, if necessary, also be sent to CC and BCC addresses and the subject of the message can include data from a field in the data source. Merge to individual documents in either Word or PDF format with the filenames being supplied by the data in one of the fields in the data source Many to One type merges, which can be used for creating documents such as invoices where there are multiple records in the data source that have common data in one of the fields Merging to a document that will include a chart that is unique to each record in the data source Merging a document with Content Controls Merging a document that contains Legacy FormFields Duplex Merges Merging to a printer that will collate and staple the output created from each record in the data source. The requirements for using the system are: The mail merge main document must be of the Letters type, though that does not mean that the output cannot be sent as an e-mail message where relevant. For the Many To One, Merge with Attachments and Merge to Individual Docs utilities, the data source may be either a table or query in an Access database, or in the form of an Excel worksheet. For the Chart Merge utility, see the Mail Merging with Charts document that is included in the Merge Tools Add-in Zip file for additional requirements for the data source for use with that utility For a data source in the form of an Excel worksheet, the field names must be in the first row of the worksheet and there must be a field name in all of the cells in that row that are within the range of columns that contain the data. For both types of data source, the field names must contain only alphanumeric characters (No @,#,$,%,&,(,), etc) and the field names must not start with a numeric character (0-9). The number of characters in the field names, including spaces, must not be more than 40. The MergeTools Add-in will NOT work with the “New Outlook”, which is just a re-badged version of Windows Mail and like its predecessor, it does not support automation and hence will not send the messages created by the MergeTools Add-in. Be aware, that any messages that you had tried to send with the “New Outlook” will have been placed in the Outbox of the original Outlook and they will be sent as soon as you revert to that version of Outlook. If you do not want that to happen, you should put Outlook Off-line, or disconnect your computer from the Internet. For a demonstration of the use of the facility, prepared by a Microsoft employee, see https://www.youtube.com/watch?v=yj_s3cdfVDY12Views1like0Comments- 34Views0likes0Comments
Re: Need a macro to create a subdocument
Use a macro containing the following code Sub MakeSubDoc() Dim source As Document Dim target As Document Dim str As String Dim rngstr As Range Set source = ActiveDocument Set target = Documents.Add source.Activate str = InputBox("Insert the text to be found.") Selection.HomeKey wdStory Selection.Find.ClearFormatting With Selection.Find Do While .Execute(FindText:=str, MatchWildcards:=False, MatchCase:=True, Wrap:=wdFindStop, Forward:=True) = True Set rngstr = Selection.Range.Bookmarks("\line") target.Range.InsertAfter rngstr & vbCr Selection.Collapse wdCollapseEnd Loop End With target.Activate End Sub129Views2likes1CommentRe: Text and images shifting
I would very strongly suggest that you assemble your images and the captions in a separate document and then make a screen shot and insert that into the actual document Retain the document that you used to assemble the image in case there is a requirement for edits. All images in the document should be inserted with the Text Wrapping set to "In-Line with Text" If you follow this procedure, the chance of your document becoming corrupted as a result of mis-matched XML tab errors will be eliminated31Views1like0CommentsRe: .dwg to .doc to .pdf
Try using [not allowed in the community] from [not allowed in the community] instead of the snip it tool that you are using. Here is a [not allowed in the community] screenshot of part of your image that has been enlarged, without degradation, to show the capability of [not allowed in the community]22Views0likes0CommentsRe: VBA to set logo in the header as Decorative
To also access the shapes in the Header(s) of the document, you would need to use something like: Sub alttext() Dim shp As InlineShape Dim doc As Document Dim h As Long Dim s As Long Set doc = ActiveDocument For Each shp In doc.InlineShapes If shp.Width >= InchesToPoints(2) And shp.Height >= InchesToPoints(1) Then shp.AlternativeText = "Figure. Caption." Else shp.Decorative = True End If Next shp For s = 1 To doc.Sections.Count With doc.Sections(s) For h = 1 To .Headers.Count For Each shp In .Headers(h).InlineShapes If shp.Width >= InchesToPoints(2) And shp.Height >= InchesToPoints(1) Then shp.AlternativeText = "Figure. Caption." Else shp.Decorative = True End If Next shp Next h End With Next s End Sub33Views2likes1CommentRe: Delete footnote separator on one page only
You can't delete the Footnote Separator from just a single page. However, the separator probably appears on that page because there is perhaps a space, or some other invisible remnant of the footnote that you deleted and you will need to located whatever that is and delete it as well. If you cannot sort it out, upload a copy of the document so that we can look at it for you.77Views0likes0CommentsRe: Latest Build of Word Causing Layout Issues
MariaBalasanyan I see the same thing whether I open the file in Word in Microsoft 365 or in Office 2010. Of course that is probably because you had saved the file in the current version of Office. I believe that the solution to the problem lies with Jasper Reports.110Views0likes1Comment
Recent Blog Articles
No content to show