Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Links between VBcomponents and Sheets

Paul,

The codemodule is a property of the worksheet:

ThisWorkbook.VBProject.VBComponents.("Sheet1").Cod eModule

HTH,
Bernie
MS Excel MVP

"Paul" wrote in message
...
Each time a worksheet is added to a workbook, a new
VBComponent is added to the relevant VBProject. How does
Excel keep track of the link between the new component, a
memeber of the VBComponents collection, and the sheet, a
member of the Sheets collection? Also, how is the link
between the ThisWorkbook component and the actual
workbook managed? Thanks.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Links between VBcomponents and Sheets

Oops, I left an extra . in there....

ThisWorkbook.VBProject.VBComponents("Sheet1").Code Module

--
HTH,
Bernie
MS Excel MVP
"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Paul,

The codemodule is a property of the worksheet:

ThisWorkbook.VBProject.VBComponents.("Sheet1").Cod eModule

HTH,
Bernie
MS Excel MVP

"Paul" wrote in message
...
Each time a worksheet is added to a workbook, a new
VBComponent is added to the relevant VBProject. How does
Excel keep track of the link between the new component, a
memeber of the VBComponents collection, and the sheet, a
member of the Sheets collection? Also, how is the link
between the ThisWorkbook component and the actual
workbook managed? Thanks.





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
How do I update links from .xls sheets to .xlms sheets June Excel Worksheet Functions 2 April 21st 10 08:57 PM
Links between Sheets Warren Easton Excel Discussion (Misc queries) 12 December 16th 08 02:32 PM
How to update links between wk sheets nander Excel Worksheet Functions 1 August 25th 05 03:57 PM
Links between sheets Jack Excel Discussion (Misc queries) 2 June 21st 05 11:17 PM
how do i find which sheets contain links? dov Excel Worksheet Functions 2 April 12th 05 12:55 AM


All times are GMT +1. The time now is 02:03 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"