Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 641
  • Last Modified:

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

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
gplana
Asked:
gplana
  • 2
  • 2
1 Solution
 
dlc110161Commented:
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
 
gplanaAuthor Commented:
Thank you dlc110161.

Do you know if I can turn off Automatic Bullets from Visual Basic 6 ? I mean, using automation ?
0
 
dlc110161Commented:
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
 
gplanaAuthor Commented:
You helped me a lot. Thank you very much.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now