Hi,
I am having massive problems with the following and was hoping someone could help me out!!
I am trying to show the value in a cell on another workbook in a MsgBox.
In Excel, the cell formula is:
='\\128.128.128.5\Data\DATA\FUEL\[FUELCARD.xls]FUEL CARDS'!$D$272
This shows whatever value is in cell D272 in the FUELCARD.xls spreadsheet in the DATA folder on the 128.128.128.5 machine.
When I try to get this as a message box I use the following code..
MsgBox _
('\\128.128.128.5\Data\DATA\FUEL\[FUELCARD.xls]FUEL CARDS'!R272C4))
And I'm given the error:
Compile Error: Expected Expression
and then it highlights the '
Can someone tell me what I am doing wrong please?
Thanks
John
Bookmarks