• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Storing extra information in Excel Cells

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Storing extra information in Excel Cells

    I'm working on COM Add-in for Excel.

    This application allows you to type in a nominal account number and then the application goes off and finds details of the account and inserts it into the Spreadsheet.

    This nominal account is set up in a tree structure. So an account may have child accounts or sibling accounts. I need to set it up so that when you right click on an account (or account description for that matter). It gives the option.

    Part of the information inserted into the sheet is the budgetting. So certain columns may store the budget for January, Feb etc. When the user double clicks on this I might want it to Zoom either to the underlying transactions or to a finer grained budget say Month -> Week -> Day -> Individual transactions.

    The problem I have is that to make this work I need some form of meta-data in a cell. Say What it is (Account Number, Budget etc), Record identifier, etc.

    Anybody got an idea how one might store Meta-data in a cell with the sheet itself (rather than in some form of database)

    tools are VS.Net 2005/Excel 2003/7 (yes I'm on the Beta Programme )

    #2
    Originally posted by zathras
    ...tools are VS.Net 2005/Excel 2003/7 (yes I'm on the Beta Programme )
    "I'm sorry Sir, we don't support beta software on this forum. Is there anything else we can interest you in? Have you considered our 0% on balance transfers? Perhaps our 15% discount with Thomas Cook? OK Sir thank you, good bye."
    Last edited by NoddY; 22 February 2006, 17:14.

    Comment


      #3
      Originally posted by NoddY
      "I'm sorry Sir, we don't support beta software on this forum. Is there anything else we can interest you in? Have you considered our 0% on balance transfers? Perhaps our 15% discount with Thomas Cook? OK Sir thank you, good bye."
      Does that mean you don't know then?


      Oh well hows about VS2005 and Excel 2003!

      Comment


        #4
        would the cell comments be of any use ?

        Comment


          #5
          Originally posted by eternalnomad
          would the cell comments be of any use ?
          Might be but is their anything less visible to the user. (or for that matter that can stop the user from trampling their size 10 boots over.

          Comment


            #6
            You can turn off the comment indicator in options. So the comment get applied to the cell but the user does not see it. They would however be able to overwrite the comment though.
            Rule Number 1 - Assuming that you have a valid contract in place always try to get your poo onto your timesheet, provided that the timesheet is valid for your current contract and covers the period of time that you are billing for.

            I preferred version 1!

            Comment


              #7
              Originally posted by TonyEnglish
              You can turn off the comment indicator in options. So the comment get applied to the cell but the user does not see it. They would however be able to overwrite the comment though.
              That's the problem if the application falls over because the user does something that is what I'm trying to avoid.

              The line I've been thinking is using XMLMaps but backwards. Instead of the Map controlling what is in Excel. Excel controls what is in the map. Then when account information is inserted into Excel the map is updated, together with the information missing.

              As MAPS are XML files it might work but

              a) I'm not sure if you can use MAPS this way

              b) How to do it if you can.

              Comment


                #8
                The comments thing might be ok if you can fit what you want in 255 chars. Otherwise, why not use VBA to fetch the additional information you want from a hidden sheet? Nothing special in way of data input needed that way - just update your details sheet and hide it from the user. If the approach sounds of use I could soon come up with up some code for you. (But you mustn't say anything nasty about Fosters again)
                bloggoth

                If everything isn't black and white, I say, 'Why the hell not?'
                John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

                Comment


                  #9
                  "You can turn off the comment indicator in options. So the comment get applied to the cell but the user does not see it. They would however be able to overwrite the comment though."

                  Comments seem a good bet to me without having to rely on loading data into memory arrays, holding elsewhere etc.


                  Even if they turn comments off and cannot see the metadata, your drill down function can still pick it up(assuming you;ve coded it). In addition, locking down the cells if will stop them editing the data.

                  If you are using code, lock the comments down programatically
                  What happens in General, stays in General.
                  You know what they say about assumptions!

                  Comment


                    #10
                    sounds like a case for dr. net

                    Comment

                    Working...
                    X