Thread: Copyfolder
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Alvin Hansen[_2_] Alvin Hansen[_2_] is offline
external usenet poster
 
Posts: 209
Default Copyfolder

Me again
this working
SetAttr "c:\" & tt & tal & kur1 & "\valutatabel.xls", vbNormal
but this not working
SetAttr "c:\" & tt & tal & kur1 & "\*.*", vbNormal


regards alvin

"Tom Ogilvy" skrev:

use something like

SetAttr "C:\MyFolder\*.*", vbNormal

--
Regards,
Tom Ogilvy

"Alvin Hansen" wrote in message
...
Hi!
I use copyfolder in filesystemobject its working allright i'm happy
but if i copy a folder from a cd. the attribute on the folder gets to
read only and then i can't use copy folder next time, because i don't have
the permission to do this. Is there a way with the caommand copyfolder

where
i can set the folder to bee read and write ??

Regards alvin