﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Chad Miller / Article Discussions / Article Discussions by Author  / Use SQL-DMO and Excel to Quickly Create Reports for Auditors / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 20 Mar 2010 10:33:16 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>This is an older article I wrote. The underlying code relies on SQL-DMO which is installed with SQL Server 2000 Client Tools. I suspect you may not have SQL-DMO installed on the machine from which you are running. You can test by attempting to create a DMO object. Save the following text as a vbs file:Set oServer = CreateObject("SQLDMO.SQLServer") Next execute cscript.exe c:\pathtoyourfile.vbsIf no errors you have DMO installed. One other thought -- Excel macro behavior has changed in Excel 2007, be sure you're able to execute macros.</description><pubDate>Thu, 18 Feb 2010 17:28:31 GMT</pubDate><dc:creator>cmille19</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>I get a "Run-Time Error '429': ActiveX component can't create object" error when I "Select Server".  Can you please tell me why that would happen?</description><pubDate>Thu, 18 Feb 2010 07:04:27 GMT</pubDate><dc:creator>FriedIzLee</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>This was a great article!  Only problem is that I get a page saying "Search for any content tagged Miscellaneous &amp; usesqldmoandexceltoquicklycreatereportsforauditors &amp; 2064 &amp; SQLDMO_Macros.xls" and "Sorry, nothing found for this search" when I try to download the spreadsheet.  I am anxious to take a look at the spreadsheet and actually provide some much needed reporting to management.</description><pubDate>Wed, 23 Apr 2008 13:13:12 GMT</pubDate><dc:creator>Tim Edwards-235208</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>The example you provided is great. One comment though- the same goal can be achieved without any development efforts by running simple SQL queries on all databases and servers in parallel and returning aggregated results from all queried databases, by using tools such as SQL Farm Combine.The SQL-DMO code is good, however it runs serially and it can take quite some time for results to return, especially if you extend the example to return larger result sets, or retrieve data from a large number of databases and servers.</description><pubDate>Sat, 03 Dec 2005 17:16:00 GMT</pubDate><dc:creator>Omri Bahat-228920</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>&lt;P&gt;DOH! &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks &lt;SPAN class=smalltxt id=Userinfo1_userFullName&gt;cmille19&lt;/SPAN&gt;, should have actualy used my brain on this. Working like a charm now.&lt;/P&gt;</description><pubDate>Thu, 06 Oct 2005 16:08:00 GMT</pubDate><dc:creator>andrewkane17</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>&lt;P&gt;Have you followed the instructions on the helptab of the worksheet? The config tab contains the following entries in column A, all of which need to be deleted (including List your SQL Server HERE) and replaced with the SQL Server names in you environment:&lt;/P&gt;&lt;P&gt;&lt;TABLE style="WIDTH: 135pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=180 border=0 x:str&gt;&lt;COLGROUP&gt;&lt;COL style="WIDTH: 135pt; mso-width-source: userset; mso-width-alt: 6582" width=180&gt;&lt;TBODY&gt;&lt;TR style="HEIGHT: 12.75pt" height=17&gt;&lt;TD class=xl22 style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 135pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" width=180 height=17&gt;&lt;STRONG&gt;&lt;FONT face=Arial size=2&gt;List your SQL Server HERE&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="HEIGHT: 12.75pt" height=17&gt;&lt;TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17&gt;&lt;FONT face=Arial size=2&gt;SQLPRD1&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="HEIGHT: 12.75pt" height=17&gt;&lt;TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17&gt;&lt;FONT face=Arial size=2&gt;SQLPRD2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="HEIGHT: 12.75pt" height=17&gt;&lt;TD style="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; BORDER-BOTTOM: #d4d0c8; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent" height=17&gt;&lt;FONT face=Arial size=2&gt;SQLPRD3&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;P&gt;The VBA code loops through the list of server specified in on the config tab column A (Column A is a named Excel Range "Server").&lt;/P&gt;</description><pubDate>Thu, 06 Oct 2005 15:43:00 GMT</pubDate><dc:creator>cmille19</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>I am having message server does not exist. Any tips on what I am doing wrong would be appreciated.</description><pubDate>Thu, 06 Oct 2005 14:46:00 GMT</pubDate><dc:creator>andrewkane17</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>i keep getting a server doesnt exist or access denied error.  I triple checked the server name and verified my nt account has SA privs.  Maybe im doing something wrong.</description><pubDate>Thu, 06 Oct 2005 09:54:00 GMT</pubDate><dc:creator>John-79567</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>&lt;P&gt;Simple and elegant.&lt;/P&gt;&lt;P&gt;This one worked for me straigt from the 'box'.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt;&lt;/P&gt;</description><pubDate>Tue, 04 Oct 2005 19:17:00 GMT</pubDate><dc:creator>ipTomN</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>&lt;P&gt;Incredibly powerful! Thank you for the great example. Awesome stuff!&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description><pubDate>Tue, 04 Oct 2005 08:06:00 GMT</pubDate><dc:creator>Kevin Jones</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>&lt;P&gt;Very good concept, but unfortunately as always, I can never get VBA script to work :-(&lt;/P&gt;&lt;P&gt;When I have time, I may try to do the same thing using .NET, C# and Office Interop Libraries.&lt;/P&gt;&lt;P&gt;Alastair&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Tue, 04 Oct 2005 03:30:00 GMT</pubDate><dc:creator>Alastair Browne</dc:creator></item><item><title>RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>&lt;P&gt;Excellent!&lt;/P&gt;&lt;P&gt;First time I see an easy to understand and very useful SQL DMO example.&lt;/P&gt;&lt;P&gt;Congratulations,&lt;/P&gt;&lt;P&gt;Geert&lt;/P&gt;</description><pubDate>Tue, 04 Oct 2005 01:25:00 GMT</pubDate><dc:creator>SeekQuel</dc:creator></item><item><title>Use SQL-DMO and Excel to Quickly Create Reports for Auditors</title><link>http://www.sqlservercentral.com/Forums/Topic215142-106-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/cmiller/usesqldmoandexceltoquicklycreatereportsforauditors.asp"&gt;http://www.sqlservercentral.com/columnists/cmiller/usesqldmoandexceltoquicklycreatereportsforauditors.asp&lt;/A&gt;</description><pubDate>Mon, 29 Aug 2005 20:57:00 GMT</pubDate><dc:creator>cmille19</dc:creator></item></channel></rss>