Hi All,
I'm trying to add a line to this macro:
I cannot work out how to do the bit in red. Can anyone assist?![]()
Please Login or Register to view this content.
Thanks
dvent
Hi All,
I'm trying to add a line to this macro:
I cannot work out how to do the bit in red. Can anyone assist?![]()
Please Login or Register to view this content.
Thanks
dvent
Heads up... when working with Row variables use Long not Integer given row numbers exceed Integer boundaries (also in 32 Bit VBA Integers get converted to Longs under the hood anyway)
If you want code that will work on all versions best to use Rows.Count than 65536 - this is because in XL2007 the available rows increased (1m+) and if you upgrade at a later date the use of 65536 is obviously open to error.
![]()
Please Login or Register to view this content.
Or if you prefer to avoid Resize
![]()
Please Login or Register to view this content.
Last edited by DonkeyOte; 02-11-2010 at 06:59 AM. Reason: modified to rows - typo
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks