Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default XL2003 Macro Visibility


Hi Guys

Apologies if this one is an old chestnut but I have searched all over
the net all morning and in here and can't find it.

I have an application which runs fine in XL97/2000. It customises the
whole excel environment removing toobars etc etc and leaving its own
behind (each button being attached to a macro).

Now the odd thing is whenever I click on one of my toolbar buttons I
get (in XL2003 but not in the others..) something like "macro
'filename!macroname' cannot be found".

OK web searches throw up the obvious security thing - right the
security thing is on low - so no answer there.

Investigating further the only macros that can be run from Alt+f8 are a
few indeed (all of them 'subs' not 'public subs' (?!), and uncertain
about option private module effects).

Anyway having read and read and read tearing my hair out here on
something which I hope is trivial for those in the know!

many thanks

Mike


--
Mike_B
------------------------------------------------------------------------
Mike_B's Profile: http://www.excelforum.com/member.php...o&userid=29087
View this thread: http://www.excelforum.com/showthread...hreadid=488128

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default XL2003 Macro Visibility

is the filename in 'filename!macroname', open?

Is it in the same location --same drive, same path, same everything for that pc
with xl2003?

Mike_B wrote:

Hi Guys

Apologies if this one is an old chestnut but I have searched all over
the net all morning and in here and can't find it.

I have an application which runs fine in XL97/2000. It customises the
whole excel environment removing toobars etc etc and leaving its own
behind (each button being attached to a macro).

Now the odd thing is whenever I click on one of my toolbar buttons I
get (in XL2003 but not in the others..) something like "macro
'filename!macroname' cannot be found".

OK web searches throw up the obvious security thing - right the
security thing is on low - so no answer there.

Investigating further the only macros that can be run from Alt+f8 are a
few indeed (all of them 'subs' not 'public subs' (?!), and uncertain
about option private module effects).

Anyway having read and read and read tearing my hair out here on
something which I hope is trivial for those in the know!

many thanks

Mike

--
Mike_B
------------------------------------------------------------------------
Mike_B's Profile: http://www.excelforum.com/member.php...o&userid=29087
View this thread: http://www.excelforum.com/showthread...hreadid=488128


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default XL2003 Macro Visibility


Dave

Thanks for this thought.

Its a different machine and different file path.

However it is a stand-alone Excel file including its own forms
modules, vba code etc etc. This 'file' has been run on many machine
in all sorts of file paths.

The missing macros XL03-VBA is not seeing is in the same file?!?! Th
other odd thing is that it can see a very small number of its 'own
macros but only a small percentage (its not like it can see none o
them).

Still tearing my hair out over this one - the only thing I can think o
is the drastic step of removing all modules, all forms etc etc saving a
a new file and reimporting everything (no small task) - in case it i
one of these 'weird corruption' things.

Before I go down that drastic path though I was just seeking to fin
out whether anyone has tripped over the same problem - ie that an exce
file cant see its own modules's subs!?!?

rgds

Mik

--
Mike_
-----------------------------------------------------------------------
Mike_B's Profile: http://www.excelforum.com/member.php...fo&userid=2908
View this thread: http://www.excelforum.com/showthread.php?threadid=48812

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default XL2003 Macro Visibility

Do you use nice unique names for your macros. Excel can get confused if there
are addins that use the same macro name.



Mike_B wrote:

Dave

Thanks for this thought.

Its a different machine and different file path.

However it is a stand-alone Excel file including its own forms,
modules, vba code etc etc. This 'file' has been run on many machines
in all sorts of file paths.

The missing macros XL03-VBA is not seeing is in the same file?!?! The
other odd thing is that it can see a very small number of its 'own'
macros but only a small percentage (its not like it can see none of
them).

Still tearing my hair out over this one - the only thing I can think of
is the drastic step of removing all modules, all forms etc etc saving as
a new file and reimporting everything (no small task) - in case it is
one of these 'weird corruption' things.

Before I go down that drastic path though I was just seeking to find
out whether anyone has tripped over the same problem - ie that an excel
file cant see its own modules's subs!?!?

rgds

Mike

--
Mike_B
------------------------------------------------------------------------
Mike_B's Profile: http://www.excelforum.com/member.php...o&userid=29087
View this thread: http://www.excelforum.com/showthread...hreadid=488128


--

Dave Peterson
Reply
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
Rearranging the Columns Macro XL2003 ruhroh88 Excel Discussion (Misc queries) 0 October 22nd 08 11:28 PM
Add-In Visibility Trent Argante Excel Discussion (Misc queries) 5 February 13th 08 08:01 PM
Worksheets - Visibility Doria/Warris Excel Programming 5 June 13th 04 08:46 AM
Application visibility Rob Johnston Excel Programming 2 April 13th 04 04:15 PM
Visibility Gordon[_12_] Excel Programming 4 January 9th 04 08:04 PM


All times are GMT +1. The time now is 02:34 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"