View Single Post
 
Old 08-12-2014, 10:16 AM
rjrichar40 rjrichar40 is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Aug 2014
Posts: 11
rjrichar40 is on a distinguished road
Default Using VBA to change styles causing TabStop problem

I've got a series of macros so users can choose paragraphs and style them according to company standards. This way if they inadvertently change fonts, they can select a page and put everything to "approved" style standards.

However, one adverse effect is that afterwards, if they choose to put in a custom tab stop on a single paragraph... it adds the same tab stop to all paragraphs. Before styling, they can tabstop individual paragraphs. After styling, the tabstop goes onto each paragraph regardless.

I am not sure why, or how to fix this. Would there be a style setting that links them all together in this way? Something I can avoid? Is there VBA code for an onclick event for the ruler, so if they try to add a tabstop maybe I can intervene so it only effects the current paragraph?

Rather confusing question... but I thought I'd ask.
Reply With Quote