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
- 12 months ago
- 5 years ago
Recent Discussions
- 13 hours ago
- 2 days ago