Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2006, 04:04 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Export to Excel Formatting/Hyperlink

I have created a DTS package that generates an Excel spreadsheet. I wanted to do some additional formatting of the spreadsheet after the data transfer, so I wrote some vbscript to open the file and do the formatting. Worked great. Then ran into the problem where the package ran ok locally, but not scheduled. Well, it ran ok, but didn't do the additional formatting because Excel is not installed on the sql server (and I most likely won't be able to have it installed). To get around most of my formatting issues, I went the route of having a template file that is pre-formatted how I want it and just copy it and then export the info to the new file. I can live with the formatting this way, but one column of data I would like to be a hyperlink. My problem is that the export puts that annoying ' format thing in front of text, so I can't send a formula (like =HYPERLINK...) SO...does anyone know how I can do this? It's actually a tracking number that I'm sending embedded in the url, and I want the trackig number to display, and clicking on it takes you to the website.





Similar Threads
Thread Thread Starter Forum Replies Last Post
export data grid hyperlink column to excel phyzie VS.NET 2002/2003 0 April 16th, 2007 01:45 AM
EXPORT DATAGRID TO EXCEL FORMATTING PROBLEM akshay144 VS.NET 2002/2003 2 October 31st, 2006 01:10 PM
Help with formatting an excel spreadsheet lushh Access 0 October 1st, 2006 10:48 PM
ASP to Excel - excel output formatting issue mat41 Classic ASP Professional 0 August 13th, 2006 06:41 AM
Hyperlink and Pargraph formatting pas07920 XSLT 4 July 12th, 2003 07:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.