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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
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,216,788
Messages
6,132,701
Members
449,753
Latest member
swastikExcel

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