Visual Basic Classic
--
Questions
--
Followers
Top Experts
Dim objWord As Object
Set objWord = CreateObject("Word.Applica
Set shpPic = objWord.ActiveDocument.Sha
shpPic.Height = 180
I know that this resizes the height on the page, but Word does not actually consider it to be that size until it is compressed. Please help.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
as far as i know (always willing to learn) this cannot be done from within the program so you first have to resize the pictures before adding them to document, for a way using a picturebox take a look at source: http://www.codeguru.com/forum/archive/index.php/t-27478.html
hope this helps a bit
bruintje
done some research on this but did you save the files to disk first after resizing and then include them into the document?
bruintje






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Visual Basic Classic
--
Questions
--
Followers
Top Experts
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.