Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
T T is offline
external usenet poster
 
Posts: 41
Default Functions not Functions

I'm using VB code written to connect Excel to a database. It contains
several "Delcare Function" statements. All of these show up in the User
Defined Functions dropdown list in the worksheet. How can I remove these
from this list?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Functions not Functions

Change them from Public to Private functions (if they are not declared as
being either private or public then they are public by default and you need
to add private). This may have a down strem effect on your code if the code
in other module uses these functions.
--
HTH...

Jim Thomlinson


"T" wrote:

I'm using VB code written to connect Excel to a database. It contains
several "Delcare Function" statements. All of these show up in the User
Defined Functions dropdown list in the worksheet. How can I remove these
from this list?

  #3   Report Post  
Posted to microsoft.public.excel.programming
T T is offline
external usenet poster
 
Posts: 41
Default Functions not Functions

Thanks very much!

"Jim Thomlinson" wrote:

Change them from Public to Private functions (if they are not declared as
being either private or public then they are public by default and you need
to add private). This may have a down strem effect on your code if the code
in other module uses these functions.
--
HTH...

Jim Thomlinson


"T" wrote:

I'm using VB code written to connect Excel to a database. It contains
several "Delcare Function" statements. All of these show up in the User
Defined Functions dropdown list in the worksheet. How can I remove these
from this list?

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
Multiple functions, conditional functions HeatherBelle Excel Worksheet Functions 7 October 17th 08 03:57 PM
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
excel functions and User defined functions Kanan Excel Programming 4 May 20th 04 11:21 PM


All times are GMT +1. The time now is 06:46 AM.

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

About Us

"It's about Microsoft Excel"