Createobject Excel.application Error
Contents |
360 games PC games runtime error 429 activex component can't create object excel Windows games Windows phone games Entertainment All Entertainment
Activex Component Can't Create Object Excel 2013
Movies & TV Music Business & Education Business Students & educators error 429 activex windows 7 Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet
Runtime Error 429 Vb6
Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All runtime error 429 activex component can't create object windows xp Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 06 Oct 2016 07:16:45 GMT by s_hv902 (squid/3.5.20)
Recent PostsRecent Posts Popular http://www.sqlservercentral.com/Forums/Topic208483-19-1.aspx TopicsPopular Topics Home Search Members Calendar Who's On Home » Data Warehousing » Data Transformation Services (DTS) » ActiveX component can''t create object:... ActiveX component http://stackoverflow.com/questions/16080973/vbs-on-excel-starter-2010-activex-component-cant-create-object-excel-applicati can''t create object: ''Excel.Application'' Rate Topic Display Mode Topic Options Author Message JN-161845JN-161845 Posted Monday, August 8, 2005 2:48 PM SSC-Enthusiastic Group: General Forum error 429 Members Last Login: Sunday, May 10, 2009 5:16 PM Points: 150, Visits: 26 Hello,I have a DTS that calls an existing Excel workbook on a network then clears its contents and inserts data from a SQL Script in the DTS. When I try to run the DTS from enterprise activex component can't manager, I get an error that workbook.xls already exist do you want to replace it? So I say yes and it runs. But the same DTS when run through a scheduled SQL Job gives this error:ActiveX component can't create object: 'Excel.Application' I imagine it's because Automation can't prompt the user for input to see if existing application can be replaced. This is my guess, would like to know if I am correct? Do I need to delete the Excel workbook completely each time I run this DTS so it creates a new one each time? Following is my script and this is running on SQL Server 7:'**********************************************************************' Visual Basic ActiveX Script'************************************************************************Function Main()Dim Excel_Application Dim Excel_WorkBook Dim Excel_WorkSheetDim sFilenameDim sSheetNamesFilename = "\\myhared\ftp\files\workbook.xls"sSheetName = "Sheet1"Set Excel_Application = CreateObject("Excel.Application")' Open the workbook specifiedSet Excel_WorkBook = Excel_Application.Workbooks.Open(sFilename)Excel_WorkBook.Worksheets(1).Activate'Excel_WorkBook.Worksheets(1).Range("A2", "T59999").ClearContentsSet objrange = Excel_WorkBook.Worksheets(1).Range("2:59999")objrange.EntireRow.DeleteExcel_WorkBook.SaveExcel_WorkBook.CloseExcel_Application.QuitSet Excel_Application = NothingSet Excel_WorkBook = NothingSet Excel_WorkSheet = NothingMain
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Vbs on Excel Starter 2010: activex component can't create object Excel.Application up vote 1 down vote favorite I have a new pc with Windows 7 and Office Starter 2010 pre-installed. If I launch the following simple vb script (from command line: cscript testScript.vbs): Dim xlApp Set xlApp = CreateObject("Excel.application") xlApp.visible = True Set xlWorkbooks = xlApp.Workbooks Set xlWorkbook = xlWorkbooks.Open("C:\path\myFile.xls") xlWorkbook.ActiveSheet.Rows("1:2").AutoFit xlApp.visible = False xlWorkbook.Save xlWorkbook.Close("C:\path\myFile.xls") xlApp.Quit Set xlApp = Nothing it returns this error: activex component can't create object 'Excel.Application'. I don't understand if the error is due to Starter limitations (http://office.microsoft.com/en-us/starter-help/excel-features-that-are-not-fully-supported-in-excel-starter-HA010374501.aspx), and I found dissenting opinions on the web. Is there a way to make it works using Office Starter version? excel vbscript share|improve this question asked Apr 18 '13 at 10:51 m2fro 1113 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Despite this is already very aged question, I haved decided to post the following information only to help other googlers. Since you are trying to create an instance of Excel.Application outside VBA, there's a good chance of being succeeded if you install an updated version of Microsoft Excel Viewer on target machine. Thi