June 18th, 2004, 7:33 pm
Walkenbach's book is quite good, if wordy. (That's probably not a disadvantage for an absolute beginner, though.)Once you have a little more experience, get a copy of "VB & VBA in a Nutshell", by Paul Lomax (one of O'Reilly's outstanding 'Nutshell' series of programming handbooks). VBA has a lot of little quirks, and the on-line help is cumbersome for looking up syntax and function usage - it is a lot quicker to just pull the Nutshell book off your shelf and flip through the alphabetical reference section. The general chapters in the front are very good also - concise and accurate.Always remember to use the Excel macro recorder. The code it produces usually won't be very elegant, but it is great for identifying which properties and methods to use - Excel's object model is pretty enormous.