Search
-
Recent Posts
- VBA Corruption Registry Fix
- Sheet Calculate Change
- Python in Excel: Python User Defined Functions
- Python in Excel: Controlling Python Calculation
- Python in Excel: How do Excel and Python Formulas Work Together?
- Python in Excel: PY Calculation, Globals & Co-Volatility
- Python in Excel: Round-Tripping Gotchas
- Manual Calculation No Longer Viral!
- Only Calculating the Active Workbook
- Excel Screen-updating Performance Comparison.
Recent Comments
Jim on VBA Corruption Registry F… fastexcel on VBA Corruption Registry F… Jean-Michel DITNER on VBA Corruption Registry F… Sandeep Kothari on Short-circuiting Excel Formula… Sandeep Kothari on Short-circuiting Excel Formula… Veit Stimpfl on Excel Memory Checking Tool: Us… fastexcel on Short-circuiting in Array… Sergei on Short-circuiting in Array… Post Archive
- February 2024 (2)
- November 2023 (4)
- October 2023 (1)
- March 2023 (2)
- January 2023 (3)
- October 2020 (1)
- July 2020 (1)
- February 2020 (1)
- May 2019 (2)
- January 2019 (1)
- July 2018 (2)
- January 2018 (1)
- September 2017 (1)
- April 2017 (2)
- March 2017 (4)
- February 2017 (1)
- December 2016 (1)
- November 2016 (3)
- October 2016 (2)
- July 2016 (1)
- April 2016 (1)
- February 2016 (1)
- December 2015 (4)
- November 2015 (2)
- September 2015 (2)
- May 2015 (2)
- February 2015 (1)
- January 2015 (2)
- December 2014 (1)
- November 2014 (2)
- October 2014 (3)
- September 2014 (2)
- August 2014 (2)
- June 2014 (1)
- April 2014 (1)
- February 2014 (1)
- January 2014 (3)
- December 2013 (2)
- November 2013 (4)
- October 2013 (6)
- September 2013 (4)
- February 2013 (3)
- January 2013 (3)
- December 2012 (4)
- November 2012 (2)
- October 2012 (2)
- September 2012 (1)
- July 2012 (6)
- June 2012 (7)
- April 2012 (1)
- March 2012 (2)
- February 2012 (1)
- January 2012 (3)
- December 2011 (1)
- November 2011 (3)
- October 2011 (2)
- September 2011 (2)
- August 2011 (1)
- July 2011 (4)
- June 2011 (8)
- May 2011 (4)
Categories
Blogroll
RSS
Blog Stats
- 1,327,340 hits
- Follow Excel and UDF Performance Stuff on WordPress.com
Monthly Archives: June 2011
Excel 2007/2010 Used Range Voodoo – Big Grid used range woes
I have been struggling with cleaning the used range on large workbooks with Excel 2007 and 2010. Besides the UsedRange.Rows.Count problem discussed in the previous post I have met: out of memory Excel hangs performance problems Statusbar not updating Out … Continue reading
Posted in VBA
5 Comments
Excel 2007/2010 range.count too many cells bug
Ian Bennett just sent me details of a bug in build 501 of FastExcel: the error message he got is – VBA Error 6 is Overflow and line 1630 says nCells = Worksheets(j).UsedRange.Count nCells is dimmed as a Long and … Continue reading
Posted in UDF, VBA
8 Comments
Writing efficient VBA UDFs (Part5) – UDF Array Formulas go faster!
Just in case you thought the previous posts on writing efficient VBA UDfs (Part1, Part2, Part3, Part 4) meant we had finished making UDFs run faster, think again – its time to explore UDF Array Formulas. Single and Multi-Cell Array … Continue reading
Posted in UDF, VBA
31 Comments
Writing efficient VBA UDFs (Part 4) – Variants, References, Arrays, Calculated Expressions, Scalars
In part 1 and part 2 of “Writing efficient UDFs” I used parameters defined as Range to get data from Excel. Function VINTERPOLATEB(Lookup_Value As Variant, Table_Array As Range, Col_Num As Long) This works OK if the function is called from … Continue reading
Posted in UDF, VBA
3 Comments
Multi-threaded UDFs – Technology, Locking, Race conditions and Deadlocks
One of the major disadvantages of VBA (and VB6) UDFs is that they cannot be multi-threaded. And since everyone now has PCs with multiple cores and Excel 2007 or Excel 2010 (well except for my better half Jane who is … Continue reading
Posted in UDF, Wine, XLL
8 Comments
VBA Read/write Speed Formula – Benchmarking Excel Versions
Previous posts on Writing Efficient UDFs Part 1 and Part 2 have looked at the importance of optimising the way you transfer data between Excel and VBA. This is often a major factor in the speed (or lack of it) … Continue reading
Posted in VBA
3 Comments
Writing efficient VBA UDFs (Part 3) – Avoiding the VBE refresh bug – Updated
In Part 1 and Part 2 of Writing Efficient VBA UDFs I looked at some simple ways of changing the VBA code you write to make it run massively faster. In this post I look at a bug in Excel … Continue reading
Posted in UDF, VBA
14 Comments
Writing efficient VBA UDFs (Part 2) – using Excel Functions inside a UDF
In part 1 of Writing efficient VBA UDFs I looked at more efficient ways for the UDF to process a Range of data by reading it all into a Variant array. In this post I look at a case (using … Continue reading
Posted in UDF, VBA
18 Comments