Results 1 to 8 of 8

Thread: Modify a table in the header with VBA in Word

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Regular
    Joined
    Feb 2019
    Posts
    16
    Location

    Modify a table in the header with VBA in Word

    Hi all.

    I'm trying to programme a macro in word to change the header. In the header of the document I have a table and I need to change some things there (the background color, change the text of a cell...).

    For example I need to apply this comand to the header:

    Cell(1, 2).Shading.BackgroundPatternColor = 11382784

    My problem its that every macro I programme dont affect the header, just the document.

    I will need to change the header of the first page and the header of the rest of the pages.


    Thanks!
    Last edited by Aussiebear; 01-02-2025 at 03:19 AM.

Posting Permissions

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