P
Pamela
I'm am new in using Macro's, I needed to number copies of the same document, I tried to use the above macro. I get an error at
SerialNumber = System.PrivateProfileString("C:\Settings.Txt", _
"MacroSettings", "SerialNumber")
It says varible not defined. I named the bookmark "SerialNumber", but named the macro PrintSerialNumber, tried to change macro name to SerialNumber, but didn't work. I wrote the code like was on the web site. Did I miss a step, name my macro wrong?? I did get the code to work on another computer, it didn't have Option Explicit at the top. Both run msword 2000.
Any help would be appreciated.
SerialNumber = System.PrivateProfileString("C:\Settings.Txt", _
"MacroSettings", "SerialNumber")
It says varible not defined. I named the bookmark "SerialNumber", but named the macro PrintSerialNumber, tried to change macro name to SerialNumber, but didn't work. I wrote the code like was on the web site. Did I miss a step, name my macro wrong?? I did get the code to work on another computer, it didn't have Option Explicit at the top. Both run msword 2000.
Any help would be appreciated.