Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default UDF in personal.xlsb is not recognized

I wrote a User Definied Function and saved it in Module1 in Personal.xlsb
but it works only from the Immediate window and only if the "personal.xlsb"
project is selected in the project window in VBE.
All tutorials in internet say that saving the function in any module in
personal.xlsb is enough to have it available in any worksheet.
Why it doesn't work?
Please help.

TIA
David
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default UDF in personal.xlsb is not recognized

Hi David,

Am Thu, 29 Nov 2012 19:36:52 +0100 schrieb David:

I wrote a User Definied Function and saved it in Module1 in Personal.xlsb
but it works only from the Immediate window and only if the "personal.xlsb"
project is selected in the project window in VBE.
All tutorials in internet say that saving the function in any module in
personal.xlsb is enough to have it available in any worksheet.


in front of your function you have do write PERSONAL.xlsb!
e.g.: =PERSONAL.XLSB!mysum()


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default UDF in personal.xlsb is not recognized

Il Thu, 29 Nov 2012 19:44:50 +0100, Claus Busch ha scritto:

Hi David,

Am Thu, 29 Nov 2012 19:36:52 +0100 schrieb David:

I wrote a User Definied Function and saved it in Module1 in Personal.xlsb
but it works only from the Immediate window and only if the "personal.xlsb"
project is selected in the project window in VBE.
All tutorials in internet say that saving the function in any module in
personal.xlsb is enough to have it available in any worksheet.


in front of your function you have do write PERSONAL.xlsb!
e.g.: =PERSONAL.XLSB!mysum()


It works, thank you.

David
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 621
Default UDF in personal.xlsb is not recognized

David

I prefer to place all my commonly-used macros in an
add-in.............you don't have to use the filename prefix.

=mysum() will suffice


Gord

On Thu, 29 Nov 2012 20:11:58 +0100, David wrote:

Il Thu, 29 Nov 2012 19:44:50 +0100, Claus Busch ha scritto:

Hi David,

Am Thu, 29 Nov 2012 19:36:52 +0100 schrieb David:

I wrote a User Definied Function and saved it in Module1 in Personal.xlsb
but it works only from the Immediate window and only if the "personal.xlsb"
project is selected in the project window in VBE.
All tutorials in internet say that saving the function in any module in
personal.xlsb is enough to have it available in any worksheet.


in front of your function you have do write PERSONAL.xlsb!
e.g.: =PERSONAL.XLSB!mysum()


It works, thank you.

David

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
PERSONAL.XLSB Joe[_11_] Excel Programming 7 April 15th 10 12:29 AM
UDF in PERSONAL.XLSB Faraz A. Qureshi Excel Programming 4 September 29th 09 02:34 PM
personal.xlsb dhstein Excel Discussion (Misc queries) 2 June 24th 09 11:20 AM
PERSONAL.XLSB LVS Excel Programming 1 October 22nd 08 04:12 AM


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