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: 2
Default Class within a class

I have defined a custom class called deductionFile. It has several
properties like fileName,fileDate,etc. It refers to a fixed-width text file
that I am importing into excel. The file is comprised of several fields,
and each field has information about it like width, typeOfData, Description,
etc. What I want to do is have a class called colDefinition that is a
member of the deductionFile class. Therefore, each deductionFile object
would have multiple colDefinition objects, each with their own properties.
I would then refernce it something like this:

deductionFile.colDefinition(i).width

Basically I want to have the same type of functionality as when you write
worksheets(1).range("foo").cells(1,1). Worksheets has a collection of
ranges, which has a collection of cells. I want to have a deductionFile
object that has a collection of colDefinitions.


 
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
problems with my class medicenpringles[_17_] Excel Programming 6 October 20th 05 09:37 PM
Class Modules Pavlos Excel Programming 5 January 19th 05 05:31 PM
Class module Chip Pearson Excel Programming 0 January 19th 05 03:01 PM
RaiseEvent from a class contained in a 2nd class collection? Andrew[_16_] Excel Programming 2 January 6th 04 04:22 PM
Is it possible to set a class member to be another class member? Michael[_21_] Excel Programming 3 October 30th 03 08:28 AM


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