To hard code "AV -" as a prefix to your page numbers in the text box the macro creates simply edit the line towards the bottom that reads:
TOCEntry.Text = TOCEntry.Text + CStr(PageToIndex.Index) + vbTab + PageToIndex.Name + vbNewLine
and make it say:
TOCEntry.Text = TOCEntry.Text + "AV -" + CStr(PageToIndex.Index) + vbTab + PageToIndex.Name + vbNewLine
Thanks for sharing this macro Tim. Very helpful.
Last edited by fryeguy; 10-22-2010 at 08:32 PM.
|