Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Macro Programming
I want to creat a generic filecopy command so I do not need to hard code the
owner name into the path. I am trying to copy a file that is in my pictures and the path is below the owner folder or in my case the name "Marvin". |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Macro Programming
Do you mean you want the copying to work for all users on the local
machine - assuming they have the same pictures in their My Pictures folder? Like, say, FileCopy "c:\documents and settings\" _ & Environ("username") _ & "\My documents\My Pictures\pic1.jpg", _ "c:\temp\pic1.jpg" Marvin wrote: I want to creat a generic filecopy command so I do not need to hard code the owner name into the path. I am trying to copy a file that is in my pictures and the path is below the owner folder or in my case the name "Marvin". |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro programming in Excel | Excel Programming | |||
Excel VBA/Macro programming for beginners | New Users to Excel | |||
Macro Programming in Excel 2003 | Excel Programming | |||
Excel Macro programming | Excel Programming | |||
Website about excel macro programming | Excel Programming |