Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Wy doesn't this sub works? I get "VÄRDEFEL!" (faild value) in Swedish The formula works in excel after F2 and Enter Sub Sum() myCol = "F" myFirstCell = myCol & "7" myLastCell = myCol & "24" myArea = myFirstCell & ":" & myLastCell mySumCell = myCol & "27" Range(mySumCell).Activate txt = "=SUM(" & myArea & ")" ActiveCell.Formula = txt ActiveCell.Calculate End Sub -- If you are old enough, you have your future behind you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need VB formula to execute form | Excel Worksheet Functions | |||
Excel Formula Doesn't Execute (Shows formula-not the calcuation) | Excel Discussion (Misc queries) | |||
execute once formula | Excel Programming | |||
VBA Formula Fails to Execute | Setting up and Configuration of Excel | |||
execute a text as a formula | Excel Programming |