Cats_small
Reputation: 891

Did you teach yourself VBA & Macros?

Did you use a helpful website? I would like to know about it :)

I'm unemployed so I have a lot of time on my hands these days. I'd like to make my own kick ass spread sheets to give me something to do. I'm also playing accountant with my personal finances.

Answer this question or share it with a smart friend:

Avatar_default
Type your answer here…

2 Answers

  • Skull_pumpkin_small
    Reputation: 1610

    Not exactly, but I taught myself both PowerShell and VBScript from books and supplemented with some websites. Offhand, I remember two. I spent a lot of time on 4guysfromrolla.com when learning VBScript, and I think they also cover VBA. The Microsoft Script Center website (I liked the "Hey, Scripting Guy!" column) is also good and has VBA content. I would start with Script Center and go onto 4guys when you're a little more experienced.

    If you haven't taught yourself a programming language before, the best advice I can give is to give yourself specific things you want to do--start simple--and study the code samples until you really understand what you're doing.

    Share this answer with a friend:
  • Ozomahtli_small
    Reputation: 2397

    One way to get started with VBA and macros is to just use the Record Macro feature in Excel. Start recording and then copy/paste a range of cells, add some formulas, etc. Then, see what the self-generated code looks like.

    That will give you an idea of the structure and syntax of VBA. It didn't take me long before my code was much better than the self-generated code, but this will point you in the right direction. Once you have an idea of what you want to do, the various Help tools that come with Excel are indeed helpful.

    One caveat: I did all of this in Excel 2003. I was a bit lost when 2007 came out.

    Share this answer with a friend: