Thanks to Smartchap and vb5prgrmr for the quick replies. Working on the advice.
Smarthchap, I'm not using a form, just Excel VB code in a module. I just need to pick up the image dimensions.
vb5prgrmr, I used the code:
# Set P = LoadPicture("pa thfilename")
# MsgBox P.Width & " x " & P.Height
and this gave me figures, but the W and H were really high.
When I divided...
User Profile
Collapse
-
gcarterm started a topic How to pick up the Width and Height from images in a Folderin Visual BasicHow to pick up the Width and Height from images in a Folder
Hello -- first timer. I'm working with Excel Visual Basic. I need to get the width and height pixel dimensions for images in a folder. This seems like a Holy Grail proposition. I've looked everywhere.
Know that I'm not a professional programmer, just hobbyist. I know the code can't be that complex. I just don't know the syntax.
Thanks for any help you can give.
Mike
No activity results to display
Show More
Leave a comment: