ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   xllastcell vs xlcelltypelastcell (https://www.excelbanter.com/excel-programming/306498-xllastcell-vs-xlcelltypelastcell.html)

Paul Lautman

xllastcell vs xlcelltypelastcell
 
Occationally when I record a macro, Excel inserts .specialcells(xllastcell).

However, I cannot find this value documented anywhere. The nearest that the
MS documentation gets is xlcelltypelastcell.

Is there a difference between these two?

If so, where do I find xllastcell documented?

TIA



Jim Rech

xllastcell vs xlcelltypelastcell
 
Both constants evaluate to 11. In Excel 97 MS gave new names to many of
Excel's defined constants but they had to continue to support the older
names for compatibility reasons.

--
Jim Rech
Excel MVP
"Paul Lautman" wrote in message
...
| Occationally when I record a macro, Excel inserts
..specialcells(xllastcell).
|
| However, I cannot find this value documented anywhere. The nearest that
the
| MS documentation gets is xlcelltypelastcell.
|
| Is there a difference between these two?
|
| If so, where do I find xllastcell documented?
|
| TIA
|
|



Paul Lautman

xllastcell vs xlcelltypelastcell
 
Thanks Jim, so which are the newer names?

The documentation only lists xlcelltypelastcell, but the macro recorder
inserts xllastcell?

"Jim Rech" wrote in message
...
Both constants evaluate to 11. In Excel 97 MS gave new names to many of
Excel's defined constants but they had to continue to support the older
names for compatibility reasons.

--
Jim Rech
Excel MVP
"Paul Lautman" wrote in message
...
| Occationally when I record a macro, Excel inserts
.specialcells(xllastcell).
|
| However, I cannot find this value documented anywhere. The nearest that
the
| MS documentation gets is xlcelltypelastcell.
|
| Is there a difference between these two?
|
| If so, where do I find xllastcell documented?
|
| TIA
|
|





Tom Ogilvy

xllastcell vs xlcelltypelastcell
 
the one listed is the newer name.

--
Regards,
tom Ogilvy

"Paul Lautman" wrote in message
...
Thanks Jim, so which are the newer names?

The documentation only lists xlcelltypelastcell, but the macro recorder
inserts xllastcell?

"Jim Rech" wrote in message
...
Both constants evaluate to 11. In Excel 97 MS gave new names to many of
Excel's defined constants but they had to continue to support the older
names for compatibility reasons.

--
Jim Rech
Excel MVP
"Paul Lautman" wrote in message
...
| Occationally when I record a macro, Excel inserts
.specialcells(xllastcell).
|
| However, I cannot find this value documented anywhere. The nearest

that
the
| MS documentation gets is xlcelltypelastcell.
|
| Is there a difference between these two?
|
| If so, where do I find xllastcell documented?
|
| TIA
|
|








All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com