fit

  1. muhammad susanto

    VBA : Change width Column or Height Picture [NOT FIT CELL]

    hi all.. this macro code work properly for fit cell, i want to change column width height row in left margin and right margin [not fit cell] Sub InsertPic() Dim I As Long Dim xPath As String Dim xShape As Shape Dim a As Range xPath = "L:\test\" If...
  2. L

    Userform Textbox - Shrink to fit?

    Hello, Is there a way to set a textbox to shrink to fit text? Like how you do normal cells in Excel. Or a way to change the text font. Thanks
  3. T

    Sort Times into Groups

    Hi, So I’m looking to sort times into set groups based on the hours they fit into. So for example this: Col A. Col B 00:00 03:37 01:00 02:20 02:00 03:52 03:00 01:00 Would become: Col A. Col B 00:00 01:00 01:00 02:00 02:20 03:00 03:37 03:52 Thanks.
  4. C

    VBA to copy email body to worksheet

    Hello everyone, I am trying to write a code in excel that will copy the selected email body and paste it to the excel sheet. I have merged all the cells required to fit the email and created a button for the user to click and the data to be copied over. Can anyone please help.
  5. E

    Shrink To Fit not working when applied through a Cell Style

    I have a worksheet that has a large amount of cells using a custom cell style to apply a number format that I change through VBA. I would also like the cell style to include the "shrink to fit" option. When I modify the cell style to include "Alignment:Shrink To Fit", nothing happens in the...
  6. S

    changing font size depending on length of string

    Hi I need to complete a form. one of the fields has a variable length. I need to have the font size reduced if the length of the string is more than 20. for a len of less than 20 I can use a 12 Pt Font but for more than 20 a 10 Pt font would fit. I have tried to do this myself but it always...
  7. N

    VBA Zoom in

    Hi everybody, I am using this code for zooming in, is there a way if I use this that it will do it for all my sheets? Sub FIT() Range("A1:R1").Select ActiveWindow.Zoom = True Range("A1").Select End Sub Thanks for the help :) Best regards
  8. P

    Fit number to the cell

    I have an issue with fitting a number within cell. i have 3 digit number, and it is within a cell with width bigger than for 7 digits. I want to spread these 7 digits so that, there are even spacing withing these digits, in other words fit digits to the cell. i do not want to split or put...
  9. M

    Mround/roundup

    I am using the following formula to round costs to fit into their relevant fee structure...
  10. M

    fitting excel data with normal curve

    Hi, I have a graph of data, and when I put this into a chart there is the option to fit the data to a curve. The options are Linear Exponential Polynomial These are OK, but the problem is that I have a curve that is most closely resembling a "Beta" distribution. Is there any way to fit the...
  11. F

    vlookup

    Hi Guys looking some ideas on matching up some numbers in excel and i use vlookup all the time but this time i am matching wheel bolt patterns. normally part numbers i use fit some vehicles and that's it but with wheels on cars and trucks they can fit many so a vlookup will only return a match...
  12. S

    VBA to auto adjust row height to fit Text

    I am using Excel 2010 and my data is variable in number of rows and length of text in each cell and Wrap Text is on. What would be the VBA code to automatically adjust row height from $A$3:INDIRECT("$R$&"COUNT(D:D)) to fit text but have a minimum row height of 27. ~INDIRECT() Gives me the last...
  13. K

    Would like to add a button to print certain sheet to fit to one page

    I need to know if this is even possible. I have a worksheet that i need printed and to fit to one page. I would like to put a button so the user can click and print. I have tried the following and it fails: Sub PrintWorkload() With Worksheets("Workload").PageSetup .Zoom = False...
  14. M

    How to have text flow downwards in cell?

    Hey guys, I can use some help please. If you can look at the attached image, I would like when I am typing in each cell I have expanded to have the text fit into that cell alone. As the attached screenshot shows the text is flowing outside of the cell into the next, how can I have the text flow...
  15. A

    Row Height Adjustment

    Is there a check box or function somewhere that auto adjusts the row heights to "Auto Fit" so to speak? Excel 2016
  16. S

    SLA compliance

    Hello. Could you please help me with formula for this one? How I can get % of how many are "Fit in SLA" ? If there are 4 in, 1 out? <colgroup><col></colgroup><tbody> Fit in SLA Fit in SLA Fit in SLA Fit in SLA Out if SLA </tbody> Thank you in advance.
  17. N

    VBA - Excel instruct PowerPoint to make a picture auto fit

    I am writing a VBA code on Excel to instruct powerpoint to open a default template, and insert a picture (with path saved in excel) into the object box in the powerpoint. However, after insertion of the picture, the picture doesnt fit into the dimension of the object box and I have to manually...
  18. excelbytes

    The Query Returned More Data Than Will Fit On A Worksheet

    I'm helping a gentleman with some data analysis, using Power Query to combine files by adding more to a folder, like this: http://www.excel-bytes.com/how-to-combine-files-using-power-query-in-excel/ He is only up to around 12,000 lines of data. Any thoughts on why this is occurring? Using Excel...
  19. V

    merge multiple lines in one line

    Hello all I am using Excel 2010 and I'm really struggling with this problem I have a workbook with data from column "A:I" in column "A" I have a serial number but this can be several rows IE: 123 123 123 123 What I want to do is merge all the rows with the same serial number into one row...
  20. K

    XIRR with dynamic range

    Hi, I work in the investment industry and am trying to calculate the XIRR of our various mutual funds using the dates and the monthly withdrawal amounts that change over time, with the ending amount being the last number from the post-withdrawal column. The issue is that I have to manually...

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