I need to write some VBA code and attach it to a button.
I have a spreadsheet and would like to automatically export sections of the spreadsheet to different people. How would i write the following in VBA
The spreadsheet contains roughly 1000rows and columns extend from AA to AJ. I would like to extract rows where column E(Column E has been named range division) = either K11 or S41 and export this into a new workbook called K Division, sheet 1. Where column e = the criteria
E.g If row 5 column E = S41 i would like to transfer the information, formulas and formatting of AA5 to AJ5 into a workbook named K Division onto worksheet 1.
I have a spreadsheet and would like to automatically export sections of the spreadsheet to different people. How would i write the following in VBA
The spreadsheet contains roughly 1000rows and columns extend from AA to AJ. I would like to extract rows where column E(Column E has been named range division) = either K11 or S41 and export this into a new workbook called K Division, sheet 1. Where column e = the criteria
E.g If row 5 column E = S41 i would like to transfer the information, formulas and formatting of AA5 to AJ5 into a workbook named K Division onto worksheet 1.