View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Sadcrab Sadcrab is offline
external usenet poster
 
Posts: 10
Default Macro assigned to a button



"Don Guillett" wrote:

maybe this simple idea will help?
Sub movefile()
OldName = "C:\oldfolder\oldname.xls"
NewName = "C:\newfolder\newname.xls"
Name OldName As NewName
End Sub


--

Thanks Don but I can't get it to work. I get a runtime error 53 File not
found more help on this please. Thanks