dbTalk Databases Forums  

DTS: Formatting excel within ActiveX scripts

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS: Formatting excel within ActiveX scripts in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ngorbunov via SQLMonster.com
 
Posts: n/a

Default DTS: Formatting excel within ActiveX scripts - 04-05-2006 , 02:36 PM






I am creating an excel report from within a DTS package using the ActiveX
script.

I have an excel file that contains column names across the top (A1:AB1). -- I
would like these to be bold.

Then from A2:wherever the data ends I would like to have different color
background on the alternating rows (if A2:AB2 is white, I'd like A3:AB3 to be
grey, and so on)

Does anyone have any code for this?
Thanks,
Ninel

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200604/1

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS: Formatting excel within ActiveX scripts - 04-05-2006 , 02:44 PM






Hello ngorbunov via SQLMonster.com,

This really isn't a job for DTS. I would have a macro in Excel handle this
as it is a UI thing and not really a data task.

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
I am creating an excel report from within a DTS package using the
ActiveX script.

I have an excel file that contains column names across the top
(A1:AB1). -- I would like these to be bold.

Then from A2:wherever the data ends I would like to have different
color background on the alternating rows (if A2:AB2 is white, I'd like
A3:AB3 to be grey, and so on)

Does anyone have any code for this?
Thanks,
Ninel



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.