Created
October 28, 2019 12:31
-
-
Save pwm1991/ec7f23798d0b1c8e2efe4116817f4267 to your computer and use it in GitHub Desktop.
Export CSV macro, lazily.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub ExportCSV() | |
| ' | |
| ' ExportCSV Macro | |
| ' | |
| ' | |
| Range("A1").Select | |
| ChDir "\\rsnet.local\Users\UserData$\peterm\Downloads" | |
| ActiveWorkbook.SaveAs Filename:= _ | |
| "\\rsnet.local\Users\UserData$\peterm\Downloads\export.csv" _ | |
| , FileFormat:=xlCSV, CreateBackup:=False | |
| End Sub | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment