PC Review


Reply
Thread Tools Rate Thread

how to access or export the names that defined in excel?

 
 
=?Utf-8?B?bWFyeGk=?=
Guest
Posts: n/a
 
      2nd Feb 2007
as the title of question, I would like to export some properties of excel
such as font size ,sheet name and so on into a table of database, especially
the names defined in excel , which can respective a cell value or a cell .
any helpl will be veryvery appriciated!
--
marxi
 
Reply With Quote
 
 
 
 
rowe_newsgroups
Guest
Posts: n/a
 
      2nd Feb 2007
On Feb 1, 9:34 pm, marxi <m...@discussions.microsoft.com> wrote:
> as the title of question, I would like to export some properties of excel
> such as font size ,sheet name and so on into a table of database, especially
> the names defined in excel , which can respective a cell value or a cell .
> any helpl will be veryvery appriciated!
> --
> marxi


Most of this can be accomplished by adding the excel object library
11.0/12.0 reference to your project, and using it's members. Or if you
want you could save the excel doc as an XML file (it's listed as a
type on the Save As dialog) and then parse that xml file to get the
values. If you use the first method be sure you properly release the
references to excel so you don't end up with a memory leak in your
app. The second option is nice if you can use it, as you don't need to
worry about COM, and I don't think you even need excel on the computer
that does the parsing.

Perhaps if we knew why you doing this we could offer more insight?

Thanks,

Seth Rowe

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export data from one Access DB to another user defined Access DB gagecres Microsoft Access External Data 0 27th Apr 2010 09:23 PM
Help! Names defined in Excel 2003 invalid in Excel 2007 Bob Berens Microsoft Excel Misc 3 11th Jul 2009 12:50 AM
Can I export from Access to Excel using field names not captions? Penny Green Microsoft Access External Data 0 5th May 2009 04:34 PM
How to use c# to access the names that defined in excels? =?Utf-8?B?bWFyeGk=?= Microsoft Dot NET Framework Forms 3 3rd Feb 2007 04:35 AM
how to get the names that defined in excel? =?Utf-8?B?bWFyeGk=?= Microsoft Excel Discussion 5 2nd Feb 2007 10:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:01 PM.