M
Martin Brennan
The code for this procedure was originally written in Excel 2000 on a
machine using Windows 2000, I am in the process of moving this and others to
a machine using Windows XP Home and Excel 2000.
I get the above error with the third line of the following code. This has
previously run successfully.
MarketWatchRng.Offset(0, 3).Value = MarketWatchPos2Str
MarketWatchRng.Offset(0, 4).Value = MarketWatchPos4Str
MarketWatchRng.Offset(0, 5).Value = MarketWatchPos5Str
'*** Error occurs at this line***
Debug.Print MarketWatchRng.Offset(0, 3).Address
Debug.Print MarketWatchPos2Str
Debug.Print MarketWatchRng.Offset(0, 4).Address
Debug.Print MarketWatchPos4Str
Debug.Print MarketWatchRng.Offset(0, 5).Address
Debug.Print MarketWatchPos5Str
produces the following in the Immediate window.
$D$7055
at=",2" mwfield="Price">6,550.20</SPAN></SPAN><IMG
$F$7055
="UK:1805550" mwformat=",2" mwfield="Price">6,550.20</S
I don't know where to start to look to eliminate the error. Any suggestions
greatly appreciated.
Thanks
Martin
machine using Windows 2000, I am in the process of moving this and others to
a machine using Windows XP Home and Excel 2000.
I get the above error with the third line of the following code. This has
previously run successfully.
MarketWatchRng.Offset(0, 3).Value = MarketWatchPos2Str
MarketWatchRng.Offset(0, 4).Value = MarketWatchPos4Str
MarketWatchRng.Offset(0, 5).Value = MarketWatchPos5Str
'*** Error occurs at this line***
Debug.Print MarketWatchRng.Offset(0, 3).Address
Debug.Print MarketWatchPos2Str
Debug.Print MarketWatchRng.Offset(0, 4).Address
Debug.Print MarketWatchPos4Str
Debug.Print MarketWatchRng.Offset(0, 5).Address
Debug.Print MarketWatchPos5Str
produces the following in the Immediate window.
$D$7055
$E$705510:26am
at=",2" mwfield="Price">6,550.20</SPAN></SPAN><IMG
$F$7055
="UK:1805550" mwformat=",2" mwfield="Price">6,550.20</S
I don't know where to start to look to eliminate the error. Any suggestions
greatly appreciated.
Thanks
Martin