Good Afternoon All,
I use the above code to open another workbook. I do this as some of the formula's I use are dragging data via indirect formulae, and it seems better to have the workbooks in question open rather than using any of the workarounds due to the speed issue's they have.
Usually the values of SuFILE1 to sUFILE5 would be identical but there are occasions (when the week crosses over from one month to the next) when there maybe two values (and hence two different workbooks) opened. What I'd like to now accomodate is if/when the user changes a week number selector these values are evaluated and if they have changed (selecting week 12 and then 34 for example) any workbook no longer required is closed, any already open workbook is left open and any new workbook required to be open is then open.
the workbook names are created via formula in the ranges H30 through to H34.
Bookmarks