+ Reply to Thread
Results 1 to 2 of 2

Array Definition - Different Data Types for each column

  1. #1
    Registered User
    Join Date
    01-10-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    11

    Array Definition - Different Data Types for each column

    Team,

    Is it possible to define an array whose columns have a different data type. I am trying to define a cashflow matrix as variant whose size is

    CashFlow( Number of cash flows, 4)

    Column 1 = Cashflow(Double)
    Column 2 = Date of Cashflow(Date)
    Column 3 = DiscountFator(Double)
    Column 4= DiscountedValue(Double)

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Array Definition - Different Data Types for each column

    no it is not but you could for instance declare an array of a user-defined type which allows you to specify the data type of each element. may be more trouble than it's worth depending on how you use it
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1