Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Vj Vj is offline
external usenet poster
 
Posts: 54
Default Reference to sheet name in addIn

I have an activeworkbook which refers to one of the sheet in addIn.

My activeworkbook referes to one of the sheet in the addin
([addInWB]DIV_Sheet !J$8:N$16).

Now I need to refer to different sheet with the same name For example

Lets say I have two sheets DIV_Sheet and Div_Sheet1, Now I need to rename
Div_sheet to Div_Sheet1. My problem is that while renaming the sheets, my
activeworkbook updates to Div_Sheet1 which i need to stop it and should refer
to new Div_sheet.

Please give me some advice.

Thanks in advance.





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Reference to sheet name in addIn

INDIRECT("[addInWB]DIV_Sheet !J$8:N$16") ?

--

HTH

RP

"VJ" wrote in message
...
I have an activeworkbook which refers to one of the sheet in addIn.

My activeworkbook referes to one of the sheet in the addin
([addInWB]DIV_Sheet !J$8:N$16).

Now I need to refer to different sheet with the same name For example

Lets say I have two sheets DIV_Sheet and Div_Sheet1, Now I need to rename
Div_sheet to Div_Sheet1. My problem is that while renaming the sheets, my
activeworkbook updates to Div_Sheet1 which i need to stop it and should

refer
to new Div_sheet.

Please give me some advice.

Thanks in advance.







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
Word with embedded Excel object which has reference to addin Tom Chau Excel Discussion (Misc queries) 0 September 6th 06 02:25 AM
Addin / Library Reference question Stuart[_5_] Excel Programming 5 September 18th 04 02:04 AM
Reference Addin Module from sheet code zSplash Excel Programming 2 April 19th 04 06:35 PM
Copy sheet from addin jacob Excel Programming 2 April 19th 04 10:52 AM
Create button with addin/reference macro in another file netzig Excel Programming 2 February 6th 04 10:36 PM


All times are GMT +1. The time now is 02:31 PM.

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"