xicosantos
New Member
- Joined
- Feb 5, 2015
- Messages
- 12
Hello I wonder that someone can help me?
I have a folder with several photos (jpg and png) whose names are numbers and letters
eg
12345.jpg
12345a.jpg
12345b.jpg
12345c.png
9876.png
9876a.png
9876b.jpg etc.
and I was wondering how to make an application in vba to list all the photos names in that folder and then put in the same cell the names whose initial digits are the same and separated by a comma.
eg
Cell 1 = 12345.jpg, 12345a.jpg, 12345b.jpg, 12345c.png
Cell 2 = 9876.png, 9876a.png, 9876b.jpg
Etc.
Is it possible to do?
Someone can help me? Thanks in advanced
I have a folder with several photos (jpg and png) whose names are numbers and letters
eg
12345.jpg
12345a.jpg
12345b.jpg
12345c.png
9876.png
9876a.png
9876b.jpg etc.
and I was wondering how to make an application in vba to list all the photos names in that folder and then put in the same cell the names whose initial digits are the same and separated by a comma.
eg
Cell 1 = 12345.jpg, 12345a.jpg, 12345b.jpg, 12345c.png
Cell 2 = 9876.png, 9876a.png, 9876b.jpg
Etc.
Is it possible to do?
Someone can help me? Thanks in advanced