I am not used to running VBA in excel. I wrote a function which passes 2 arguments to the function. I need to insert the calculated value back into a particular cell. I thought I could write a statement:
Range("C4") = N
When the program reaches that step it leaves the function routine with no message and returns to the work sheet. Nothing is in cell "C4".
What am I doing wrong? I looked at an earlier script that I wrote in an ancient version and that statement worked.
Thanks, Bill
Range("C4") = N
When the program reaches that step it leaves the function routine with no message and returns to the work sheet. Nothing is in cell "C4".
What am I doing wrong? I looked at an earlier script that I wrote in an ancient version and that statement worked.
Thanks, Bill