hello,
I am using the following code to create a formula in a cell which refers to a cell on another worksheet -
xlSheet.Range("I21").Formula = "='Worksheet Name'!E29"
Every time I try to run the code, a browse for file dialog box opens up. How can I tell the code to use the named worksheet from the same workbook?
Hope this makes sense.
thanks for any help
I am using the following code to create a formula in a cell which refers to a cell on another worksheet -
xlSheet.Range("I21").Formula = "='Worksheet Name'!E29"
Every time I try to run the code, a browse for file dialog box opens up. How can I tell the code to use the named worksheet from the same workbook?
Hope this makes sense.
thanks for any help