I am using Visual Basic 6 to develop programs. The user enters some data to text boxes. The program creates a Word documents using those values as well as some other texts (labels). The user wants that the values entered by him should appear as bold, while the labels should be plain text. I can apply different styles like bold, underline to an entire paragraph using range, but am unable to apply bold formatting to a particular word in a paragraph. Please help me.
Thank You.
Lalit Kumar Barik
India

Selecting a particular word from a Word document through Visual Basic 6
Aaronru - MSFT
These forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.general.discussion&lang=en&cr=US
THe application your trying to do is a word automation project and there are a couple of better resources on the specifics on writing office automation application
Office Automation: office.developer.automation newsgroup
http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US
If you are proposing switching to using VB.Net application to access the word object model another useful location may be the
Working with the Office Primary Interop Assemblies (PIA): office.developer.automation newsgroup
http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.officedev&lang=en&cr=US
Hope that helps...
Its definately possible using the VB6 to access the word automation model which is COM based.