E
EagleOne@microsoftdiscussiongroups
2007/2003
THe following code works fine with Access/Excel 2007 but not in Access 2003
Sheets("Temp").Sort.SortFields.Add Key:=Range("V2"), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
Error description "Variable not defined" for:
xlSortOnValues
xlSortNormal
The Excel 11 library is referenced.
Any Workarounds?
TIA,
EagleOOne
THe following code works fine with Access/Excel 2007 but not in Access 2003
Sheets("Temp").Sort.SortFields.Add Key:=Range("V2"), _
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
Error description "Variable not defined" for:
xlSortOnValues
xlSortNormal
The Excel 11 library is referenced.
Any Workarounds?
TIA,
EagleOOne