PDA

View Full Version : Changing the font of a bookmark in Word from Access 2013



AlwaysSunny
07-28-2016, 03:50 PM
Hello all,

I'm populating a word document with information from an access database using bookmarks. Is there a way that I can change the font properties of these bookmarks?

I tried

wdDok.Bookmarks("Projects").Select
Selection.Font.Name = "Arial"

but I get a 4605 error.

Thanks!

jonh
07-28-2016, 04:21 PM
Your data might be coming from Access. You might be writing code in Access. But Word mail merge is a Word function so this belongs in the Word sub forum.

I can't answer your question, but I would advise you to avoid using select

wdDok.Bookmarks("Projects").Font.Name = "Arial"

would do the same thing but quicker.