Ok, I am at the very first stages of my macro, and am kinda stuck with the logic/Syntax. I will be scaling this up to be much larger. I am wondering how to accomplish the following:
File_Path = "Desktop/Sandbox" 'This folder will have several sub-folders'
If (A file-name in File_Path contains text "Example") Then 'If the string exists, even if it is part of another string. All files will be Excel files.'
Open the workbook 'I will refer to this as workbook A.'
Copy Rows 6 to the end of the data
Activate.Workbook ("Master List") 'This file is stored in another folder all-together.'
Paste information into the Active workbook
Iterate this loop for all instances of "Example" 'When new information is pasted, paste under last used row. I don't want to overwrite the previous iteration'
Else
End If
File_Path = "Desktop/Sandbox" 'This folder will have several sub-folders'
If (A file-name in File_Path contains text "Example") Then 'If the string exists, even if it is part of another string. All files will be Excel files.'
Open the workbook 'I will refer to this as workbook A.'
Copy Rows 6 to the end of the data
Activate.Workbook ("Master List") 'This file is stored in another folder all-together.'
Paste information into the Active workbook
Iterate this loop for all instances of "Example" 'When new information is pasted, paste under last used row. I don't want to overwrite the previous iteration'
Else
End If