Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Claus Busch wrote:
Hi, Am Sat, 8 Oct 2016 09:58:43 +0100 schrieb Umi: I want to make a function table in excel for example: a: 10 b: 20 c: 30 d: 40 When I select "a" and "b" it should add it and give the value "30" in another cell. Alternative: Private Sub Worksheet_SelectionChange(ByVal Target As Range) Range("A1") = Application.Sum(Selection) End Sub ignores text values Derp. I almost never think to use worksheet formulae. This approach offers a great deal of flexibility over std VB functions. You can also get most of this in your VB6 projects via the OWC (spreadsheet control) hidden or visible on a form. -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
random range of cells via cell names | Excel Programming | |||
fill any random cell in a column and block all other cells | Excel Discussion (Misc queries) | |||
random cell selection from a column of cells | Excel Worksheet Functions | |||
reuest formula for auto update status & status date | Excel Worksheet Functions | |||
Status Bar Calculating Cells 50% | Excel Programming |