stephen.smith
Board Regular
- Joined
- Jul 7, 2010
- Messages
- 119
Hi Guys
I have a worksheet which has about 250 cells which have links to another excel spreadsheet. Cell B10 will =OtherSpreadsheet$D2, Cell B11 will =OtherSpreadsheet$D3, etc. however on a weekly basis I may need to change the column the info is coming from in the OtherSpreadsheet. So one any given week I may need to change all values that say $D to $K or any other specific column. At the moment I am using a find and replace however I would prefer to use VBA to do this for me if possible so it can happen at the click of a button. Another issue I have is that there may be other values on the page which have $D in there link which I dont want changed so the VBA code must be specific to the cells which are adjusted weekly. Can anyone help with how to write code for this problem.
Thanks
Stephen
I have a worksheet which has about 250 cells which have links to another excel spreadsheet. Cell B10 will =OtherSpreadsheet$D2, Cell B11 will =OtherSpreadsheet$D3, etc. however on a weekly basis I may need to change the column the info is coming from in the OtherSpreadsheet. So one any given week I may need to change all values that say $D to $K or any other specific column. At the moment I am using a find and replace however I would prefer to use VBA to do this for me if possible so it can happen at the click of a button. Another issue I have is that there may be other values on the page which have $D in there link which I dont want changed so the VBA code must be specific to the cells which are adjusted weekly. Can anyone help with how to write code for this problem.
Thanks
Stephen