S
Shane
Hi.
I'm into an area that has me stumped. I have a template that reads
database info via DDE. A field that holds fax numbers is displayed to
the user as (07) 6666 6666. Due to the nature of the database the
text that is passed to Word is formated 1-07)-6666-6666. I cannot
change the way the data is passed over due to the relational nature of
the records and table structure so I'd like to reformat it via VBA.
What I don't know how to do is reformat the info before it hits the
document i.e replace and remove characters. What I would like to do
is take the data when a form loads (no problem as I can do that),
manipulate it into the format required (this I can't do) then display
it in the form for the user (no problems here either).
Any help would be appreciated.
Regards
Shane
I'm into an area that has me stumped. I have a template that reads
database info via DDE. A field that holds fax numbers is displayed to
the user as (07) 6666 6666. Due to the nature of the database the
text that is passed to Word is formated 1-07)-6666-6666. I cannot
change the way the data is passed over due to the relational nature of
the records and table structure so I'd like to reformat it via VBA.
What I don't know how to do is reformat the info before it hits the
document i.e replace and remove characters. What I would like to do
is take the data when a form loads (no problem as I can do that),
manipulate it into the format required (this I can't do) then display
it in the form for the user (no problems here either).
Any help would be appreciated.
Regards
Shane