Thanks
SOLVED
Thanks
SOLVED
Purely as a heads up (given resolved) given changes made in 2007 it's now best to use Rows.Count as opposed to 65536:
eg this:
as opposed to this:![]()
For N = Cells(Rows.Count, 1).End(xlUp).Row To 3 Step -1
This is purely down to the fact that 2007 has 1 million plus rows and thus you can not guarantee 100% of the time that the 65536 method will work pending version etc.... the Rows.Count method is essentially failsafe![]()
For N = Cells(65536, 1).End(xlUp).Row To 3 Step -1
(the same is true re: Columns.Count etc...)
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