Thread: [Solved] Trim spaces from table cells
View Single Post
 
Old 09-04-2018, 03:08 PM
jeffreybrown jeffreybrown is offline Windows Vista Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default Trim spaces from table cells

After converting a pdf to Word, some of the tables have a space before some of the context in the tables.

I would guess it's a space as I can backspace it out, but noticed if I apply Alignment Center, the spaces disappear. I recorded a macro to get that code, but when running the macro the behavior is not the same as when the Align Center is manually applied.

I've use the macro on this board for cleaning up pasted text from a pdf, but that doesn't seem to do anything for this.

1) Can the cells of the table be trimmed?
2) Is there a way in the immediate window to figure out what these spaces are? Maybe showing the code for the mark?
Attached Files
File Type: docx test.docx (13.0 KB, 11 views)
Reply With Quote