Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel xlValues and Find
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01086704
Message ID:
01087117
Views:
43
I've tried the constants. I get the OLE "type mismatch" error.

>Search the download section, keyword "constants". You have #include files there, which define lots of constants for Excel and Word.
>
>>Hi all,
>>
>>I have over 5000 Excel documents that I need to rip data out of, but I can't seem to figure out how to tell the "find" command in Excel to not search the formulas, but the values only. Here is what I am trying.
>>
>>oExcel.Range('A1').Find("Street",,,,,,,,TRANSFORM(4294963133, "@0")).Select
>>
>>The transform command is what I've tried to use to get the hex value of the xlValues constant. Which I've also tried this way.
>>
>>#define xlValues 0xffffefbd
>>
>>And then using the xlValues, like this.
>>
>>oExcel.Range('A1').Find("Street",,,,,,,,xlValues).Select
>>
>>Which doesn't seem to work either.
>>
>>Any other suggestions?
>>
>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform