Forum Discussion
sastowe
12 years agoSuper Contributor
VBScript example
Sub DoIt
set btn = ...VBObject("cmdSave")
btn.Click
End Sub
Clicks a button
sPadMyString = LeftPad("a", "1", 3)
Function LeftPad(sValuetoPad, sPadChar, iPadLength)
LeftPad = string(iPadLength - Len(sValuetoPad),sPadChar) & sValuetoPad
End function 'LeftPad
Sub DoIt
set btn = ...VBObject("cmdSave")
btn.Click
End Sub
Clicks a button
sPadMyString = LeftPad("a", "1", 3)
Function LeftPad(sValuetoPad, sPadChar, iPadLength)
LeftPad = string(iPadLength - Len(sValuetoPad),sPadChar) & sValuetoPad
End function 'LeftPad
Related Content
- 5 years ago
- 13 years ago
Recent Discussions
- 12 minutes ago
- 22 minutes ago