SkysLastChance Posted January 15, 2020 Share Posted January 15, 2020 (edited) I have been using this for awhile and today it stopped working. #include <Excel.au3> Global $vTopCount = 1 Global $vTopCount = 1 $oExcel = _Excel_Open() _Excel_BookNew($oExcel, 2) $oExcel.Activesheet.Range('A'& $vTopCount:'G'& $vTopCount).Interior.ColorIndex = 50 The only thing I can really think of that I changed is that I switched from the light version to full version of Scite. How can I make this work again? "C:\Users\username\Desktop\color test.au3"(9,42) : error: syntax error $oExcel.Activesheet.Range('A'& $vTopCount: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Edited January 15, 2020 by SkysLastChance You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott Link to comment Share on other sites More sharing options...
Solution Nine Posted January 15, 2020 Solution Share Posted January 15, 2020 There is a typo in that line : $oExcel.Activesheet.Range('A'& $vTopCount & ':G' & $vTopCount).Interior.ColorIndex = 50 SkysLastChance 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy 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