I am a full-time consultant and provide services related to the design, implementation and deployment of mathematical programming, optimization and data-science applications. I also teach courses and workshops. Usually I cannot blog about projects I am doing, but there are many technical notes I'd like to share. Not in the least so I have an easy way to search and find them again myself. You can reach me at erwin@amsterdamoptimization.com.
Wednesday, March 19, 2014
Excel 64 bit: Windows API declarations
Thursday, March 13, 2014
Excel 64 bit treeview
I have developed some data entry tools in Excel. It has some VBA code and uses a TreeView component to select things like crops, countries, etc.
The underlying component is from MSComCtl i.e. Common Controls. Works like a charm as this is included in “all” Office installs. Well, not in the 64 bit versions. Some users have that version installed so this will not work for them. A work-around is to use the TreeView code from Jan Karel Pieterse.
In most cases there is no good reason to use the 64 bit version of Excel. It has similar limits on the numbers of rows and columns in a sheet. It can deal with spreadsheets with many more populated cells before running out of memory.
Links:
- 64-Bit Visual Basic for Applications Overview http://msdn.microsoft.com/en-us/library/office/gg264421.aspx
- Compatibility Between the 32-bit and 64-bit Versions of Office 2010 http://msdn.microsoft.com/en-us/library/ee691831(v=office.14).aspx
- An MSForms (All VBA) TreeView: http://www.jkp-ads.com/articles/treeview.asp
- Feedback from developers: http://social.technet.microsoft.com/Forums/office/en-US/f3a71d69-580b-4cdb-ae0b-d8189e6cfd40/offce-2010-x64-edition-ships-with-x86-mscomctlocx