Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2023, 07:43 PM
Guessed's Avatar
Guessed Guessed is offline Issue with logo proportions after insertion in header Windows 10 Issue with logo proportions after insertion in header Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default


If you aren't getting consistent behaviour of the locked aspect ratio then ignore it and make use of the scaleheight and scalewidth eg
Code:
aShp.Width = CentimetersToPoints(3.94)
aShp.ScaleHeight = aShp.ScaleWidth
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 10-23-2023, 01:07 AM
hank1234 hank1234 is offline Issue with logo proportions after insertion in header Windows 11 Issue with logo proportions after insertion in header Office 2016
Novice
Issue with logo proportions after insertion in header
 
Join Date: Sep 2020
Posts: 11
hank1234 is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
If you aren't getting consistent behaviour of the locked aspect ratio then ignore it and make use of the scaleheight and scalewidth eg
Code:
aShp.Width = CentimetersToPoints(3.94)
aShp.ScaleHeight = aShp.ScaleWidth
Unfortunately, leaving the LockAspectRatio out and adding these two lines of code doesn't do the trick either. I get an error 5148 in the new line of code
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
header format issue mfitness92 Word 3 07-31-2022 01:03 AM
VBA Insert Image(logo) into header for multiple Word Docs Axis Word VBA 4 02-09-2022 10:34 PM
Issue with logo proportions after insertion in header Change Logo in Header in many Word-Documents ika Word VBA 15 10-20-2016 11:08 PM
Issue with logo proportions after insertion in header Macro to Insert Logo in header on 1st page only and bookmark it. youseeme Word VBA 9 09-16-2016 05:25 AM
Issue with logo proportions after insertion in header How to print header logo only in 1st page Shafraz Khahir Word 1 11-29-2010 11:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:26 AM.


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