Saving .txt

T

Tony

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
 
W

Word Heretic

G'day "Tony" <[email protected]>,

a document.saveas command???


Tony said:
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 (e-mail address removed)
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
 

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