Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-20-2017, 05:31 AM
stewarto stewarto is offline inserting an image at current position Windows 10 inserting an image at current position Office 2016
Novice
inserting an image at current position
 
Join Date: Mar 2017
Location: Haarlem, Netherlands
Posts: 4
stewarto is on a distinguished road
Question inserting an image at current position

I have a macro which inserts an image at the current position but since a short while it inserts at the top of the page!



Can anyone help?

myperson = "john_doe"
myfile = "g:\office\files\" + myperson + ".bmp"
ActiveDocument.Shapes.AddPicture(Anchor:=Selection .Range, FileName:=myfile, _
LinkToFile:=False, SaveWithDocument:=True).WrapFormat.Type = wdWrapSquare
Reply With Quote
 

Tags
word vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to position an image at a specific location from the edge of the screen / paper? SpeedD PowerPoint 1 01-28-2015 08:04 AM
Losing image resolution when inserting image into MS word (2011: Mac) Mario.N Drawing and Graphics 0 11-23-2014 02:38 AM
Problem Inserting Image rbonnell PowerPoint 1 07-22-2014 07:15 AM
inserting an image at current position Word 2010 how do i set default position for image sam2149 Word 2 03-29-2014 01:41 AM
inserting an image at current position Macro for moving one cell down from current position Johnny thunder Word VBA 3 04-07-2011 04:44 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft