Solved

Save all images in a word file with a name

Posted on 2014-07-22
8
233 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
 

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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now