resize

  1. B

    Resize all Worksheets in a WorkBook to a cell range on startup

    Hi, I currently have a worksheet that changes range and zoom when opening on different resolutions on different computers. How can you have a script that automatically resizes all worksheets to the same cell range when the workbook is opened? Many thanks
  2. R

    Resize multiple pictures to fit their respective cell

    I need help resizing multiple pictures to their respective cells to which they have already been inserted into, here's the catch, If possible I'd like to do it all at once. I've tried: <tbody> <code class="vb keyword" style="white-space: nowrap; padding: 0px !important; font-family...
  3. J

    Find Text and Resize Row -- Add multiple "Texts" to find (instead of 1)

    Hello, I am using the following code to loop through my worksheets and find the text "Method of Quoting:" -- once the value is found, it resizes the row to 100 as I need. I would also like to resize the "Source of Data:" row and the "Description:" row. Is there an easy way to add these two...
  4. K

    How to return a limited section of an array?

    I have the following formula which sums the first i rows and j columns of a range ("MyRange") using Resize: WorksheetFunction.Sum(MyRange.Resize(i, j)) Now is there an equivalent VBA function which can be used with a general VBA array (and not just a range)?
  5. J

    Find Text and Resize Row Height - VBA

    Hello, I am attempting to find a code that goes through all worksheets in activeworkbook and searches column C for the term "Method of Quoting:", when it is found, I would like to resize that row height to 100. Is this possible?
  6. bs0d

    CodeJock ActiveX Controls in Excel Workbooks

    Anyone have experience using their ActiveX Controls in Excel? I've built a workbook using the standard ActiveX controls available from the developer tab directly in a sheet (Windows 7, Excel '13). I have issues with their behavior when viewed at a different resolution, or in Windows 10. Combo...
  7. L

    Code Modification Help Needed

    I need help modifying this code. When I use this code I need it to resize the picture to fit into the selected cell but keep the same aspect ratio. Also, is it possible to have the code compress the picture to reduce the file size? Sub piccy() Dim sFile As Variant, r As Range sFile =...
  8. D

    auto fit the cell

    Hi :) I am using excel 2016 and I want my cells to fix automatically, for ex., if I enter the text into my cell and that text goes out of the cell size then the cell should automatically resize it. I want wrap text to be done automatically. can any one help? Now I am using the below code it...
  9. M

    How to apply the resize property to an active cell

    Hi there, I would like to ask for help on how to resize based on the active cell location. I need the macro to copy the last 20 rows (Jan) of my existing data to generate the same formulas for the next Month. This is the code I recorded/edited. Range("A2").Select...
  10. DPChristman

    Resizing multiple text boxes at once

    I am trying to create a template for labeling an electrical service panel It is taking a lot of tweaking, and I find myself having to resize the text boxes I am using for the breaker information. Is there a way to resize multiple text boxes at once. Using select objects I can select all my...
  11. P

    VBA Excel consolidate rows and then move results to another column

    Sub CombineRows() Dim WorkRng As Range Dim Dic As Variant Dim arr As Variant On Error Resume Next xTitleId = "Ryan's Code" Set WorkRng = Application.Selection Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8) Set Dic = CreateObject("Scripting.Dictionary") arr =...
  12. U

    Table Objects - dynamic resizing HELP

    Hello, My first post, so please bear with me... I have a regular task where I receive a set of data in a fixed format and some of the data needs to be changed to alternate, default values. My solution involves the use of 2 tables, on separate worksheets, within a single workbook. I open the...
  13. G

    Find/Replace Window

    Hello, Is there and way to code so that the Excel Find/Replace window opens, is resized to be bigger, and the window stays there waiting for user import. Macros doesn't like it Thanks
  14. D

    Macro Efficiency

    Hi, I saw in JWalk's 2013PPw/VBA the following macro: Sub Macro5() ActiveCell.Resize(,6)=Array("Jan","Feb","Mar","Apr","May","Jun") End Sub I then wanted to reduce the following code in similar fashion: Sub AuthorizedShare() With ActiveWorkbook.Worksheets("Summary Quoted")...
  15. M

    Cell reference, resize, offset, copy and paste

    Hi, I am trying to make a Macro to add trackers after clicking a button. My excel is set up this way: - The 1stColumn of Row 9 is a formula that shows today's date - Row 10 has 6 Column with 6 criteria - From Row 11 to Row 2010, they are formulas for the 6 criteria on Row 10 I am trying to...
  16. A

    Strange Listobject behaviour

    Hi all, hope some one can help. Recently I have begun working with ListObjects, handy things definitely but they seem temperamental. In my current project i have a handful of them to store lists of data, my code seems to manage them well adding entries, removing entries etc but after around 6 or...
  17. S

    Sample VBA to autofit text to a Radio Button's caption

    For Information Only I searched fruitlessly for help on working out how much text would fill a Caption on a Radio Button (or more precisely, would the intended text fit when populating the Radio Button via VBA). With the help of others Mr. Excel members, I offer the following VBA solution...
  18. J

    Macro - Resize table to last row

    Hi, What I need is a macro attached to a button that will resize the table down to the last row containing data. The problem I'm having is that due to the sheet being protected users cannot resize the table via the bottom corner.The table also doesn't update as it uses formulas and references...
  19. B

    Vlookup only using first lookup value when resizing formula

    Hi Everyone, I have rownum and colnum set to a value -- these are row and column coordinates for the FIRST lookup value. However, when I resize the formula to do the next value (which would have coords [rownum +1, colnum], the formula is still doing the vlookup with the same lookup value...
  20. N

    using offset.resize to dimension an array? (vba)

    Hi guys, I have a code which uses offset.resize to get a full range of cells but each time i try to define that range as an array - I keep getting the error 'Object doesn't support this property or method'. I made sure that the array has the correct dimensions, I was wondering if someone could...

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