Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Renaming Images files from worksheet.

Hi this is a real newbie question but i've trawled the net and cant
seem to find a solution.

I'm trying to write a macro to rename image files and move them to a
new folder. I have a spread sheet with two columns, one product code
and the second image name. I want to take a file from folder "image"
named "image_name.jpg" and move it to folder "job_done" renamed as
coresponding "product_code.jpg" I thought this would be a realy simple
problem and loads of people would already be doing it but I am
strugeling. Any help wolud be very much appreciated.

Many thanks
Simon

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Renaming Images files from worksheet.

Hi Simon

You can use the Name function in VBA
See http://www.rondebruin.nl/folder.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


wrote in message oups.com...
Hi this is a real newbie question but i've trawled the net and cant
seem to find a solution.

I'm trying to write a macro to rename image files and move them to a
new folder. I have a spread sheet with two columns, one product code
and the second image name. I want to take a file from folder "image"
named "image_name.jpg" and move it to folder "job_done" renamed as
coresponding "product_code.jpg" I thought this would be a realy simple
problem and loads of people would already be doing it but I am
strugeling. Any help wolud be very much appreciated.

Many thanks
Simon

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Renaming Images files from worksheet.

On 17 May, 15:21, "Ron de Bruin" wrote:
Hi Simon

You can use the Name function in VBA
Seehttp://www.rondebruin.nl/folder.htm

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm



wrote in ooglegroups.com...
Hi this is a real newbie question but i've trawled the net and cant
seem to find a solution.


I'm trying to write a macro to rename image files and move them to a
new folder. I have a spread sheet with two columns, one product code
and the second image name. I want to take a file from folder "image"
named "image_name.jpg" and move it to folder "job_done" renamed as
coresponding "product_code.jpg" I thought this would be a realy simple
problem and loads of people would already be doing it but I am
strugeling. Any help wolud be very much appreciated.


Many thanks
Simon- Hide quoted text -


- Show quoted text -


Many thanks that is a great help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Renaming Files Gordon[_2_] Excel Programming 1 August 1st 06 08:52 AM
Renaming Files Gordon[_2_] Excel Programming 20 June 25th 06 08:25 AM
Renaming Zip files GEORGIA Excel Programming 6 September 15th 05 01:19 PM
Renaming Files mudraker[_304_] Excel Programming 2 August 13th 04 12:04 AM
Renaming Files Spammastergrand Excel Programming 5 September 19th 03 10:43 PM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"