471,852 Members | 815 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,852 software developers and data experts.

make excel column become color with constraint

102 100+
hi ... i manage to export my data into excel ..

if i wan to allow excel user to access the the link i put .. how can i do that ..?

[PHP]<%
Function Export()
Dim strOutput

Set FSObj=Server.CreateObject("Scripting.FileSystemObj ect")
Set FolderObj = FSObj.GetFolder ("C:\Inetpub\wwwroot\CLS1\FA\Uploads")

strOutput = Chr(13) & Chr(10) &rsFiltered.Fields("PartNumber")& "," &rsFiltered.Fields("Requestor")& ","
"<u><a href='C:\Inetpub\wwwroot\CLS1\FA\Uploads\"&rsFilte red.Fields("FileName")&"'></a></u>"

WriteToFile CSVName, strOutput, True

End Function
%>[/PHP]

i wan that FileName to become a link after i export to excel... thanks


also.. if let say the grade <40
how do i make the excel become red color
Aug 6 '07 #1
1 1313
jhardman
3,406 Expert 2GB
<u><a href='C:\Inetpub\wwwroot\CLS1\FA\Uploads\"&rsFilte red.Fields("FileName")&"'></a></u>"
href needs to have a virtual file path, you probably need to start with \CLS1 or \FA or \Uploads
Aug 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by me | last post: by
2 posts views Thread by James Knowlton | last post: by
4 posts views Thread by Peter Scott | last post: by
2 posts views Thread by Colin Graham | last post: by
2 posts views Thread by RamaKrishna Narla | last post: by
3 posts views Thread by herman404 | last post: by
2 posts views Thread by Meaney | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.