Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Book Recommendation??

Hello Everyone,

Is there a good book on the market that would explain all the commands and
codes for VBA such as:

Selection.NumberFormat = "General"
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Names.Add Name:="Calendar", RefersTo:="=" &
Range("A1").CurrentRegion.Address
Range("A2").Select

It would probably help me out a lot more by looking it up then by relying on
all your good help.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Book Recommendation??

VBA help is an excellent reference for the individual merits of each
property. Highlight the word, Press F1. I do it all the time.

Start by printing the Excel Object Model page (again in VBA help)
Stick it on the wall near your PC. It's a fantastic roadmap.

ALWAYS have the "Locals" window in VBE visible & locate the F9 button,
which sets breakpoints. This allows you to run your code and SEE what
your variables are and which values they have on a particular line in
your code.


Then goto Amazon and order

Walkenbach's Excel Power Programming
AND
Bovey's VBA Programmer's Reference.


Learn:
Variables & Scope.
String Manipulation
Range referencing.

Go back to page 1 and do it again until you TRULY understand those
fundamentals. (it will save you lot's of time later)


If you feel curious... Open the object browser and spend a 15 minutes
every day just browsing.. you'll need to do that for 1 year at least.

I can still do it and find new things :)


Enjoy!



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Michael Vaughan" wrote:

Hello Everyone,

Is there a good book on the market that would explain all the commands
and codes for VBA such as:

Selection.NumberFormat = "General"
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Names.Add Name:="Calendar", RefersTo:="=" &
Range("A1").CurrentRegion.Address
Range("A2").Select

It would probably help me out a lot more by looking it up then by
relying on all your good help.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
suggestion or recommendation for a good Excel reference book Brad[_5_] New Users to Excel 4 June 23rd 09 03:32 PM
Book recommendation Bob[_13_] New Users to Excel 3 January 15th 08 01:32 AM
Book Recommendation spartanmba Excel Discussion (Misc queries) 1 February 10th 05 12:11 AM
Excel programming book recommendation Fernando Ronci Excel Programming 1 January 29th 04 06:22 PM
Excel VBA programming book recommendation? John Excel Programming 1 October 6th 03 02:56 PM


All times are GMT +1. The time now is 11:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"