First let me explain your questions
Is there more pre-defined functions in accordance with special cells?
Yes SpecialCElls is a predefined method - There are many type of special cells, like the cells that have formula, cells that have comments etc. Excel Identifies this and returns a range (where they are found) in this method
Is 'xl' another specific excel vba code syntax?
And is CellTypeLastCell contained within that syntax?
The xl prefix is for easy use. Usually there are many constants that are used as input for the specialcells method - The compiler recognizes this by enumerated numbers (0,1,2..). But for the benefit of programmers they are denoted by constants like the following
xlCellTypeAllFormatConditions
xlCellTypeAllValidation
xlCellTypeBlanks
xlCellTypeComments
xlCellTypeConstants
xlCellTypeFormulas
xlCellTypeLastCell
xlCellTypeSameFormatConditions
xlCellTypeSameValidation
xlCellTypeVisible
Now you need not worry if you need to use 3 or 6 or 0 for getting the last cell isn't it .. you will use xlCellTypeLastCell .. simple right!
Here is the VBA Reference that might be useful to you (
http://www.microsoft.com/downloads/d...displaylang=en)
Also browse msdn.microsoft.com for getting more updates on Excel VBA
Welcome to VBA:)
Cheers
Shasur
http://www.dotnetdud.blogspot.com
VBA Tips & Tricks (
http://www.vbadud.blogspot.com)