Formatting for Word Output doc

  • Thread starter Jeff via AccessMonster.com
  • Start date
J

Jeff via AccessMonster.com

I have a button that sends the selected items of the listbox to a word
document. But I don't know how to format the data in the word document.
Right now, it's just a dump of the data from the listbox.

How can I format the below to have bold cust id, cust name and and then
place a bold line to separate and place notes after the line....

Customer ID: ABC
Customer Name: ABC
__________________________

Notes:
xxxxxxxxxxxxxx

So, Cutomer ID: is bold; and the data "ABC" is not bold but is lined up
evenly with the next line
Customer Name: is bold; and the data "ABC is not bold but is lined up
evenly with the line above it

The line is next and is bold; And the line length is 60

There is a space or carriage return after the line
Notes: is bold; and then a carriage return
and then the notes data is not bold

Does anyone know how I can write the code for this:

Thanks,
Jeff
 
J

Jeff via AccessMonster.com

Thanks, but it doesn't give me the line code that I need to bold the text
when I write it out to Word.

Does anyone know how to format "bold" text when writing out listbox items to
Word?


Gina said:
Jeff,

Have a look at..
http://www.members.shaw.ca/AlbertKallal/wordmerge/page2.html
I have a button that sends the selected items of the listbox to a word
document. But I don't know how to format the data in the word document.
[quoted text clipped - 25 lines]
Thanks,
Jeff
 
G

Gina Whipp

Jeff,

So sorry, read so fast missed the bold part!

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Jeff via AccessMonster.com said:
Thanks, but it doesn't give me the line code that I need to bold the text
when I write it out to Word.

Does anyone know how to format "bold" text when writing out listbox items
to
Word?


Gina said:
Jeff,

Have a look at..
http://www.members.shaw.ca/AlbertKallal/wordmerge/page2.html
I have a button that sends the selected items of the listbox to a word
document. But I don't know how to format the data in the word document.
[quoted text clipped - 25 lines]
Thanks,
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top