Can someboday provide me a code which ask to browse a file then paste that file to a given network location path
Plz assisst
Can someboday provide me a code which ask to browse a file then paste that file to a given network location path
Plz assisst
Use FileCopy or Name.
Ex:
Combine it with FileDialog to allow browsing/selection.![]()
Please Login or Register to view this content.
Something like below for copy files.
If moving file(s) to another location... use Name instead of FileCopy![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
― Robert A. Heinlein
mid code i am using but thats giving compilation error:
FileCopy .SelectedItems(i), dest & "\" & x
"constant expression required"
where to put fix destination path
Below line. Edit "C:\Test" to your actual destination.
It should be at beginning of the code.![]()
Please Login or Register to view this content.
using it like this but only sir but the same errorHTML Code:
Hmm? Works fine on my end.
Try changing Const ... line to something like...
![]()
Please Login or Register to view this content.
yes sir now its working fine
can we add a msg box to display that pasting complete ...
Just put msgbox code after End With.
Something like...
![]()
Please Login or Register to view this content.
thanx alot sir
FileCopy .SelectedItems(i), dest & "\" & x
Now its giving error here: compile error
Argument not optional
Kindly assist
I can't replicate your issue on my end.
Try constructing string prior to using it in the argument?
Ex:
![]()
Please Login or Register to view this content.
Ok sir thanx issue resolved
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks