Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel - Last cell used
Message
 
To
12/05/2005 12:22:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01013459
Message ID:
01013502
Views:
9
It gives the address of a cell. Just format its return as you wish:

?ObjExcel.ActiveSheet.Range("A1").SpecialCells(11).Address(.f.,.f.,-4150)
?ObjExcel.ActiveSheet.Range("A1").SpecialCells(11).Address()
?ObjExcel.ActiveSheet.Range("A1").SpecialCells(11).Address(.f.,.f.)
.....

See more on address property in VBA for Excel Help.



>That seem to work great. Thanks a lot
>
>Not sure how it works though
>.Range("A1").SpecialCells(xlLastCell).Address(.f.,.f.,xlR1C1)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform