Cendrinne
Start with the question! Your first two posts don't explain WHY you need a macro. Finally in post 3 you say you want to align numbers in table cells. This should have been mentioned earlier because most of the forum posters (including myself) don't have the attention span to get that far.
Alignment of numbers is best done by using the decimal tab and applying a style to the column of cells. If you post a sample document we can look at the issue and make suggestions to resolve your problem (or modify your code).
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|