I'm trying to use 3 input values and 1 derived (vlookup) value in 4 cells on a worksheet To open , close, save as and input data on several other workbooks. I can do this, but have to Dim and Set values for every Sub which uses the data. I've confused myself researching Global, Public & Constant and wonder if I'm overthinking things. Sub "Wanted" shows what I want to achieve in (hopefully) plain language. Then subs in other modules need to access the "Public" line. Hope this is clear. Sub "Got" shows what I'm using.
Cell data examples - Fle; 14/1/17; 2017; Flem. Normally change each time code runs
Any help appreciated.
Please Login or Register to view this content.
Bookmarks