LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default XLA not loading properly on start-up

I have an XLA with User Defined Functions in it. Upon loading I attempt to
load one of the function into a function category in Excel (UDF category 14)
When Excel starts up and opens the XLA I get an error message in the
ThisWorkbook module:

"Run time Error 1004: Cannot edit a macro on a hidden workbook. Unhide the
workbook using the Unhide command"

The code is as follws:
Private Sub Workbook_Open()
Application.MacroOptions Macro:="VowelCount", Category:=14
End Sub

Why is this happening? The XLA is obviously hidden. Do I have to
momentarily unihde it to add the funciton and then hide it again?

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel loading on start up ajbryan59 Excel Discussion (Misc queries) 1 October 16th 06 04:50 PM
Excel loading on start up ajbryan59 Excel Discussion (Misc queries) 0 October 16th 06 04:12 PM
Automaion Addin not loading properly!! Abhijit Excel Programming 2 July 6th 05 12:03 PM
Excel Addins Not Loading on Start Tony Tam Excel Programming 4 June 10th 05 10:20 PM
Loading UserForm on start up. Kobus Excel Programming 2 April 1st 05 11:13 AM


All times are GMT +1. The time now is 03:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"