Hi,
I'm trying to figure out a worksheet activation code that would insert the sum up formula below the last data row of column "T" and sum up all the values above the formula.
Any help on this would be kindly appreciated.
Hi,
I'm trying to figure out a worksheet activation code that would insert the sum up formula below the last data row of column "T" and sum up all the values above the formula.
Any help on this would be kindly appreciated.
Thanks in Advance.
Cheers,
adsm
Not entirely clear but perhaps:
above is obviously even driven code and should reside in VBE behind whichever sheet object you wish to apply it to![]()
Please Login or Register to view this content.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks for the code, That's what I was searching for. I've added sum few lines to the code.
Here is the current version.
How could I incorporate the following formula into column E below the last data row.![]()
Please Login or Register to view this content.
=SpellCurr($T$10,"Dollar","S","Cent","S")
For example if the formula
.FormulaR1C1 = "=SUM(R1C:R[-1]C)" is in T10, then
the formula =SpellCurr($T$10,"Dollar","S","Cent","S") will show $T$10.
If the formula
.FormulaR1C1 = "=SUM(R1C:R[-1]C)" is in T11 the formula will show as
=SpellCurr($T$11,"Dollar","S","Cent","S") in column E below the last data row.
Perhaps....
![]()
Please Login or Register to view this content.
Thanks for the help once again. If I may ask one more help how could I make the row where the formulas appear to bold and the row to be highlighted in Grey.
revise colour index per preference![]()
Please Login or Register to view this content.
The code colors the entire row. How could I make it to only color from column D to T.
I've tried with the above code but it doesn't work for me?![]()
Please Login or Register to view this content.
Any help would be kindly appreciated.
Re: above code - out of context it's hard to follow - use of Static variables etc...
In terms of revising my prior sample:
![]()
Please Login or Register to view this content.
Thanks for the help & I do really appreciate your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks