Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn On AutoFilter In Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Turn On AutoFilter In Excel
Miscellaneous
Thread ID:
01333201
Message ID:
01333201
Views:
47
I am trying to use Excel automation to turn on AutoFilter:
oExcel = CREATEOBJECT("Excel.Application")

oWorkbook = oExcel.Workbooks.Open(sFileName)

oSheet = oExcel.Workbooks(1).ActiveSheet

oSheet.Cells.Select()

oSheet.AutoFilter = TRUE
			
I get the error "Member not found" on the AutoFilter line. The AutoFilter property shows up in IntelliSense.

Anyone know what I'm doing wrong?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform