PC Review


Reply
Thread Tools Rate Thread

Creating word outline automatically from a text file

 
 
=?Utf-8?B?Um95?=
Guest
Posts: n/a
 
      7th Mar 2006
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)
 
Reply With Quote
 
 
 
 
Charles Kenyon
Guest
Posts: n/a
 
      7th Mar 2006
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" <(E-Mail Removed)> wrote in message
news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> 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)



 
Reply With Quote
 
=?Utf-8?B?Um95?=
Guest
Posts: n/a
 
      7th Mar 2006
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" <(E-Mail Removed)> wrote in message
> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> > 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)

>
>
>

 
Reply With Quote
 
Charles Kenyon
Guest
Posts: n/a
 
      7th Mar 2006
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" <(E-Mail Removed)> wrote in message
news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
>> > 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)

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?Um95?=
Guest
Posts: n/a
 
      7th Mar 2006
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" <(E-Mail Removed)> wrote in message
> news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> >> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> >> > 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)
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      7th Mar 2006
If there are no numbers in the paragraphs other than the 1, 2, 3, etc., you
could use Find and Replace to search for 1*^p and replace with ^& formatted
with the appropriate heading level (Heading 1 for 1, Heading 2, for 2,
etc.).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Roy" <(E-Mail Removed)> wrote in message
news:BFAAC66A-06E6-4A5C-A7CB-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> > news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > >> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> > >> > 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)
> > >>
> > >>
> > >>

> >
> >
> >


 
Reply With Quote
 
=?Utf-8?B?Um95?=
Guest
Posts: n/a
 
      7th Mar 2006
Do you mean doing a regular exprerssion replace outside of word, and then
opening the text file in Word?

Roy.

"Suzanne S. Barnhill" wrote:

> If there are no numbers in the paragraphs other than the 1, 2, 3, etc., you
> could use Find and Replace to search for 1*^p and replace with ^& formatted
> with the appropriate heading level (Heading 1 for 1, Heading 2, for 2,
> etc.).
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> Word MVP FAQ site: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so
> all may benefit.
>
> "Roy" <(E-Mail Removed)> wrote in message
> news:BFAAC66A-06E6-4A5C-A7CB-(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > > news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > >> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> > > >> > 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)
> > > >>
> > > >>
> > > >>
> > >
> > >
> > >

>
>

 
Reply With Quote
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      7th Mar 2006
The Replace I described would be done in Word.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Roy" <(E-Mail Removed)> wrote in message
news:A781B46A-7754-48BE-8131-(E-Mail Removed)...
> Do you mean doing a regular exprerssion replace outside of word, and then
> opening the text file in Word?
>
> Roy.
>
> "Suzanne S. Barnhill" wrote:
>
> > If there are no numbers in the paragraphs other than the 1, 2, 3, etc.,

you
> > could use Find and Replace to search for 1*^p and replace with ^&

formatted
> > with the appropriate heading level (Heading 1 for 1, Heading 2, for 2,
> > etc.).
> >
> > --
> > Suzanne S. Barnhill
> > Microsoft MVP (Word)
> > Words into Type
> > Fairhope, Alabama USA
> > Word MVP FAQ site: http://word.mvps.org
> > Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
> > all may benefit.
> >
> > "Roy" <(E-Mail Removed)> wrote in message
> > news:BFAAC66A-06E6-4A5C-A7CB-(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > > news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> > > > > 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" <(E-Mail Removed)> wrote in message
> > > > >> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> > > > >> > 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)
> > > > >>
> > > > >>
> > > > >>
> > > >
> > > >
> > > >

> >
> >


 
Reply With Quote
 
=?Utf-8?B?Um95?=
Guest
Posts: n/a
 
      8th Mar 2006
1*^p is not a valid search criteria in Word2000. I get an error that says the
the special character ^p is not valid when wildcard mode is on.

So how can I match the following, and change the heading type?

1,a
2,b
3,c

Thank you for you r help.

Roy.

"Suzanne S. Barnhill" wrote:

> The Replace I described would be done in Word.
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> Word MVP FAQ site: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so
> all may benefit.
>
> "Roy" <(E-Mail Removed)> wrote in message
> news:A781B46A-7754-48BE-8131-(E-Mail Removed)...
> > Do you mean doing a regular exprerssion replace outside of word, and then
> > opening the text file in Word?
> >
> > Roy.
> >
> > "Suzanne S. Barnhill" wrote:
> >
> > > If there are no numbers in the paragraphs other than the 1, 2, 3, etc.,

> you
> > > could use Find and Replace to search for 1*^p and replace with ^&

> formatted
> > > with the appropriate heading level (Heading 1 for 1, Heading 2, for 2,
> > > etc.).
> > >
> > > --
> > > Suzanne S. Barnhill
> > > Microsoft MVP (Word)
> > > Words into Type
> > > Fairhope, Alabama USA
> > > Word MVP FAQ site: http://word.mvps.org
> > > Email cannot be acknowledged; please post all follow-ups to the

> newsgroup so
> > > all may benefit.
> > >
> > > "Roy" <(E-Mail Removed)> wrote in message
> > > news:BFAAC66A-06E6-4A5C-A7CB-(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > > > news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> > > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > >> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> > > > > >> > 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)
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> > > > >
> > >
> > >

>
>

 
Reply With Quote
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      8th Mar 2006
Use ^13 instead of ^p. I forgot that * is available only when using
wildcards.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Roy" <(E-Mail Removed)> wrote in message
news:16A152F1-258B-4E80-8FE2-(E-Mail Removed)...
> 1*^p is not a valid search criteria in Word2000. I get an error that says

the
> the special character ^p is not valid when wildcard mode is on.
>
> So how can I match the following, and change the heading type?
>
> 1,a
> 2,b
> 3,c
>
> Thank you for you r help.
>
> Roy.
>
> "Suzanne S. Barnhill" wrote:
>
> > The Replace I described would be done in Word.
> >
> > --
> > Suzanne S. Barnhill
> > Microsoft MVP (Word)
> > Words into Type
> > Fairhope, Alabama USA
> > Word MVP FAQ site: http://word.mvps.org
> > Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
> > all may benefit.
> >
> > "Roy" <(E-Mail Removed)> wrote in message
> > news:A781B46A-7754-48BE-8131-(E-Mail Removed)...
> > > Do you mean doing a regular exprerssion replace outside of word, and

then
> > > opening the text file in Word?
> > >
> > > Roy.
> > >
> > > "Suzanne S. Barnhill" wrote:
> > >
> > > > If there are no numbers in the paragraphs other than the 1, 2, 3,

etc.,
> > you
> > > > could use Find and Replace to search for 1*^p and replace with ^&

> > formatted
> > > > with the appropriate heading level (Heading 1 for 1, Heading 2, for

2,
> > > > etc.).
> > > >
> > > > --
> > > > Suzanne S. Barnhill
> > > > Microsoft MVP (Word)
> > > > Words into Type
> > > > Fairhope, Alabama USA
> > > > Word MVP FAQ site: http://word.mvps.org
> > > > Email cannot be acknowledged; please post all follow-ups to the

> > newsgroup so
> > > > all may benefit.
> > > >
> > > > "Roy" <(E-Mail Removed)> wrote in message
> > > > news:BFAAC66A-06E6-4A5C-A7CB-(E-Mail Removed)...
> > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > > news:6C89E47A-A8CA-4DF2-B698-(E-Mail Removed)...
> > > > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > > >> news:74BEA79D-3774-47C4-ABC9-(E-Mail Removed)...
> > > > > > >> > 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)
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > >
> > > >

> >
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
turn off white outline in Word Art text box cayce Microsoft Powerpoint 11 23rd May 2009 01:27 AM
Power Point Outline text to Text in Word =?Utf-8?B?S3Jpc3RhIEI=?= Microsoft Powerpoint 1 30th Mar 2007 02:44 AM
Automatically going to outline view when inserting header in Word =?Utf-8?B?U2FuZGlw?= Microsoft Word Document Management 4 14th Mar 2006 11:27 PM
Automatically outline all email addresses in a given text by putting them in red-bold frenchbox Microsoft Excel Misc 1 26th Dec 2005 06:34 PM
Re: How can i automatically update outline headings on a Word document Suzanne S. Barnhill Microsoft Word Document Management 0 8th Sep 2004 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:53 PM.