We'd like to remind Forumites to please avoid political debate on the Forum. This is to keep it a safe and useful space for MoneySaving discussions. Threads that are - or become - political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

VBA book recommendations

Can anyone recommend a good book (or possibly website, but no videos) for VBA Excel 2007? I've had a look at a few on Amazon but it's not clear if any of them cover what I need. While I'm fairly sure I can find something to tell me how to select data from a worksheet based on a set of criteria input by the user, what I'm struggling to find is anything that tells me how I then use that data to create a chart, which is the end result that I want. I've done a lot of coding in my time, but it's been mainly of the Cobol/CICS/DB2 variety, and I'm a novice at VBA.

Comments

  • Not a book suggestion - but when I need to hack VBA together, i use the macro tool to record what I want to do, then examine the VBA it wrote and pull it apart for my needs
  • agrinnall
    agrinnall Posts: 23,344 Forumite
    10,000 Posts Combo Breaker
    Good suggestion, I'll give that a try.
  • paddyrg
    paddyrg Posts: 13,543 Forumite
    Depends what you need to know, really. I'd check out secondhand though as it is so out of date no point in buying new books at the silly prices they charge!

    Basically all the API's and object models are on msdn (microsoft developer network site). Easiest way is to record the macro doing what you want, then hack about at the code using the object models to make constants variables, etc. VBA has a pretty simple IDE so you'll be up and running before you know it.
  • rmg1
    rmg1 Posts: 3,148 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    You can also check out this site:-
    http://www.mrexcel.com/forum/excel-questions/

    There are some very clever people on there who will take the time to help you providing you give them all the info.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 349K Banking & Borrowing
  • 252.4K Reduce Debt & Boost Income
  • 452.7K Spending & Discounts
  • 242K Work, Benefits & Business
  • 618.6K Mortgages, Homes & Bills
  • 176.1K Life & Family
  • 255K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 15.1K Coronavirus Support Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.