DCCD Posted June 29, 2009 Share Posted June 29, 2009 I need some help if you quit excel you will get Msgbox Yes/No/Cancel, tell you, if you want to save this file, I need to know the correct ClassnameNN of the "Yes" Button Anyone wanna help me with this? tell me what version of excel are you using? And ClassnameNN "Yes" Button. thanks in advance [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
BrettF Posted June 29, 2009 Share Posted June 29, 2009 Have yous seen Excel.au3? Regardless, expandcollapse popup>>>> Window <<<< Title: Microsoft Office Excel Class: #32770 Position: 468, 356 Size: 350, 115 Style: 0x94C801C5 ExStyle: 0x00010101 Handle: 0x009A0C68 >>>> Control <<<< Class: Button Instance: 1 ClassnameNN: Button1 Advanced (Class): [CLASS:Button; INSTANCE:1] ID: 6 Text: &Yes Position: 62, 54 Size: 63, 23 ControlClick Coords: 30, 9 Style: 0x50030000 ExStyle: 0x00000004 Handle: 0x013B0C74 >>>> Mouse <<<< Position: 563, 448 Cursor ID: 0 Color: 0xF5F5F1 >>>> StatusBar <<<< >>>> Visible Text <<<< &Yes &No Cancel Do you want to save the changes you made to 'Book1'? >>>> Hidden Text <<<< 100216 Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Spiff59 Posted June 29, 2009 Share Posted June 29, 2009 Probably a stupid question, but... You don't get the prompt if you do an $oExcel.ActiveWorkbook.Save or _ExcelBookSave() first. I'm guessing there's a reason you can't go that route? Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 29, 2009 Moderators Share Posted June 29, 2009 seeya in **ellI think you misinterpreted Spiff59's post, but that still does not give you the right to post such nonsense.Seeing that you have been warned recently by another moderator I'm going to give you a short break from the forum. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now