Solved

When inserting a little image to word, it's considered a vignette

Posted on 2008-10-15
4
618 Views
Last Modified: 2012-05-05
When inserting a little inline image on a Microsoft Word Document, when user press enter after the image, the image is duplicated on the new line.

I insert this image by  using Visual Basic 6, but the issue also arises when done manually.

Investigating a little, I found that Word consider small images as a vignette.

To reproduce what I mean, please insert the attached image on a Microsoft Word document and then press enter (the cursor should be just at the right of the inserted image).

Could anyone tell me if its possible to make the inserted image behave just as it was a bigger one ? I mean, without duplicating it when user inserts a new line ?

Thank you.
imatge-campD.jpg
0
Comment
Question by:gplana
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:dlc110161
ID: 22725519
What is happening is Word is attempting to turn it into a bullet point. What you should do is turn off Automatic Bullets.

It is found in the AutoFormat as you Type dialog box.
 - In Word 2003 and earlier: Tools / AutoCorrect Options / AutoFormat as You Type / Clear the checkmark from Automatic Bulletted Lists
 - In Word 2007: Click the Office Button / Word Options / Proofing / AutoCorrect Options / AutoFormat as You Type / Clear the checkmark from Automatic Bulletted Lists

In VBA - Options.AutoFormatAsYouTypeApplyBulletedLists = False

Hope that helps.

Dawn Crosier-Bleuel
Word MVP
0
 
LVL 15

Author Comment

by:gplana
ID: 22725642
Thank you dlc110161.

Do you know if I can turn off Automatic Bullets from Visual Basic 6 ? I mean, using automation ?
0
 
LVL 19

Accepted Solution

by:
dlc110161 earned 500 total points
ID: 22726040
You should be able to use the same commands as in VBA since the VBA in 2003 and 2007 is a "flavor" of VB6. I'd guess something like:

DIM wdApp as Word.Application
Set wdApp = GetObject(, "Word.Application")
With wdApp.Options.AutoFormatAsYouTypeApplyBulletedLists = False

Hopefully that gets you a little further.

Dawn Crosier-Bleuel
Word MVP
0
 
LVL 15

Author Closing Comment

by:gplana
ID: 31506469
You helped me a lot. Thank you very much.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now