Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default add-in, data in Add-in file (woorksheet)

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default add-in, data in Add-in file (woorksheet)

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" wrote in message
...
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default add-in, data in Add-in file (woorksheet)

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
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
Formula text in woorksheet cell mexmex Excel Discussion (Misc queries) 2 October 10th 09 02:43 PM
Woorksheet locked on active cell ESD Excel Worksheet Functions 1 March 18th 05 02:22 PM
RS232 to Excel woorksheet Franz Excel Programming 4 February 21st 05 06:34 PM
How do I delete Rows from my woorksheet? Leslie Excel Worksheet Functions 8 December 15th 04 05:33 PM
Search for existing values in woorksheet!? Daniel[_10_] Excel Programming 4 May 4th 04 12:02 PM


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

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"