Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I wish to set a "total" to the Sales column. Then bold the "total" amount. May I know the command? Please bear in mind that the row is not fixed for the total amount cell and it depends on the items being sold. Thank you. Item Sales A 10 B 11 C 12 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
From the Data menu
Select Subtotals and follow the prompts. This will generate a subtotal and a grand total in bold letters for you automatically without the need of any coding Michael Arch. "Jentan" wrote: Hi, I wish to set a "total" to the Sales column. Then bold the "total" amount. May I know the command? Please bear in mind that the row is not fixed for the total amount cell and it depends on the items being sold. Thank you. Item Sales A 10 B 11 C 12 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Michael's right, but if you must:
Sub test() Set iEnd = Cells(Rows.Count, 2).End(xlUp) With iEnd.Offset(1, 0) .Formula = "=SUM($B$2:" & iEnd.Address & ")" .Font.Bold = True End With End Sub -- Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Total amount By word | Excel Worksheet Functions | |||
total amount | New Users to Excel | |||
Set total amount for an equation..... | Excel Discussion (Misc queries) | |||
sales tax total amount from one cell amount to another cell | Excel Discussion (Misc queries) | |||
How do I calculate Amount of Sales Tax from Total Amount? | Excel Worksheet Functions |