Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting the Column Name from Excel
Message
From
29/04/2004 00:14:20
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00898943
Message ID:
00899209
Views:
18
Dear Yuri,

Thanks very much for your code. It works just fine !

The job was to take out the address of an active cell, find out it's column, and then do a calculation on the entire column. By using 'ActiveCell' in your code, I've got the desired result.
lstr = mid(ActiveCell.Address(), 2)
Ln = InStr(1, lstr, "$")
MsgBox (Left(lstr, Ln - 1))
Thanks again !

Regards,

Steve.
Previous
Reply
Map
View

Click here to load this message in the networking platform