Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 12-12-2024, 05:12 AM
ADAL ADAL is offline Grouped Shapes Not Anchoring to Original Paragraph in Word VBA Windows 10 Grouped Shapes Not Anchoring to Original Paragraph in Word VBA Office 2021
Novice
Grouped Shapes Not Anchoring to Original Paragraph in Word VBA
 
Join Date: Dec 2023
Posts: 26
ADAL is on a distinguished road
Default

Quote:
Originally Posted by gmaxey View Post
Why don't you post your document?
I HAVE A TROUBLE UPLOADING NOW THE DOCUMNET BUT I CAN UPLOAD AN IMAGE ABOUT IT (I don’t need the macro for this specific document; this is just an example of what I need it for). I have decorative elements that need to be adjusted to the size of the text in the paragraph, as shown in the ATTACHED image.
SCREENSHOT1.png
My macro does the following:

Finds paragraphs with specific styles and shapes.
Ungroups the shapes.
Resizes and adjusts their positions based on the paragraph width.
Regroups the shapes.
AS YOU CAN SEE IN THE SECOND ATTACHED IMAGE
SCREENSHOT2.png
However, the issue is that after regrouping, the new group does not stay anchored to the original paragraph, which is what I need.

Thank you for your help!

Last edited by ADAL; 12-12-2024 at 05:13 AM. Reason: MISTAKE
Reply With Quote
 

Tags
shapes, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grouped Shapes Not Anchoring to Original Paragraph in Word VBA Get rid of auto-numbering, but keep the original paragraph numbers qubie Word 6 05-21-2020 05:09 PM
Outlook increases paragraph spacing when including original in reply Bud Outlook 0 05-13-2016 11:51 PM
Grouped Shapes Not Anchoring to Original Paragraph in Word VBA Exporting Grouped Shapes JamesEddy Word 4 12-08-2014 08:16 AM
Grouped Shapes > "Save Picture As" JamesEddy Word 0 10-29-2014 01:29 PM
Grouped Shapes Not Anchoring to Original Paragraph in Word VBA Anchoring photo to paragraph tharmon Drawing and Graphics 3 06-07-2012 03:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:58 PM.


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