Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cross-Workbook Data/Function Referance
I am in the habit of writing data-processing & computation functions in
my 'XLSTART/PERSONAL.XLS' workbook ( PRX) VBA modules Normally , I reference data in the active worksheet by renge or name reference. Recently I got clever and decided that some 'global' data was better left in my PRX workbook on a (named) worksheet, to be referenced by functions in PRX . However, any attempt to reference data in PRX seems to fail - aborting Excel(97). The statements Dim xb as workbook,xs as worksheet '1 Set xb = Workbooks("personal.xls") '2 set xs = xb.Worksheets("mydata") '3 fail at line 3. Am I breaking some rule here ? Is their some option I need to set. Am I just being a bad person ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I referance a data valuation cell from another worksheet | Excel Worksheet Functions | |||
Is there a way to referance data from or to a closed workbook from | New Users to Excel | |||
cross referencing to another workbook | Excel Discussion (Misc queries) | |||
populate a cell with an external workbook referance | Excel Programming | |||
Cross Referance | Excel Programming |