Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Click on Excel Dialog
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
the object in the repository is not unique enough to be identified, so you either need to add a unique property value like text to the object or use DP to identify it like this

Code:
Window("BM_269.xlsm").Dialog("Microsoft Excel").WinButton("text:=OK").Click

That should do it.
Reply


Messages In This Thread
Unable to Click on Excel Dialog - by Raj20091 - 10-17-2009, 03:08 AM
RE: Unable to Click on Excel Dialog - by jsknight1969 - 10-19-2009, 06:59 PM
RE: Unable to Click on Excel Dialog - by Raj20091 - 10-19-2009, 07:58 PM
RE: Unable to Click on Excel Dialog - by Raj20091 - 10-20-2009, 07:38 PM
RE: Unable to Click on Excel Dialog - by berula - 03-15-2011, 06:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how can i click a macro button in excel using vbscript arpan 1 3,743 10-03-2017, 06:27 AM
Last Post: supputuri
  Unable to click on the WebButton with specified Index srach84 2 4,291 03-31-2015, 04:36 AM
Last Post: srach84
  Unable to click on WebButton in WebTable srach84 1 3,102 02-09-2015, 09:07 PM
Last Post: arpan
  Unable to click on moving text in a website Akhila 4 4,010 07-18-2013, 02:38 PM
Last Post: tanyamrz
  unable to click webelement by holding shift key tanyamrz 1 3,510 09-14-2012, 05:21 AM
Last Post: kcn

Forum Jump:


Users browsing this thread: 4 Guest(s)