Start up file doesn't open

  • Thread starter Thread starter jc
  • Start date Start date
J

jc

I have a file that is in my designated startup file that is suddenly not
opening after haveing opened fine on start up for a long time.

I am able to open the file manually. When I do there is an error auto open
code:

..Item("Data").Controls.Item("Sort...").OnAction = "Sort"

The message is: Run-time error '-2147467259' (80004005)':
Method 'OnAction' of object '_CommandBarButton'
failed

Any thoughts on if these two problems a related and what is cousing them?
 
I just noticed that a file that when I open a file that is normaly open after
the startup file that the start up file then opens and the auto open macro
runs fine.

There are know links showing in either file
 
Back
Top