Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default Has Microsoft fixed Excel's Dependents bugs?

I just spent a miserable 3 days trying to do something very simple in
VBA and failed.

I want to determine whether a cell has dependents or not. All
dependents, on the same sheet and external. In a UDF.

Some things I think I learned a

1. In Office XP Excel VBA, <Range.Dependents, DirectDependents,
ShowDependents, etc. work in Subs but fail in Functions.

2. Microsoft has crippled UDFs on a number of counts.

3. Dependents/DirectDependents only return references in the same
sheet; external references are omitted. But ShowDependents works
correctly.

4. NavigateArrow has "an anomaly in which a cell with no dependents
returns itself ad infinitum" (per one very helpful thread).

5. Chip Pearson has reported at least one of these issues to
Microlite. Thank God for people like him. Like truckers of days of
yore, they're the knights of the programming road.

6. Also, since you need to NavigateArrows, there may not be a direct,
"for each" method to cycle through dependents...? In the absence of a
working dependents property, newsgroup examples I've seen seem to use
On Error constructions.

I offer you up a cheerful, muffled: Agghhhh!!!

Has Microflot fixed these problems--most importantly, the UDF one?

Thanks.

***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Has Microsoft fixed Excel's Dependents bugs?

I don't think things have improved at all in any patches or new version.

With regard though to UDFs I suspect that NavigateArrow, etc. violates the
rule that VB functions called from a worksheet formulas (UDFs) cannot "take
actions".

--
Jim
wrote in message
...
|I just spent a miserable 3 days trying to do something very simple in
| VBA and failed.
|
| I want to determine whether a cell has dependents or not. All
| dependents, on the same sheet and external. In a UDF.
|
| Some things I think I learned a
|
| 1. In Office XP Excel VBA, <Range.Dependents, DirectDependents,
| ShowDependents, etc. work in Subs but fail in Functions.
|
| 2. Microsoft has crippled UDFs on a number of counts.
|
| 3. Dependents/DirectDependents only return references in the same
| sheet; external references are omitted. But ShowDependents works
| correctly.
|
| 4. NavigateArrow has "an anomaly in which a cell with no dependents
| returns itself ad infinitum" (per one very helpful thread).
|
| 5. Chip Pearson has reported at least one of these issues to
| Microlite. Thank God for people like him. Like truckers of days of
| yore, they're the knights of the programming road.
|
| 6. Also, since you need to NavigateArrows, there may not be a direct,
| "for each" method to cycle through dependents...? In the absence of a
| working dependents property, newsgroup examples I've seen seem to use
| On Error constructions.
|
| I offer you up a cheerful, muffled: Agghhhh!!!
|
| Has Microflot fixed these problems--most importantly, the UDF one?
|
| Thanks.
|
| ***


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Has Microsoft fixed Excel's Dependents bugs?

As a matter of pure curiosity, why would you want to determine dependents
from within a UDF?

Charles
__________________________________________________
Outlines for my Sessions at the Australia Excel Users Group
http://www.decisionmodels.com/OZEUC.htm


I want to determine whether a cell has dependents or not. All
dependents, on the same sheet and external. In a UDF.




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
bugs in microsoft exel 2007 tjatja Excel Discussion (Misc queries) 7 March 11th 10 02:21 AM
How does on report site bugs for the newsgroup sites to microsoft? Shane Devenshire[_2_] Excel Worksheet Functions 10 March 20th 09 11:53 PM
drawdown at fixed rate over set period from investment at fixed % jamook New Users to Excel 1 November 28th 05 10:53 PM
Excel VBA Bugs Microsoft Excel Programming 1 November 21st 03 07:31 AM
2 bugs in Excel Tom Ogilvy Excel Programming 0 August 6th 03 08:40 PM


All times are GMT +1. The time now is 09:22 AM.

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"