Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Rick, The Sub HalfFormula() worked great. Thank you, and to all other replies!! - Mike "Rick Rothstein" wrote: I'm not completely sure what you meant by "once subtotals are initiated". What is in your GrandTotal cell... a value or a formula? If a value, try this subroutine (after selecting the GrandTotal cell)... Sub HalfValue() ActiveCell.Value = ActiveCell.Value / 2 End Sub If a formula, try this (again, after selecting the GrandTotal cell)... Sub HalfFormula() ActiveCell.Formula = ActiveCell.Formula & "/2" End Sub If something else, then please describe your situation in more detail. -- Rick (MVP - Excel) "MikeF" wrote in message ... Once subtotals are initiated, can navigate to a GrandTotal cell [know how to do that] but then ... Have VBA edit that cell adding "/2" to the end of it ... effectively dividing it by 2 ... whichever cell it ends up being, which is frequently a different row. Have been able to accomplish that, but only with a fixed cell address. Any assistance will be sincerely appreciated. -Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
why do i "sometimes" need to "edit chart object" before "source da | Charts and Charting in Excel | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Lost "File Menu" - now it's "Edit / View / Insert.." but no "F | Excel Discussion (Misc queries) | |||
Make "Edit" mode default, rather than "Enter"? | Excel Discussion (Misc queries) | |||
How do I get "file" tab to click on, it starts with "edit" | Excel Discussion (Misc queries) |