Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting the Column Name from Excel
Message
 
To
28/04/2004 12:13:12
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00898943
Message ID:
00899071
Views:
17
Sorry, still not clear, extract the column name in reference to what?
Anyway you can add to your VBA macro code something like this:
    lstr = Mid(Range("AE1").Address(), 2)
    Ln = InStr(1, lstr, "$")       
    MsgBox (Left(lstr, Ln - 1))
*displays AE
>I would like to extract the column name through a VB macro, to do some calculations, hence I require VB code for the same. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform