Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using variables to give Column Reference in EXCEL
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01515862
Message ID:
01515868
Views:
47
>Although you can determine the last row and column and get the ALPHA character for the COLUMN and the numeric ROW, how do you use a memory variable with the RANGE property, such as lcColumn that might contain the letter "G" as the Column, for an example.
>
>
>lcEndColumn = "G"
>
>oExcel.ActiveSheet.Range("A1:G200").NumberFormat="$###,###";($###.###)"
>
Why bother with the letters and numbers? You can address everything in Excel using row and column numbers.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform