Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How Do I Create an Excel 2007 Workbook Programatically

I am writing a tool in VStudio 2005 which needs to generate an Excel 2007
workbook programatically. I have done this many times in the past with
previous versions of Excel without problems. However, with the Excel 12
object library when I attempt to instantiate the Excel.Application object, a
System.UnauthorizedAccessException is thrown and the error 80070005 is
reported.
What is the trick to doing this?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you create a task from an excel 2007 workbook? VMeyer Excel Discussion (Misc queries) 0 December 22nd 08 08:40 PM
create copy of sheet tab (excel 2007) when opening workbook jatman Excel Worksheet Functions 1 February 29th 08 12:26 PM
programatically retrieve selected rows from excel workbook talktobatchu Excel Programming 0 June 1st 05 10:15 PM
Mapland Excel Addin - Programatically Create 1000 distinct maps Rich Cooper[_4_] Excel Programming 1 July 27th 04 06:07 AM
Excel crashing when (programatically) adding past the 360th worksheet to a workbook Scott Lyon Excel Programming 2 August 14th 03 12:34 PM


All times are GMT +1. The time now is 07:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"