Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO from VFP Doesn't Produce Hyperlinks in Excel
Message
From
01/04/2005 15:44:46
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Excel
Title:
COPY TO from VFP Doesn't Produce Hyperlinks in Excel
Miscellaneous
Thread ID:
01000836
Message ID:
01000836
Views:
84
I just tried dumping a SQL SELECT cursor to Excel where I added a column with a URL like so:
SELECT Vis_PK, Vis_Status, Vis_Start_Date, Vis_Intrastate, Opr_Short_Name, ;
    PADR("http://myDomain.com/xdb/Vis" + TRANSFORM(Vis_PK) + ".xdb", 60) AS URL ;
 FROM visit JOIN operator ON vis_opr_fk = opr_pk ;
 WHERE vis_comprehensive = .T. and ;
  Vis_Type = "Inspection" and ;
  Vis_Status IN ("Completed", "Finalized") AND ;
  vis_inactive = .f. and opr_inactive = .f. ;
ORDER BY vis_Intrastate, vis_start_date

COPY TO "completed_inspection_list.xls" TYPE xls
I found it interesting that the URL column did not display in blue or become clickable in Excel. If I edit one of the values, or manually type something that "looks like a URI" it does. Is there a secret to convincing Excel to treat that column as hyperlinks?

Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform