cbones
asked on
Script to edit margins in word
Is there a script that can be scheduled to check a
directory and change the margins of word files in that folder?
Thank you
directory and change the margins of word files in that folder?
Thank you
ASKER
When I run this I received the following error:
Script: c:\test\macro.vbs
Line: 5
Char: 25
Error: Expected ')'
Code: 800A03EE
Source: Microsoft VBScript compilation error
Script: c:\test\macro.vbs
Line: 5
Char: 25
Error: Expected ')'
Code: 800A03EE
Source: Microsoft VBScript compilation error
Ths't because it's VBA code. Must it be VBScript?
ASKER
If that is possible, yes.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The error message that comes up is:
Script: "c:\test.vbs"
Line: 22
Char: 13
Error: Type mismatch: 'CentimetersToPoints'
Code: 800A000D
Source: Microsoft VBScript runtime error
Script: "c:\test.vbs"
Line: 22
Char: 13
Error: Type mismatch: 'CentimetersToPoints'
Code: 800A000D
Source: Microsoft VBScript runtime error
Here are a couple of VBA macros.
Open in new window