Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2023, 04:33 PM
bjb bjb is offline Need assistance uploading pictures files to word table Windows 11 Need assistance uploading pictures files to word table Office 2021
Novice
Need assistance uploading pictures files to word table
 
Join Date: Jan 2023
Posts: 5
bjb is on a distinguished road
Default Need assistance uploading pictures files to word table


I need to select all picture files and have them upload to the four main boxes. It will have to skip the boxes with the words in it.
Attached Images
File Type: png image.png (19.5 KB, 11 views)
Reply With Quote
  #2  
Old 01-14-2023, 04:51 AM
macropod's Avatar
macropod macropod is offline Need assistance uploading pictures files to word table Windows 10 Need assistance uploading pictures files to word table Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See the Automate the Insertion of Multiple Images into a Document 'Sticky' thread at the top of the Drawing and Graphics forum:
https://www.msofficeforums.com/drawi...-document.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-14-2023, 07:46 AM
bjb bjb is offline Need assistance uploading pictures files to word table Windows 11 Need assistance uploading pictures files to word table Office 2021
Novice
Need assistance uploading pictures files to word table
 
Join Date: Jan 2023
Posts: 5
bjb is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
See the Automate the Insertion of Multiple Images into a Document 'Sticky' thread at the top of the Drawing and Graphics forum:
https://www.msofficeforums.com/drawi...-document.html
i had tried the one with no caption and I got an error on running it
Reply With Quote
  #4  
Old 01-14-2023, 02:42 PM
macropod's Avatar
macropod macropod is offline Need assistance uploading pictures files to word table Windows 10 Need assistance uploading pictures files to word table Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Unless you can say what the error is, it's rather difficult for anyone to help. In any event, your first post suggests you need the captions row (even if you're going to use it for something else).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 01-15-2023, 07:52 AM
bjb bjb is offline Need assistance uploading pictures files to word table Windows 11 Need assistance uploading pictures files to word table Office 2021
Novice
Need assistance uploading pictures files to word table
 
Join Date: Jan 2023
Posts: 5
bjb is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Unless you can say what the error is, it's rather difficult for anyone to help. In any event, your first post suggests you need the captions row (even if you're going to use it for something else).
ahh okay I just got it to work, however it just created a table with the pictures imported into the first square into putting just the pictures into the already made table template from my picture
Reply With Quote
  #6  
Old 01-15-2023, 12:39 PM
macropod's Avatar
macropod macropod is offline Need assistance uploading pictures files to word table Windows 10 Need assistance uploading pictures files to word table Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Well, the preamble does say:
Quote:
The following macro automates the insertion of multiple images into a table (which the macro also creates) in a Word document.
IMHO, you would do better to use the first macro, then simply replace the captions it creates with whatever text you want to use. As it is, there is no automatic way for the macro to ensure the pictures are inserted into the table in the order you desire.

Accordingly, you might be interested in the version found here: https://www.msofficeforums.com/148668-post5.html.
That code allows you to create the table and insert the desired captions from a list in Excel, giving you complete control over both the order the images are inserted and the captions applied to them..
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 01-15-2023, 01:57 PM
bjb bjb is offline Need assistance uploading pictures files to word table Windows 11 Need assistance uploading pictures files to word table Office 2021
Novice
Need assistance uploading pictures files to word table
 
Join Date: Jan 2023
Posts: 5
bjb is on a distinguished road
Default

So, I deleted the table included in the template and let the macro create template and I have been able to replicate the correct size and placement. The next problem I face is having my mail merge text carry over to the caption part of the photos. Is this possible?
Reply With Quote
  #8  
Old 01-15-2023, 05:55 PM
macropod's Avatar
macropod macropod is offline Need assistance uploading pictures files to word table Windows 10 Need assistance uploading pictures files to word table Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by bjb View Post
So, I deleted the table included in the template and let the macro create template and I have been able to replicate the correct size and placement. The next problem I face is having my mail merge text carry over to the caption part of the photos. Is this possible?
It really would have helped had you told us the problem concerns a mailmerge. Presumably, your mailmerge data source includes both the captions and the image names. In that case, done properly you may not even need a macro - it can probably all be handled by the mailmerge itself.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 01-15-2023, 06:19 PM
bjb bjb is offline Need assistance uploading pictures files to word table Windows 11 Need assistance uploading pictures files to word table Office 2021
Novice
Need assistance uploading pictures files to word table
 
Join Date: Jan 2023
Posts: 5
bjb is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
It really would have helped had you told us the problem concerns a mailmerge. Presumably, your mailmerge data source includes both the captions and the image names. In that case, done properly you may not even need a macro - it can probably all be handled by the mailmerge itself.
i do not have the image path files in the excel sheet im pulling the mail merge from that has photo descriptions.
Reply With Quote
  #10  
Old 01-16-2023, 01:05 PM
macropod's Avatar
macropod macropod is offline Need assistance uploading pictures files to word table Windows 10 Need assistance uploading pictures files to word table Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you read the Managing Mailmerge Graphics topic in the Mailmerge Tips and Tricks 'Sticky' thread at the top of the Mail Merge forum:
https://www.msofficeforums.com/mail-...ps-tricks.html
you will see that the image paths don't need to be stored in the mailmerge data source.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
vba

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need assistance uploading pictures files to word table Insert multiple pictures at once in Word table elias17 Word VBA 5 11-30-2022 09:39 AM
Need assistance uploading pictures files to word table Word Table inserting Pictures stu_c Word Tables 2 07-28-2022 02:39 PM
Macro code for uploading multiple files Puneet Singh Excel 1 03-19-2022 01:24 AM
Need assistance uploading pictures files to word table Need assistance Adding Row to Table with Permission ohi Word VBA 6 05-30-2019 07:20 PM
Need assistance uploading pictures files to word table Inserting scanned pictures into word files Rosie173 Drawing and Graphics 9 05-11-2011 02:51 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft