Hi Guys
I have been trying to work out how to write a script to be able to copy a price from my main spreadsheet to all of my other spreadsheets in the same folder. Tee data I want to change will only be one specific cell and all of the spreadsheets will have the exact same data just the spreadsheets relate to different items. Rather than open up each individual spreadsheet I thought a macro would be perfect for doing this. I have been trying to do this and to find a solution but I can never seem to find something specific. I am trying to learn how to create my own macros but I am finding that rather difficult too. I know I need a loop command but I am not sure how to get it to open the next spreadsheet and then alter the required data. I have linked 3 spreadsheets, (https://www.dropbox.com/sh/8qbow8ixw1lxrud/CHG2K-sU2g ), as an example of what I am trying to do. For example I would like to change cell E4 from $12.00 to $22.00 in all the workbooks in the same folder. All formatting is exactly the same and there is only one worksheet in each file that I would like to change which I have named pricing. Eventually though I will be adding extra worksheets to the workbooks and giving them different labels but for now I am only using the one worksheet in each workbook. My macro enabled worksheet has a macro which I have copied from elsewhere but I cant seem to figure out what changes I need to do to get it to work. Any help on this would be greatly appreciated. I am still trying to learn VBA coding and I have a really long way to go
Thanks for any help it is greatly appreciated
I have been trying to work out how to write a script to be able to copy a price from my main spreadsheet to all of my other spreadsheets in the same folder. Tee data I want to change will only be one specific cell and all of the spreadsheets will have the exact same data just the spreadsheets relate to different items. Rather than open up each individual spreadsheet I thought a macro would be perfect for doing this. I have been trying to do this and to find a solution but I can never seem to find something specific. I am trying to learn how to create my own macros but I am finding that rather difficult too. I know I need a loop command but I am not sure how to get it to open the next spreadsheet and then alter the required data. I have linked 3 spreadsheets, (https://www.dropbox.com/sh/8qbow8ixw1lxrud/CHG2K-sU2g ), as an example of what I am trying to do. For example I would like to change cell E4 from $12.00 to $22.00 in all the workbooks in the same folder. All formatting is exactly the same and there is only one worksheet in each file that I would like to change which I have named pricing. Eventually though I will be adding extra worksheets to the workbooks and giving them different labels but for now I am only using the one worksheet in each workbook. My macro enabled worksheet has a macro which I have copied from elsewhere but I cant seem to figure out what changes I need to do to get it to work. Any help on this would be greatly appreciated. I am still trying to learn VBA coding and I have a really long way to go
Thanks for any help it is greatly appreciated