469,332 Members | 4,593 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

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 1244
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.