Copying and looping data from one file to another
Closed
dhunited12
Posts
1
Registration date
Monday June 11, 2018
Status
Member
Last seen
June 11, 2018
-
Updated on Jun 11, 2018 at 04:59 PM
Blocked Profile - Jun 11, 2018 at 05:19 PM
Blocked Profile - Jun 11, 2018 at 05:19 PM
Related:
- Copying and looping data from one file to another
- Windows 10 iso file download 64-bit - Download - Windows
- Transfer data from one excel worksheet to another automatically - Guide
- Kmspico zip file download - Download - Other
- How to download audio file from messenger - Guide
- Tiny 11 iso file download - Download - Windows
1 response
So if we think about it, we really want tab one to be copied, not moved.
OK, I just recorded a macro and its output was:
SO there is the file save step.
I did all of this by recording the two macros you described. Now just, polish it up with variable to make it dynamic!
Sheets("Sheet1").Select
Sheets("Sheet1").Copy After:=Sheets(1)
OK, I just recorded a macro and its output was:
ActiveWorkbook.SaveAs Filename:="C:\Users\User\Documents\filenamehere.xlsm", _
FileFormat:=xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
SO there is the file save step.
I did all of this by recording the two macros you described. Now just, polish it up with variable to make it dynamic!