Yes, the code isn't dealing with the majority of field types. The space is the particular issue because there are lots of spaces in fields that shouldn't be replaced by underscores.
Is IncludePicture the only field type that the macro should hit? Do they always have the filepath enclosed in "double quotes"?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|