LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default CHOOSE and External References

Hello all,

My client makes extensive use of long CHOOSE formulas that references cells
in another large workbook. They are constantly using these CHOOSE formulas
for buliding "reports" in dozens of workbooks. I am concerned that any
changes to the structure of the large source workbook would require a
mega-editing effort.

e.g.: CHOOSE($B$1,'[Data File.xls]Actual'!F23,'[Data
File.xls]Actual'!G23,'[Data File.xls]Actual'!H23,'[Data
File.xls]Actual'!I23,'[Data File.xls]Actual'!J23,'[Data
File.xls]Actual'!K23,'[Data File.xls]Actual'!L23,'[Data
File.xls]Actual'!M23,'[Data File.xls]Actual'!N23,'[Data
File.xls]Actual'!O23,'[Data File.xls]Actual'!P23,'[Data File.xls]Actual'!Q23)

I am recommending setting up the CHOOSE functionality using VBA functions
they can use where ever they need. This way a structural change could be
taken care of in one place.

Would it be best to use the CHOOSE in my function or is there a better way?
Is there a special syntax for referencing another workbook from within a VBA
function?
(I'm coming from Access here and am just getting up to speed on VBA in Excel).

Thanks!

Scott






--
Scott S
 
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
External References Mike H. Excel Programming 2 October 9th 07 04:02 PM
Using External VBA References for 64 and 32 bit XP ralph_y Excel Programming 1 April 3rd 07 08:57 AM
Named formulas in CHOOSE need to be Relative references when paste bill ch Excel Worksheet Functions 2 April 10th 06 04:13 PM
Modify Paste Special to choose absolute or relative references peterl Excel Programming 1 December 30th 05 12:04 AM
External References Iain Excel Discussion (Misc queries) 1 February 3rd 05 09:45 AM


All times are GMT +1. The time now is 12:32 AM.

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"