I am using a simple macro in a Word template I created in Word 2007 to add a unique sequential number at the bottom of a one page document and it works great on my desktop computer running Windows Vista. When I use the same template with Word 2013 on a Surface Pro running Windows 8.1, I get a VBA error stating: "Method 'PrivateProfileString' of object 'System' failed". I have attached some images for clarification. I hope they are legible. If not, I can email them in a Word document. The settings.txt file is indeed in the root of C:\. Any ideas would be appreciated as I am new to both Windows 8.x and Word 2013 and I am not sure which might be giving me the grief.
Thanks.
Lamarr