l am having a problem getting the system to save the .txt
file in the local share.
l have tried to change the lines :
Order = System.PrivateProfileString
("C:\Settings.txt","MacroSetting", "Order")
and
System.PrivateProfileString
("C:\Settings.txt","MacroSetting", "Order") = Order

To
Order = System.PrivateProfileString
("S:\Company_Templates\Purchase_Orders.txt","MacroSetting",
"Order")
and
System.PrivateProfileString
("S:\Company_Templates\Purchase_Orders.txt","MacroSetting",
"Order") = Order

The system does not like this so now l'm lost.
Is anybody able to put me on the right track as to how to
fix this.

Regards

Tony Goldring

Re: Saving .txt by Word

Word
Fri Sep 19 08:56:56 CDT 2003

G'day "Tony" <tgoldring@westendpress.com.au>,

a document.saveas command???


"Tony" <tgoldring@westendpress.com.au> was spinning this yarn:

>l am having a problem getting the system to save the .txt
>file in the local share.
>l have tried to change the lines :
>Order = System.PrivateProfileString
>("C:\Settings.txt","MacroSetting", "Order")
>and
>System.PrivateProfileString
>("C:\Settings.txt","MacroSetting", "Order") = Order
>
>To
>Order = System.PrivateProfileString
>("S:\Company_Templates\Purchase_Orders.txt","MacroSetting",
> "Order")
>and
>System.PrivateProfileString
>("S:\Company_Templates\Purchase_Orders.txt","MacroSetting",
> "Order") = Order
>
>The system does not like this so now l'm lost.
>Is anybody able to put me on the right track as to how to
>fix this.
>
>Regards
>
>Tony Goldring

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email steve@wordheretic.com
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.

Re: Saving .txt by Cindy

Cindy
Sat Sep 20 08:32:55 CDT 2003

Replied to duplicate question in some other group.

Cindy Meister