ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Referencing global values in one workbook from another (https://www.excelbanter.com/excel-programming/320541-referencing-global-values-one-workbook-another.html)

Datasort

Referencing global values in one workbook from another
 
I am trying to reference a global constant called giTitleRows from one
workbook in another workbook

Something like:

iTitleRows = workbooks(€śWorkbook1€ť).module(€śModule1€ť).g iTitleRow

in a workbook that has a const definged in a module called module1

Is this possible?

Also .. how can you call a function from one workbook to another

iTemp = workbooks(€śWorkbook1€ť).module(€śModule1€ť).G etTotalRows

Thanks in advance,

Stewart Rogers



All times are GMT +1. The time now is 12:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com