Hi
I know there have been plenty of threads on this, but just couldn't find exactly what I was after.
I need to create some VBA code to copy data from an active worksheet to a sheet in a different file. I have 10 macros written which get run on a newly downloaded each day. The macros hide columns and rows of unwanted selections, leaving only selections for the day. I then have some code at the bottom of the macro to highlight and center the selections for manual copying and pasting, but I'd now like to try and automate the process a little more.
This is the code I have at the bottom of each macro, just before the End With and End Sub lines.
This next code is my full macro and the 2 red lines are what I copied from an existing thread here on this forum. I have tried to tweak them to meet my needs, but it doesn't appear they are correct. I wonder if someone might pass their eye over them to see what is wrong. The code works uo to those 2 red lines. Those lines should copy the data from A2 to the last visible cell in BR and paste it into the first available cell in column A of the file New Results File.xlsm and the sheet Safe Bets![]()
Please Login or Register to view this content.
Thanks so much in advance![]()
Please Login or Register to view this content.
Bookmarks