move files through excel

Xtremetechnology

New Member
Joined
Oct 13, 2011
Messages
10
dear sir,
i have a utility to move files from excel but this utility is not working for ".mp3" files. ".wav" are moving perfectly but ".mp3" files are not moving
please help


Sub MoveFiles()
Dim i As Long, LastRow As Long
LastRow = Range("A65536").End(xlUp).Row
For i = 1 To LastRow
Name Cells(i, 1).Value As Cells(i, 2).Value
Next i
End Sub
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Can you provide an example of what's in column A and column B for an .mp3 file that's "not working"?

And what exactly do you mean by "not working"? Are you getting an error message? If so, what is the message?
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top