Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding criteria in Excel
Message
 
 
À
09/03/2007 12:29:12
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01202350
Message ID:
01202376
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>Thanks, Naomi,
>
>However could you tell me, in the following code,
>
>* The first time
>oRangeFound = oRange.Find("#",,xlValues,,,,,,)
>* Subsequent
>oRangeFound = oRange.Find("#",oRangeFound,xlValues,,,,,,)
>
>How are oRangeFound and xlValues defined?
>
>Thanks a lot,
>
>Regards,
>
>Steve

The oRangeFound is a local variable which is an object reference to a cell.
(from VBA Help
Finds specific information in a range, and returns a Range object that represents the first cell where that information is found. Returns Nothing if no match is found. Doesn’t affect the selection or the active cell.
)

xlValues is defined in Excel.h and it's
#DEFINE xlValues -4163

This would be a better sample
Re: Replace Thread #1096827 Message #1101847
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform