![]() |
#4
|
||||
|
||||
![]()
As far as a Word document is concerned, the paper you are going to print it on is an irrelevance. You could use an image of the pre-printed form as a background image temporarily to enable you to locate the areas of the document that you wish to fill, but it is not clear how you are intending to fill those areas - presumably with images.
If you simply want to insert an image at a specific location then you can do that with VBA also e.g. Code:
Sub InsertImage() Dim oShp As Shape Set oShp = ActiveDocument.Shapes.AddPicture(FileName:="C:\Path\ImageName.jpg", _ SaveWithDocument:=True) With oShp With .WrapFormat .Type = wdWrapSquare .Side = wdWrapBoth .DistanceTop = InchesToPoints(0.1) .DistanceBottom = InchesToPoints(0.1) .DistanceLeft = InchesToPoints(0.1) .DistanceRight = InchesToPoints(0.1) End With .LockAspectRatio = msoTrue .Width = InchesToPoints(1) ' The displayed width of the picture .Left = InchesToPoints(3) - ActiveDocument.PageSetup.LeftMargin 'The distance from the left edge of the paper .Top = InchesToPoints(6) - ActiveDocument.PageSetup.TopMargin 'The distance from the top edge of the paper End With lbl_Exit: Set oShp = Nothing Exit Sub End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default location for the Office Document Cache Server drafts location. | dianahbr | Office | 0 | 03-02-2018 12:37 PM |
![]() |
Jamal NUMAN | Word | 24 | 09-06-2017 12:18 PM |
Want to use the DateAdd function to type text at a location in word document, using date from CC | corriganc | Word VBA | 10 | 08-09-2017 08:07 PM |
Copy table to another location in the same document | Sektor | Word VBA | 2 | 03-31-2014 09:28 PM |
Displaying the filepath/document location in ribbon | MrPahoehoe | PowerPoint | 1 | 03-01-2013 06:41 AM |