Posts by filo65

    Re: Vlookup On Multiple Tabs


    mccloudm,


    why instead of importing the table, don't you run a query in Excel for the value in E5?
    let do the work to the database. It's faster, takes less memory and you have no row limitations



    filippo

    Re: Self Destruct Workbook After Not Logging In Within 30 Days


    Malathay,


    Sicarii is right! In addition if your work is a company program you should have it well documented and accessible for compliance if containing or elaborating sensible data.


    A solution could be to E-mailed you the code and print it out with the incoming date and hour or send it to you via post ( keep the envelope closed! you have the post stamp as proof ) to be able, in case of "piracy", to dismask the thief.


    A second possibility could be to copy the program on a cd/dvd with a (sub)directory system ( i.e ..\myPrgA\20070520,..\myPrgA\20070521 ) to keep track of the changes; via WinExplorer you can proof anyway when the file has been created.


    And finally, they can steal you everything but not your intelligence and creativity.



    filippo

    Re: Dynamic Array Seems Invalid


    Bas,


    first of all welcome to the forum.


    the code you provide is missing of some variable initialization
    where are the initial values for:

    Code
    TBV ??
    TIV2 ??
    ClusterMembers() ??


    what do you want to achieve with this line?

    Code
    ClusterValues() = Array(TStV4)


    you will assign the array to the first element of the array. Is what you want


    can you give some more details and evtl. post a small workbook?


    filippo

    Re: Double Loop To Copy And Paste


    OK, let's try this one


    filippo

    Re: Double Loop To Copy And Paste


    I think I got it


    filippo

    Re: Double Loop To Copy And Paste


    albatros81,


    in your file portfolio 4102 has 21 entries, 4104 has 24, etc. Is there a special reason to choose the first 16? What exactly do you mean with

    Quote

    step = 19

    ?


    what exactly would you like to do? is it the total exposure for issuer?


    filippo

    Re: Weird Behavior Of Debug Statements


    a possibility could be:


    in the first case




    filippo

    Re: Double Loop To Copy And Paste


    try


    filippo

    Re: Linked Data With Variable File Name


    frateg8r,


    welcome to the forum.


    you could get away from the "linked" solution and copy the values your looking for. Doing this you solve two problems. The first is the one you have explained, the second is the updating time when openeing your source workbooks.


    filippo

    Re: Array From A Range And Then Returning It From Function


    mechanik,


    welcome to the forum.


    you probably miss the array definition "()" for correlrange

    Code
    Dim correlrange [B][COLOR="Red"]()[/COLOR][/B]As Range


    filippo

    Re: Extract Dynamic Data From Closed Workbook


    thunder,


    instead of

    Quote

    selectedcells = Range(begArea.Address & ":" & endArea.Address).Select.Copy


    try

    Code
    selectedcells = Range(begArea.Address & ":" & endArea.Address).Copy


    where it doesn't work?, do you get an error message? which one?


    filippo

    Re: Countif Vba Arrays


    try


    Code
    Sub mem_countif()
      Dim a(), i&, iCnt&
      a = Array(1, 2, 3, 4, 5)
      iCnt = 0
      For i = 0 To UBound(a, 1)
        iCnt = iCnt - (a(i) > 3)
      Next i
      MsgBox iCnt
    End Sub


    filippo

    Re: Lowering Memory Usage


    cbjorgol,


    it is difficulkt to give any advise, without knowing which data contains and what how your workbook is structured. A possible solution could be to move to a database and use excel as a Front-End.


    Can't you post a reduce version with the major functionality in it?


    filippo