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:
01515863
Views:
58
oExcel.ActiveSheet.Range(lcEndColumn).NumberFormat="$###,###";($###.###)"
>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="$###,###";($###.###)"
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform