Re: Creating word outline automatically from a text file
- From: Roy <Roy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Mar 2006 10:10:29 -0800
Autoformat didn't help. I'll guess if I want to do it, I will take your
advice and write VBA code. Thanks for your help. (It seems like a simple
feature that I wish would be included in the product)
Roy.
"Charles Kenyon" wrote:
Using a copy of your text file, try AutoFormat and see what happens..
Otherwise, can you do it? Yes, by writing a separate vba program that
recognizes codes you put into your text file and applies heading styles as
you designate in response to those codes. Enjoy.
--
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Roy" <Roy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6C89E47A-A8CA-4DF2-B698-8944267AADAA@xxxxxxxxxxxxxxxx
Your solution is only from working within Word. My issue is that I have an
hierarchical information that I can generate a text file from. Then I want
Word to take this text file and import it as an outline. Can I do that?
Example:
Text file is (or any other format which I can programmatically generate):
1,A
2,B
2,C
1,D
2,E
3,G
Then Word needs to take this file and outline it like this:
+ A ----B
| ----C
|
+ D-----E
|-------G
(A is the parent of B and C, D is a sibling of A and a parent of E, E is a
parent of E)
Does someone know of a way to do it?
Roy.
"Charles Kenyon" wrote:
Apply appropriate heading styles and it will all fall into place using
Outline view. http://word.mvps.org/FAQs/Formatting/UsingOLView.htm
--
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Roy" <Roy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:74BEA79D-3774-47C4-ABC9-C53652B08B9A@xxxxxxxxxxxxxxxx
How can I create a word outline file from a text file. I can format the
text
file any way I want with the level information, but I couldn't find any
way
to import this to Word. I have some kind of hierarchy that I want to
view
using Word outline (when I can see levels and expand them ans search)
- Follow-Ups:
- Re: Creating word outline automatically from a text file
- From: Suzanne S. Barnhill
- Re: Creating word outline automatically from a text file
- References:
- Re: Creating word outline automatically from a text file
- From: Charles Kenyon
- Re: Creating word outline automatically from a text file
- From: Charles Kenyon
- Re: Creating word outline automatically from a text file
- Prev by Date: Re: How to put graphics on envelopes?
- Next by Date: Re: How can I automatically eliminate all blank lines from a word
- Previous by thread: Re: Creating word outline automatically from a text file
- Next by thread: Re: Creating word outline automatically from a text file
- Index(es):
Relevant Pages
|