Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Hgeron
You can't change the properties of a cell by using a function - you need a sub procedure for that. Hence, you need something like a Sub compute() to do this. Best regards Richard hgeron wrote: I have a function that is called, but I want to place intermediate numbers on the Spreadsheet. This function fails with a # value error. Function compute(x) 'read in some values bw = Range("bw").Value dp = Range("dp").Value ' fails here - I want to place the value of 23 in the dcap cell Range("dcap").Value = 23 ...following lines fail to execute whats wrong? -- hgeron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Workbook_open : Putting in message in titlebar (Visual Basic) | Excel Worksheet Functions | |||
Can I run Visual Basic procedure using Excel Visual Basic editor? | Excel Programming | |||
Excel Cell Formating in Visual Basic 6.0 | Excel Programming | |||
Visual Basic to reference value in Excel cell | Excel Programming |