Template Numbering on shared drive

T

Tony G

l still have 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
 
C

Cindy Meister -WordMVP-

Hi Tony,

You'd probably have better luck getting a prompt and
knowledgeable answer in one of the word.vba newsgroups. You
also need to mention how it's not working (any error
messages, resulting behavior, etc.)
l still have 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.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan
24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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