Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel range class failed
Message
From
21/06/2000 13:34:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00382241
Message ID:
00382811
Views:
15
>Does anyone know what cause the runtime error "1004" ... "advancedfilter method of range class failed". there is no caviots in the Excel VB reference help index. I feel like it is a reference to a list. this is the code "Range("ItembyReten").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:= Range("Criteria"), CopyToRange:=Range("Extract"), Unique:=False".
>
>Thanks in advance, Chuck


Chuck,
This doesn't seem to be an official call from VFP to Excel. You're using 'named arguments' (Action := xlFilterCopy ...). Search for 'named argument' here on UT and you'll get details.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform