Consulting

Results 1 to 2 of 2

Thread: Changing the font of a bookmark in Word from Access 2013

  1. #1

    Changing the font of a bookmark in Word from Access 2013

    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!

  2. #2
    VBAX Expert
    Joined
    Oct 2012
    Posts
    726
    Location
    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •