开发者

Toolbar button doesnt get accessed at all

开发者 https://www.devze.com 2023-01-06 06:31 出处:网络
I am using the following code but the toolbar button doesnt get accessed at all. The error is \"unknown error\"

I am using the following code but the toolbar button doesnt get accessed at all. The error is "unknown error"

开发者_StackOverflow
Window(window_name).WinToolBar("Example Toolbar").Press "Print"

Here Example Toolbar is added to the object repo, and gets highlighted correctly.


Are you sure the error is Unknown Error and not Cannot identify the specified item of the Standard object....

Perhaps you're using the wrong name, this will give you the names of the items in the WinToolBar

MsgBox Window(window_name).WinToolBar("Example Toolbar").GetContent()
0

精彩评论

暂无评论...
验证码 换一张
取 消