Solved

Save all images in a word file with a name

Posted on 2014-07-22
8
239 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

777 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