• 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!

I wish I knew VBA!!

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

    #11
    Originally posted by DimPrawn View Post
    Now the client has 14m 45s in which to spend thinking about how to save the company money by shedding more staff.

    Well done.

    Not really - because

    1 - often a mistake was spotted after the update had been done and had to be rectified meaning another 15 min delay. Even opening the sheet with the calculation on would cause a 15 min wait while Excel checked that the values hadn't changed
    2 - often they would forget to switch the calculation on again which ment subsequent spreadsheets were saved with the calculation off.
    3 - my solution was simple and easily auditable. The developer solution was not. There was no visability as to where the data had come from.

    But then I'm not a proper developer!
    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


      #12
      Originally posted by TonyEnglish View Post
      Not really - because

      1 - often a mistake was spotted after the update had been done and had to be rectified meaning another 15 min delay. Even opening the sheet with the calculation on would cause a 15 min wait while Excel checked that the values hadn't changed
      2 - often they would forget to switch the calculation on again which ment subsequent spreadsheets were saved with the calculation off.
      3 - my solution was simple and easily auditable. The developer solution was not. There was no visability as to where the data had come from.

      But then I'm not a proper developer!
      I'm just guessing wildly here, so please bear with me, but perhaps this is not an ACID transaction anymore and you're working on locally cached copies of values stored in the DB which will yield the same results 99% of the sime, but just sometimes it will just be wrong?

      Comment


        #13
        Originally posted by lilelvis2000 View Post
        Ummm...errr..I do a lot of VBA and it is anything BUT complex.
        Sure it can get a bit confusing in Excel with looping over ranges, but nothing a good programmer can't figure out.
        Easiest way to learn is to record a macro.then look at the code. . Then just go in and modify the bits you need. Heck! I build some of my code that way..saves a lot of time.

        Is this not a technical discussion and is sitting in the wrong forum?
        It doesn't matter (generally) what language the code is written in...if the developer doesn't have any logic skills then they'll write crap code all day long.

        Comment


          #14
          Yeh, VBA is generally about as easy as it gets. I tend to do every little utility in Excel/VBA, compare files, bulk file rename, file backup, check the lottery, read old mail archives, alarm system to tell me when The Simpsons is on...

          In professional use it's not bad for testing either when the client does not have proper testing software. All the scripts/HTML files I use in small business software are generated from excel. Have demo progs in excel we use at shows that display screen shots from programs.
          Last edited by xoggoth; 28 July 2009, 08:33.
          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

          Working...
          X