
Need to enter a tab in word if user entered one while entering the data into Access
Hi Sunshine
~~~~~~
How do I figure out what char is coming before the
a.,b),etc
~~~~~~
Select the character and run the line Msgbox Asc
(Selection.Text)
~~~~~~
then how do I replace that char with a tab?
~~~~~~
Do a find and replace, replacing ^(character number) with
^t.
~~~~~~
Are there any other good websites with info on VBA
functions that I could reference?
~~~~~~
http://www.mvps.org/word/
Especially under FAQs, on the Macros/VBA tab. Also under
Tutorials. And if in doubt, try the Search page.
Regards
Dave
Quote:
>-----Original Message-----
12/13/2001 7:11:56 AM
I have a program that transfers data from Access97 into
word97. The
user is entering something like this:
1. Information:
a.sub info
b)sub info
However, once transported to word, the information
displays like so:
1. Information a.sub info b)sub info
How do I figure out what char is coming before the
a.,b),etc... and
then how do I replace that char with a tab?
I'm rather new at VBA and have been thrown into the water
with this
one. Any help would be greatly appreciated.
Sunshine
P.S. Are there any other good websites with info on VBA
functions that I could reference?