.height

  1. A

    Insert Size Shape and Transparent Background Image

    I am making progress. At the moment I can add an image to a cell, size it to a specific range but thats where I am stuck. Now I would like to be able to select an image in a specific range and change the background colour (white) to transparent. Any ideas? My attempt is in red below...
  2. muhammad susanto

    VBA : Resize 2 Pictures in Specific Range (G13 & D13) Wtih Simultaneously

    hi all.. i found macro code to resize picture in Excel... here this code : <tbody> Public Sub FitPic() On Error GoTo NOT_SHAPE Dim PicWtoHRatio As Single Dim CellWtoHRatio As Single With Selection PicWtoHRatio = .Width / .Height End With With Selection.TopLeftCell...
  3. D

    How to change the lenght of a connector ?

    Dear all, Does anyone know how to adapt the lenght of a connector. Here the present code allow to draw a connector for the above border of a current cell, but I would like it a little bit longer. AddConnector(msoConnectorStraight, .Offset(, 1).Left, _ .Top + .Height / 17...
  4. R

    Images inserted by VBA are displaced

    Hi, I have a file that've working normally for more than 1 year, but now something went wrong, even though I didn't use the file. This file inserts images by VBA in specific locations, but now all the images seems to have moved to the right. I've tried: Me.Pictures.Insert(FullImagePath).Select...
  5. M

    passing a frame name to a subroutine

    I'm trying to create a subroutine (actually two) The first finds the coordinates of the frame and stores the value, then sets the values I need to explode the frame size. Sub displayframe(frm As msforms.Frame) With frm ht = .Height wdth = .Width Tp = .Top lft = .Left...
  6. R

    iterate many controls by class event name

    Can it be done? Let say I create 200 labels on a user form; 100 of which are C1.labelzA and 100 of which are C1.labelzB Private Sub UserForm_Initialize() Dim x As Long Set MEM1 = New Collection For x = 1 To 100 Set LAB = UserForm1.Controls.Add("Forms.Label.1") With...
  7. P

    Any ideas? UserForm Initialization doing funny things.

    I have a userform that shows or hides different controls based on what is selected from ListBox1. It also adjusts the left and top values of the appropriate controls depending on that selection, just to make everything look good. So upon initialization it sets the left and top values of each...
  8. A

    Help With adding multiple controls during runtime based on button click

    Hello, I would like to see if it is possible to control the addition of Labels and text boxes based on a button click to my multipage object on my form. My initial thought was to use a case statement that would count the button clicks and add the labels and text boxes as needed. However, if I...

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