squidgeny 0 Posted November 4, 2011 Hi guys, I'm new to AutoIt so I hope my question isn't too newby for someone to answer I have a script that switches between an Excel spreadsheet and another program. It copies data from Excel to the clipboard, Alt-Tabs to the other program, navigates a few menus, pastes the data, hits a few buttons, then Alt-Tabs back. It does this continuously (navigating down a list in Excel) until manually ended with a hotkey. It does all of this using the Send command, but I'm sure there's a better way! My question is: how can I program my script to store the Excel list in an array, so that it doesn't have to copy/paste and alt-tab so much? Thanks! Share this post Link to post Share on other sites
water 2,393 Posted November 4, 2011 Please have a look at the help file: User Defined Function Reference -> Excel Management This should get you started. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
squidgeny 0 Posted November 4, 2011 Is that section available in the online version here? http://www.autoitscript.com/autoit3/docs/ I can't seem to find it. For convoluted reasons I can't use the downloadable help file on my current computer :/ Share this post Link to post Share on other sites
water 2,393 Posted November 4, 2011 Check this. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
squidgeny 0 Posted November 4, 2011 Thanks water, looks like that has everything I'll need Share this post Link to post Share on other sites