When i run this code i get this error
Runtime Error 91:
Object variable or With block variable not set.
on this line:
Code:
xp.Folder.Copy App.Path & "\appfiles\", "C:\Program Files\"
Does anybody know what is up with this code.

Thanks in advance
Chris1990