PC Review


Reply
Thread Tools Rate Thread

add-in, data in Add-in file (woorksheet)

 
 
=?Utf-8?B?SmVhbi1NYXJj?=
Guest
Posts: n/a
 
      3rd Oct 2007
When you design and add-in, what is the best best process of developing and
add-in
that contain data in the worksheet of the *.xla file.

Questions 1
During the development of the Add-in, do I need to keep a copy of the add-in
in .XLS format or can I write code that will display the data in in .XLA
worksheet in order to modifiy the data unitl I complete the development.

Question 2
How to display the worksheet of an .XLA that contains data.

--
picasso
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      3rd Oct 2007
> During the development of the Add-in, do I need to keep a copy of the
> add-in
> in .XLS format or can I write code that will display the data in in .XLA
> worksheet in order to modifiy the data unitl I complete the development.


You can work directly in the XLA. There is no need to keep an XLS version.
In fact, that would only add to confusion.

> How to display the worksheet of an .XLA that contains data.


You don't. XLA's are hidden and you cannot (or should not not) display
anything from the XLA.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Jean-Marc" <(E-Mail Removed)> wrote in message
news:6001D236-A388-43ED-9312-(E-Mail Removed)...
> When you design and add-in, what is the best best process of developing
> and
> add-in
> that contain data in the worksheet of the *.xla file.
>
> Questions 1
> During the development of the Add-in, do I need to keep a copy of the
> add-in
> in .XLS format or can I write code that will display the data in in .XLA
> worksheet in order to modifiy the data unitl I complete the development.
>
> Question 2
> How to display the worksheet of an .XLA that contains data.
>
> --
> picasso


 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      3rd Oct 2007
Let me clarify Chip's response.

>> How to display the worksheet of an .XLA that contains data.

>
> You don't. XLA's are hidden and you cannot (or should not not) display
> anything from the XLA.


You never ever want to expose the sheets of the add-in to the user (i.e., at
run time).

If you need to manipulate the data (at design time), select the ThisWorkbook
object under the add-in's VB Project, and in the Properties pane, change
IsAddIn to False. This makes the workbook visible, so you can manipulate it.
Change IsAddIn back to True when finished.

In general it is a more robust, more flexible, easier to maintain approach
to keep the data sheet in a workbook separate from the add-in.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



 
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
Exporting images from an Excel woorksheet pierreg06 Microsoft Excel Programming 2 4th Sep 2009 07:50 PM
Woorksheet locked on active cell =?Utf-8?B?RVNE?= Microsoft Excel Worksheet Functions 1 18th Mar 2005 02:22 PM
RS232 to Excel woorksheet Franz Microsoft Excel Programming 3 21st Feb 2005 06:34 PM
How do I delete Rows from my woorksheet? =?Utf-8?B?TGVzbGll?= Microsoft Excel Worksheet Functions 8 15th Dec 2004 05:33 PM
Button On Userform To Activate Woorksheet Mathew Microsoft Excel Misc 3 25th Mar 2004 07:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:42 PM.