Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp, Excel, Results of Find
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00771394
Message ID:
00771397
Views:
8
Something like:

if ObjExcel.Selection.Find('as',xlValues,xlPart, xlByColumns).Activate
?ObjExcel.ActiveCell.row, objExcel.ActiveCell.column
endif

>Help,
>How do I use vfp to search for a string in an excel spreadsheet and then tell me
>in which row/column the result is? Below is the find command in VB from excel.
>
>Cells.Find(What:="as", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
> xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False) _
> Activate
>
>Thanks
>Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform