Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

All in one...

$
0
0

I have five macros in one module (access through different color buttons on the tool bar), each macro takes a table (already in the document), clears all styles/formatting, asks how many rows for the header and then applies color to the header row(s). Each macro does the same thing (stated above), the only difference is the color that is applied to the header row(s) (there are five colors, hence the five macros). I have a sixth macro (in the same module), that asks what font and what size font for the whole table. Then it asks what is the width of the table (based on the margin setting of the document). Everything works great separately, but I would like to take the sixth macro and have it prompt the user to pick a color for the table by going to one of the five macros and applying it and then continue with the margin size of the table. (I’m using Word 2010.)

                      Order                                                           Location

  1. Clear styles/formatting                In 6th macro & In all of the 5 macros
  2. Ask Font & Font Size                   In 6th macro [Prompts user]
  3. How many header rows                In all of the 5 color macros [Prompts user]
  4. What color                                 In all of the 5 color macros [Prompts user]
  5. What margin size                         In 6th macro [Prompts user]

The five color macros: BWTableFormat, CyanTableFormat, OrangeTableformat, PlumTableFormat, TealTableFormat. Please help me do this with one button (MasterTableFormat)!!

Thanx!

Lost Amateur


Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>