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 opening properly (Repost)

Sorry for the repost, but I could not get an anwer on the original and this
is still plaguing me.

I have an XLA with a User Defined Function in it. Upon loading I attempt to
load the function into a function category in Excel (UDF category 14). The
UDF is called "VowelCount". 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 file. Do I have to
momentarily unihde it to add the function to the function category 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
Spreadsheet not opening properly John Excel Discussion (Misc queries) 0 July 23rd 09 05:02 PM
excel shortcuts not opening properly Anil from Sri Lanka Excel Discussion (Misc queries) 5 March 5th 08 06:08 AM
Excel not opening properly CJBookie Excel Discussion (Misc queries) 6 September 28th 06 01:54 PM
Please repost ans to this one Mark \(InWales\)[_15_] Excel Programming 3 November 18th 04 07:00 PM
A repost: Automatic file opening procedure seeming to hold cache Hari[_3_] Excel Programming 0 June 14th 04 10:12 PM


All times are GMT +1. The time now is 10:14 PM.

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"