LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 783
Default Add worksheet to workbook of calling procedure

Tim Zych wrote:
You lost me when you said:

"planes orthogonal to the xy-plane"

OK--planes perpendicular to the xy-plane

Wow. For me

Worksheets.Add
or
ActiveWorkbook.Worksheets.Add

add new sheet(s) to the active workbook, and never to the Addin.xla,
assuming the addin has the IsAddin property set to True or is hidden.
ThisWorkbook.Worksheets.Add adds the sheets only to the Addin.xla. Just to
confirm, you have different results?


No, I don't (although I said 3 times that I do!). Turns out that prior
to running the calling Sub I had manually activated the worksheet in the
Add-In and never reactivated a worksheet in my testing workbook before
running the code. So---Never miiind :-)

Thanks for spending time on my pointless posting; sorry.

Regards,
Alan
 
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
Calling a procedure from another workbook mccar75287 Excel Programming 4 November 23rd 07 01:01 PM
Calling workbook and worksheet Anders Excel Programming 1 December 4th 05 04:42 PM
Run procedure in Personal.xls which needs name of calling workbook rcmodelr Excel Programming 4 September 21st 05 11:16 PM
Call a procedure in the workbook from a worksheet Selina Excel Programming 3 April 21st 05 01:04 PM
Calling a procedure in a procedure N10 Excel Programming 2 August 18th 04 12:49 AM


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

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

About Us

"It's about Microsoft Excel"