When you reference another workbook and add it to the references, is that reference then available to all excel workbooks or just the one you referenced from?
No worries the context is that I am starting to learn VBA from a book for a change, I have reached the creating formulas stage and it is suggesting that if the workbook that contains the formula is referenced then it doesn't need to be open to access the formula.
As most of what I do is at home I should think placing a formula module in my personal workbook would suffice but should I do a works program then I am trying to understand referencing
Set wb = Workbooks("Data")
Set sh = wb.Sheets("Sheet1")
Set rng = sh.Range("A1")
Any information helps, I think I answered my own question I was actually referring to the reference Library, adding the workbook to the reference library so the function is accessible without opening the book.
My belief is that all workbooks on the pc refer to the same library and so any workbooks would have access to that function without specifically having the code open the workbook to reference it.
Looking back at my question I can see why the ambiguity, sorry