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

Occassionally one writes a function that returns a value in a macro
environment but it may not make much sense to have that function exposed in
sheet mode. Can one specify that a UDF be hidden from sheet operations?

TIA

--
Ken
"Using Dbase dialects since 82"
"Started with Visicalc in the same year"
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Restricted Functions


K_Macd;505209 Wrote:
Occassionally one writes a function that returns a value in a macro
environment but it may not make much sense to have that function
exposed in
sheet mode. Can one specify that a UDF be hidden from sheet
operations?

TIA

--
Ken
"Using Dbase dialects since 82"
"Started with Visicalc in the same year"


You can prefix the the function with 'Private' in the code, which will
prevent its appearance in the UDF list.


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=138937

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Restricted Functions

Thanks for your response

That will achieve the result but will make it too private ie it would not be
available to other projects so the question is whether one can set an
intermediate level of visibility - available to any macro in VBA but never in
sheet mode.
--
Ken
"Using Dbase dialects since 82"
"Started with Visicalc in the same year"


"p45cal" wrote:


K_Macd;505209 Wrote:
Occassionally one writes a function that returns a value in a macro
environment but it may not make much sense to have that function
exposed in
sheet mode. Can one specify that a UDF be hidden from sheet
operations?

TIA

--
Ken
"Using Dbase dialects since 82"
"Started with Visicalc in the same year"


You can prefix the the function with 'Private' in the code, which will
prevent its appearance in the UDF list.


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=138937


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
Restricted Access SB Excel Worksheet Functions 1 August 26th 08 02:13 PM
Restricted Cells ab3d4u[_26_] Excel Worksheet Functions 1 February 20th 08 03:44 PM
Restricted Worksheet Philip Drury Excel Discussion (Misc queries) 1 March 28th 07 02:14 AM
Restricted Usage AB Excel Discussion (Misc queries) 5 February 2nd 06 09:00 PM
Restricted permissions Marc New Users to Excel 1 November 8th 05 02:37 PM


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