Hi,
Can anyone tell me how to convert this VBA code to vbscript...or if this is even possible???? I was told that any VB code can be converted to vbscript.
Sub AutoCorrectCaptureWORD()
'
' AutoCorrectCapture Macro
'
AutoCorrect.Entries.Add Name:="test", Value:="TEST"
With AutoCorrect
.CorrectInitialCaps = True
.CorrectSentenceCaps = False
.CorrectDays = True
.CorrectCapsLock = True
.ReplaceText = True
.ReplaceTextFromSpellingChecker = True
.CorrectKeyboardSetting = False
End With
End Sub
Sub AutoCorrectCaptureEXCEL()
'
' AutoCorrectCapture Macro
'
'
Application.AutoCorrect.AddReplacement What:="test", Replacement:="TEST"
With Application.AutoCorrect
.TwoInitialCapitals = True
.CorrectSentenceCap = True
.CapitalizeNamesOfDays = True
.CorrectCapsLock = True
.ReplaceText = True
End With
End Sub
Can anyone tell me how to convert this VBA code to vbscript...or if this is even possible???? I was told that any VB code can be converted to vbscript.
Sub AutoCorrectCaptureWORD()
'
' AutoCorrectCapture Macro
'
AutoCorrect.Entries.Add Name:="test", Value:="TEST"
With AutoCorrect
.CorrectInitialCaps = True
.CorrectSentenceCaps = False
.CorrectDays = True
.CorrectCapsLock = True
.ReplaceText = True
.ReplaceTextFromSpellingChecker = True
.CorrectKeyboardSetting = False
End With
End Sub
Sub AutoCorrectCaptureEXCEL()
'
' AutoCorrectCapture Macro
'
'
Application.AutoCorrect.AddReplacement What:="test", Replacement:="TEST"
With Application.AutoCorrect
.TwoInitialCapitals = True
.CorrectSentenceCap = True
.CapitalizeNamesOfDays = True
.CorrectCapsLock = True
.ReplaceText = True
End With
End Sub