Solved

Save all images in a word file with a name

Posted on 2014-07-22
8
242 Views
Last Modified: 2014-08-18
Save all images in a word file with a name

I have 100's of images and above the image i have a name that needs to be the image name
The words are in bold and numbered just above the image
Example

1. Somename somename
Image
Which is in bold

2. Somename Some name
Image
What i want is the below image should be saved in the same folder as the word file with the name as the file name with a - hyphen between the words
Say if name is
John harris bernard

has to be as
John-harris-bernard.jpg
0
Comment
Question by:mtthompsons
  • 5
  • 2
8 Comments
 
LVL 3

Accepted Solution

by:
stevejacob68 earned 250 total points
ID: 40211029
Hi,

Simple way of doing this is to copy the name above the images and paste in saving name location of image and place hyphen in between
0
 

Author Comment

by:mtthompsons
ID: 40211134
Can you please explain. You mean i save the image manually and copy the name manually and add a hyphen
0
 
LVL 10

Expert Comment

by:GasperK
ID: 40211152
Considering the number of images (100's), you cannot or better yet should not do this manually. The way to go is VBA, but the names will be tricky. Are they of a certain Style in Word or just Bold?

It would be helpful, if you could provide a sample file.
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

Author Comment

by:mtthompsons
ID: 40211155
Its just bold. if needed i can manually add a style which would be easier then doing it manually
0
 
LVL 10

Assisted Solution

by:GasperK
GasperK earned 250 total points
ID: 40211165
In VBA it's easier to distinguish text by style, so if you have a style, it will be helpful. But if you want to get a solution in VBA that will work, you will have to provide a sample file...
0
 

Author Comment

by:mtthompsons
ID: 40211185
Sure attached sample
Below each image we will have 100 to 400 words
0
 

Author Comment

by:mtthompsons
ID: 40211188
Sure attached sample
Below each image we will have 100 to 400 words
Sample.doc
0
 

Author Comment

by:mtthompsons
ID: 40213320
Any help please
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question