How to Upload and Arrange Multiple Photos to a Word Document
Delight Annotation: This article is written for users of the post-obit Microsoft Word versions: 2007, 2010, 2013, and 2016. If y'all are using an earlier version (Word 2003 or earlier), this tip may non work for you. For a version of this tip written specifically for earlier versions of Give-and-take, click here: Inserting Multiple Graphics in a Document.
Inserting Multiple Graphics in a Document
Every week John needs to create an invoice and insert several scanned documents into a Word document. He wonders if at that place is a mode to put all of the JPG images from a particular folder into the current Give-and-take document.
There are a couple of means you lot can do this. One way is to simply select all the graphics and insert them in one stride:
- Place the insertion point at the identify in the certificate where you want the graphics inserted.
- Display the Insert tab of the ribbon.
- Click the Picture tool. Discussion displays the Insert Picture dialog box.
- Utilise the controls in the dialog box to locate the folder that contains the images.
- Press Ctrl+A. Word selects all the files in the binder.
- Click Insert.
That's information technology; Word inserts all the graphics in the document. You'll desire to be conscientious doing this, because if at that place are a lot (more than, say, 100) graphics in the folder or if the graphic files are quite large, you can slow Word to a clamber or hang information technology completely. If the folder contains more than but graphics or you lot want merely some of the graphic files, you can agree downwardly the Ctrl key as you use the mouse to select graphics in step 5. The indicate is that whatever files yous have selected in step 5, those are the files that Word inserts in your document.
A variation on this approach involves the apply of Windows. Follow these full general steps:
- Place the insertion point at the identify in the certificate where you desire the graphics inserted.
- Minimize the Discussion document.
- In Windows, display the binder where the images are located.
- Build a choice set of the images you lot want inserted in the document.
- Click on whatsoever single image in the selection set up and hold down the mouse button.
- Drag the selection set over the meridian of the document every bit information technology appears in the Taskbar. (Don't release the mouse button quite even so.)
- Once Windows displays the Word certificate (which it does after a few seconds), release the mouse button.
At this point, all the images you selected in step 4 are inserted in the Give-and-take document, the aforementioned as in the before method.
If you use either of the foregoing methods, you'll need to resize images and motility them effectually, as necessary, so your certificate appears the style you lot desire.
Of course, if you demand to insert whole groups of images on a routine footing, then going through these steps tin become tiresome later on a while. Tedium is often relieved through the use of a macro, and this case is no exception. The following macro can be used to display a dialog box (similar to those used in the earlier methods) where you tin can select the files you want. When you close the dialog box, any images you selected inside the dialog box are inserted in your document, each in its own paragraph.
Sub InsertImages() Dim md Every bit Word.Certificate Dim fd As FileDialog Dim vItem As Variant Dim mg1 As Range Dim mg2 As Range Set fd = Application.FileDialog(msoFileDialogFilePicker) Fix doc = ActiveDocument With fd .Filters.Add together "Images", "*.gif; *.jpg; *.jpeg", 1 .FilterIndex = 1 If .Testify = -one Then For Each vItem In .SelectedItems Set mg2 = ActiveDocument.Range mg2.Plummet wdCollapseEnd doc.InlineShapes.AddPicture _ FileName:=vItem, _ LinkToFile:=False, SaveWithDocument:=True, Range:=mg2 Ready mg1 = ActiveDocument.Range mg1.Collapse wdCollapseEnd mg1.Text = vbCrLF & vbCrLf Adjacent vItem Cease If End With Set fd = Null End Sub
If you don't want to carp with selecting folders or files, you can use an fifty-fifty simpler macro. The post-obit pulls all JPG files from a specified folder and places them in the current document. Each image is in its own paragraph.
Sub GetPictures() Dim sPic Every bit String Dim sPath As String sPath = "c:\myfolder\" sPic = Dir(sPath & "*.jpg") Practice While sPic <> "" Selection.InlineShapes.AddPicture _ FileName:=sPath & sPic, _ LinkToFile:=False, SaveWithDocument:=True sPic = Dir Selection.TypeParagraph Pick.TypeParagraph Loop Cease Sub
To use the macro, only make sure yous modify the value assigned to sPath so that it represents the folder you lot want.
If you would like to know how to employ the macros described on this page (or on any other page on the WordTips sites), I've prepared a special folio that includes helpful information. Click here to open that special page in a new browser tab.
WordTips is your source for toll-effective Microsoft Word preparation. (Microsoft Word is the most popular give-and-take processing software in the world.) This tip (10727) applies to Microsoft Word 2007, 2010, 2013, and 2016. You lot tin can find a version of this tip for the older card interface of Word hither: Inserting Multiple Graphics in a Document.
kendricksooreaver.blogspot.com
Source: https://wordribbon.tips.net/T010727_Inserting_Multiple_Graphics_in_a_Document.html
Delight Annotation: This article is written for users of the post-obit Microsoft Word versions: 2007, 2010, 2013, and 2016. If y'all are using an earlier version (Word 2003 or earlier), this tip may non work for you. For a version of this tip written specifically for earlier versions of Give-and-take, click here: Inserting Multiple Graphics in a Document.
0 Response to "How to Upload and Arrange Multiple Photos to a Word Document"
ارسال یک نظر