LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 61
Default VBA enhancements

Microsoft could make error checking a lot easier, even possible in some
cases, it you would add the following to VBA:

1) Provide a function similar to UBound() and obj.Rows.Count that would work
on either Excel Range objects as arguments to Function Procedures, and
2) a function, call it Static2 for which a Static2 variable passes out of
existance when a VBA procedure returns control to Excel, or
3) a function, call it IsRangeObject, that can be used to test if an
argument to a VBA procedure is an Excel Range Object, as opposed to a VBA
array.

You coud use it in Excel, for example, instead of a #Value error, to tell
the user in a MsgBox that in the function MMult(x,y) the array x must have
the same number of columns as Y has rows. In the applications I write, or
would like to write but can't" this capability is very desirable or sometimes
aessential.

Thanks
--
Thanks for your help

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming
 
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
Enhancements to Sub FillColBlanks by Dave Peterson Max Excel Programming 12 August 24th 07 04:56 PM
2 VBA enhancements markx Excel Programming 4 July 4th 06 04:41 PM
Excel In-cell Enhancements silverliningboy Excel Worksheet Functions 4 May 15th 06 08:58 PM
Need Code Enhancements patrick molloy Excel Programming 1 July 17th 03 05:49 PM
Need Code Enhancements Debra Dalgleish[_2_] Excel Programming 1 July 17th 03 03:39 PM


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