ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA to create dir's based on 'date picture taken' (https://www.excelbanter.com/excel-programming/416384-vba-create-dirs-based-date-picture-taken.html)

Tim

VBA to create dir's based on 'date picture taken'
 
Hello Everyone,

[This is not strictly an Excel problem (sorry) but i only really use VBA in
Excel and i couldn't find a better newsgroup... and people here seem to know
everything!]

i have a load of unsorted photos which i want to order into directories /
sub-directories based on their date. eg, if the date a picture (tim.jpg) is
taken (i think this is from 'exif' data?) is 1st september 2009, the
directory structure would become: -

...\2008\2008_09\2008_09_01\tim.jpg

i don't really know where to begin with it, so some pointers would be really
appreciated (or if someone knows of cheap/free software that will do this
without spending time on VBA that would be great... i've searched so far
unsuccessfully)

Thanks for any help,

Tim



Tim

VBA to create dir's based on 'date picture taken'
 
sorry for replying to my own post...

i just wanted to add that i want it to go through all of the photos in the
directory to make each of the required sub-dirs, check to see if they've
already been created and create them if necessary (just in case that wasn't
clear first time round).

icing on the cake would be to move the photos to the correct sub-dir
afterward!

cheers,

Tim

"Tim" <tmarsh-trousers-@-take off my trousers to reply-blueyonder.co.uk
wrote in message ...
Hello Everyone,

[This is not strictly an Excel problem (sorry) but i only really use VBA
in Excel and i couldn't find a better newsgroup... and people here seem to
know everything!]

i have a load of unsorted photos which i want to order into directories /
sub-directories based on their date. eg, if the date a picture (tim.jpg)
is taken (i think this is from 'exif' data?) is 1st september 2009, the
directory structure would become: -

..\2008\2008_09\2008_09_01\tim.jpg

i don't really know where to begin with it, so some pointers would be
really appreciated (or if someone knows of cheap/free software that will
do this without spending time on VBA that would be great... i've searched
so far unsuccessfully)

Thanks for any help,

Tim






All times are GMT +1. The time now is 10:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com