wiretwister Posted August 31, 2015 Author Posted August 31, 2015 Thanks, kcvinu, water and kylomas for responding.kcvinu, do you really want to see the entire listing? Almost all of it is simply setting up the array to be written to Excel. I will send it if you think that will help.water, the return value is blank, and @error and @extended are both zero, whether _Excel_RangeWrite($workbook,$newsheet,$outarray) runs correctly or not. By the way, $outarray is populated by an Excel sheet.I've noticed some discussion about the number of cells. The largest array that I can use right now is 160 rows by 34 columns. That's 5440 array "places."
water Posted August 31, 2015 Posted August 31, 2015 As you can see in post #6 Excel 2000 only supports 5461 cells for the transpose method. Set the flag in the function call to use the internal _ArrayTranspose function. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
wiretwister Posted September 1, 2015 Author Posted September 1, 2015 Per your suggestion, all I did was change the last item from False (default) to True in:_Excel_RangeWrite ( $oWorkbook, $vWorksheet, $vValue [, $vRange = "A1" [, $bValue = True [, $bForceFunc = False]]] )And now it works. All 31,330 of our Part Number records process properly. Seems too simple. I'll have to study this "Transpose" thing.Thank you for your help!
water Posted September 4, 2015 Posted September 4, 2015 Glad to be of service I will add a section to the wiki about the transpose limitations. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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