J
Jan Karel Pieterse
Hi All,
I wish to show the "External Data Range properties" dialog
using code.
When I try this:
Application.CommandBars(1).FindControl(ID:=1951,
recursive:=True).Execute
I get "Method 'Execute' of 'CommandBarButton_' failed".
Why??
I am sure a querytable is selected when I run the code.
This code:
Sendkeys "%dda"
DOES work, but I don't want to use sendkeys, for obvious
reasons.
Regards,
Jan Karel Pieterse
Excel TA/MVP
I wish to show the "External Data Range properties" dialog
using code.
When I try this:
Application.CommandBars(1).FindControl(ID:=1951,
recursive:=True).Execute
I get "Method 'Execute' of 'CommandBarButton_' failed".
Why??
I am sure a querytable is selected when I run the code.
This code:
Sendkeys "%dda"
DOES work, but I don't want to use sendkeys, for obvious
reasons.
Regards,
Jan Karel Pieterse
Excel TA/MVP