HansV wrote:Could there have been a space before the time string, so that it was in fact " 7:05" instead of "7:05" on his machine, while you saw "7:05"?
Thanks again, Hans, but not likely.
- I email a copy of the workbook to him.
- On SKYPE we load the same (copy) of the workbook on our machines.
- Under my spoken cueing we Step-Into and Step-Over and Run-to-breakpoints.
- The VBA code accesses the same public web page.
- The application downloads the web page into a "data" worksheet.
- Still on Skype we agree that our Excel worksheet, built from a downloaded web-page is "identical", certainly in terms of the number of rows, columns gained, the values in the first few and last few cells.
- Still under my cueing we Step until we reach that critical statement.
- We confirm by visual inspection (hover over the identifier) that we have the same data in the variable. We have gained the same data by loading the .Value of the same cell (row, col) from the downloaded web page in the "data" worksheet
- Colleague's test fails and skips over the Call, my test succeeds and prepares to Call.
I kid you not, this has me stumped.
Short of emailing to him the simple test code in my first post on this thread, I can't think of a more-parallel running that what we went through. (And once the dust has settled I plan to email the simple test to him and see if the LIKE operator fails when presented with hard-coded inline data)
(later) I have asked him to run the simple function in both Excel and Word at his end.
We are not processing
a data-file-on-his-machine vs.
a data-file-on-my-machine (contents might have been edited).
We are grabbing a public web page in real time, probably less than a second apart.
If there were an Olympic event "synchronized data processing", we'd get gold.
Except for the behavior of the LIKE statement.
I think LIKE has been around for 10 years or so, and unless he is running Office2003/prerelease/gamma or similar, it ought to work.
(Thinks: I'll email and ask him to Help,About in his copy of Excel)