VBA - Move Excel File with File System Object (FSO-Microsoft Runtime) [Created by - Himanshu Sachan]

Опубликовано: 02 Ноябрь 2024
на канале: Expert Tutorial
302
14

Institute Name - Expert Tutorial, Created by - Himanshu Sachan
In This Video You will lean how you can move an Excel file from one location to another location with the help of Microsoft Runtime library (FSO - File System Object)

Library Name - Microsoft Runtime Library

Code :
Sub Move_File()

Dim FSO As Scripting.FileSystemObject
Set FSO = New Scripting.FileSystemObject

FSO.MoveFile "C:\New Bill.xlsx", "D:\Study"

End Sub

Thank you for visiting in our channel, If you are having any query or want to join out Live Classes please whatsapp me or call on +91-9555276018.