From: Adelle on 22 Dec 2009 23:51 I am trying to create a macro to search and replace one tab with two in a TOC. Problem is I currently have three tabs set in the paragraph and the one that I want to replace is the second tab. When I run the search and replace it changes the first tab to two. Any ideas on how to get around this problem. Ex (current): 1.(tab)text(leader tab)digit Ex (desired): 1.(tab)text(leader tab)(tab)digit Submitted via EggHeadCafe - Software Developer Portal of Choice ASP.NET: Hamburger, Yes! AJAX, "NOT!", Redux! http://www.eggheadcafe.com/tutorials/aspnet/bf10c5a6-0c8e-4ba9-934d-edb57ab852e3/aspnet-hamburger-yes.aspx
From: macropod on 23 Dec 2009 01:37 Hi Adelle, For a TOC field, the 'correct' way is to edit the relevant TOC Styles. Otherwise the tabs are liable to reappear as soon as you update the TOC field. If the tabs are in the headings being picked up by the TOC, though, you'll need to either edit the headings themselves or change the TOC Style to that the two tabs are effectively treated as one (eg by placing the corresponding tab stops as close together as possible - which seems to be about 1.25pts apart). -- Cheers macropod [Microsoft MVP - Word] "Adelle Gibson" wrote in message news:20091222235114adelle70(a)comcast.net... >I am trying to create a macro to search and replace one tab with two in a TOC. Problem is I currently have three tabs set in the >paragraph and the one that I want to replace is the second tab. When I run the search and replace it changes the first tab to two. >Any ideas on how to get around this problem. > > Ex (current): > 1.(tab)text(leader tab)digit > > Ex (desired): > 1.(tab)text(leader tab)(tab)digit > > > Submitted via EggHeadCafe - Software Developer Portal of Choice > ASP.NET: Hamburger, Yes! AJAX, "NOT!", Redux! > http://www.eggheadcafe.com/tutorials/aspnet/bf10c5a6-0c8e-4ba9-934d-edb57ab852e3/aspnet-hamburger-yes.aspx
|
Pages: 1 Prev: Background picture Next: HOW TO SET TIMECODE BULLETPOINTS FOR VOICE AUDIOTAPE TRANSCRIPTS |