ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Start up file doesn't open (https://www.excelbanter.com/excel-programming/436656-start-up-file-doesnt-open.html)

jc

Start up file doesn't open
 
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?



--
CroceJC

jc

Start up file doesn't open
 
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
--
CroceJC


"jc" wrote:

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?



--
CroceJC



All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com