S
Simon K
Hi,
I'm new to office macroes, hence the perhaps unlogically workaround
suggestion.
I have an accounting program (Microsoft C5) that is able to print
invoices to a word .dot template. The template has simple bookmarks
where the invoice fields should go. But sometimes fields have empty
values and the leave a blank line in the document.
I would like to able to check for an empty value (or maybe the
bookmark is not even created?), so that I can remove the empty line in
the creation of the invoice document.
How is this best done? I have tried to tie a macro to the .dot
bookmark that checks the length of it, but it seems, it is not
executed. Also when I look at the created document the bookmarks can't
be found. So it seems I can only access the bookmarks in the .dot
file?
Any hints and help is very much appreciated.
Best regards
Simon K
I'm new to office macroes, hence the perhaps unlogically workaround
suggestion.
I have an accounting program (Microsoft C5) that is able to print
invoices to a word .dot template. The template has simple bookmarks
where the invoice fields should go. But sometimes fields have empty
values and the leave a blank line in the document.
I would like to able to check for an empty value (or maybe the
bookmark is not even created?), so that I can remove the empty line in
the creation of the invoice document.
How is this best done? I have tried to tie a macro to the .dot
bookmark that checks the length of it, but it seems, it is not
executed. Also when I look at the created document the bookmarks can't
be found. So it seems I can only access the bookmarks in the .dot
file?
Any hints and help is very much appreciated.
Best regards
Simon K