I’m currently working on a digital project and I have to analyze data from more than 100 FB excel files.
Part of my analysis process consist in extracting data from specific cells that are always the same.
As you understood I would like to make a macro in order to avoid useless waste of time.
I know how to extract it in the file, but I would like to adapt my macro in order to copy it in another file.
The code I have is the following:
***Range(“A9:D9”).Select
Selection.Copy
Windows(“test2.xlsx”).Activate
ActiveSheet.Paste***
Now I would like to paste the data in an empty row in order to have hundreds of rows one bellow the other (one for each FB extract).
Would someone give me the correct code in order to avoid a huge waste of time?
Here is a snippit of code I use for similar operations to select the next available cell.
I hope this is what you were looking for.