aspect

  1. U

    Can we scroll through images and change the aspect ratio in a UserForm?

    I need to be able to select between windows used in home remolding. I have several GIF images that I would like to scroll through and I want to use their file names in the bill of material. I also want to know if there is a way to change the aspect ratio based on the window's dimensions. My...
  2. V

    VBA to Crop Image to 1:1 Aspect Ratio

    Hello, I am attempting to use VBA to crop images to a 1:1 aspect ratio. Here is the code that I am using currently: With shp Width = .Width Height = .Height TCrop = Width - Height Hcrop = TCrop / 2 End With With .PictureFormat .CropLeft = Hcrop .CropTop = 0 .CropBottom = 0 .CropRight = Hcrop...
  3. V

    Help cropping image to 1:1 Aspect Ratio

    Hello, I have searched the internet and these forums pretty extensively trying to come up with an answer to my question. Essentially, I am trying to take an image with an aspect ratio other than 1:1 and crop it to an 8 inch by 8 inch size. I have found that 72 points should correspond to 1...
  4. E

    Joining And with Or in an If Statement

    Hi All, The below code was working perfectly, however I want to add an extension to the formula to check that the football column = "yes" and the sport column = either "1" or "2" then I want "no" returned, otherwise go on to the next aspect of the formula. =IF(Football_Column="Yes","12...
  5. G

    dynamically display pictures

    Greetings to you all. I have a workbook with list of clients and their details in sheet (index), while every client has a sheet each, on every sheet i want picture of every client to appear on his/her. i got the below code online, but it only works if the sheets were un-protected, and i need...
  6. A

    shapes.addpicture aspect ratio

    Hi to all i am using the below code to insert a picture in excel. the code works and i get a picture, but i how like to size the picture to a fixe width and maintain the aspect ratio. Any good suggestions.? Worksheets("Approval Drawing 1").Shapes.AddPicture _ Filename:=myDir &...
  7. U

    Excel Superhero : Aspect Ratio of Images - Does not lock on print : Solution possible? (2016 / 2013)

    I've looked through different posts but do not see a solution to this question that seems to have plagued Excel since day 1. All I would like to do is insert an image (our logo... simple jpeg... see images below) into a spreadsheet. I do and it looks great. I lock the aspect ratio. Then when...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top