LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vb.general.discussion
external usenet poster
 
Posts: 74
Default Pass array of worksheets to ActiveX DLL (VB6)

Hi Hank,

Your solution would have worked just as well as my one, though
I've ended up going with Jamie's suggestion. (In part because I'm
trying to avoid variants whenever possible given the approach taken in
VB.Net, but more importantly it will allow other (future) methods to
use the same collection object without the need for more validation
coding.)


Fine - they're both equally good alternatives. If implementing the
custom collection bit, you might like to modify the Add method, so it
accepts a single sheet, or an array of sheets, collection of sheets,
Excel Sheets collection etc. (as in my example code), to make it as easy
as possible for your users to get their existing data structures into
your custom collection.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.ie




 
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
cant pass array to excel from c++ using xloper structure malayhk Excel Worksheet Functions 0 November 4th 09 09:09 AM
Pass workbook name to ActiveX DLL (VB6) meldrum_scotland Excel Discussion (Misc queries) 0 August 8th 08 06:07 PM
combining cells and array from different sheets into an array to pass to IRR() [email protected] Excel Discussion (Misc queries) 3 September 11th 06 07:17 AM
Pass an array to Rank Biff Excel Worksheet Functions 12 June 29th 05 04:15 PM
Pass array from Project to Excel Sarah[_5_] Excel Programming 2 April 12th 04 07:30 PM


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