I have a cell referanced to a remote server with formula:
=serv~10~0'!'23'*1
10 should be the variable referanced to a cell in the same sheet
I tried this but didn't work
=INDIRECT("serv~" & $A$1 & "~0'!'23'*1")
any idea how to do it!!
I have a cell referanced to a remote server with formula:
=serv~10~0'!'23'*1
10 should be the variable referanced to a cell in the same sheet
I tried this but didn't work
=INDIRECT("serv~" & $A$1 & "~0'!'23'*1")
any idea how to do it!!
1 vba solution:
Private Sub ListBox1_Click()
Application.ScreenUpdating = False
Dim cmpCd As String
cmpCd = CStr(Cells(1, 1).Value)
'field title = company name
Cells(2, 3).FormulaR1C1 = "=serv~" & cmpCd & "~0'!'23'*1"
Application.ScreenUpdating = True
End Sub