combine codes

  1. Keebler

    clean code

    background: I have learned so much from this site as well as my own research, but, as you will see, I leanred myself into a corner and would like some direction please. I have this vba code that I use to sort a long list of titles. the code "works", but I would like a way to clean it up. so my...
  2. B

    Help Combining 2 Private Sub Worksheet_Change(ByVal Target As Range) Codes

    Hello, I'm trying to combine 2 worksheet_change codes and I can't seem to get it figured out. I'd really appreciate some help. Here are the 2 codes separately: Private Sub Worksheet_Change(ByVal Target As Range) Dim Oldvalue As String Dim Newvalue As String Application.EnableEvents = True On...
  3. H

    How to combine two formulas into one?

    I have 2 separate lines of code which both work fine, but I need to have them work together. Here is the first line: =IF(F19="","",IF(F19<3.5,L18*0.01,IF(F19<7.45,L18*0.006,IF(F19<11.1,L18*0.004,"0")))) Here is the second line of code...
  4. J

    combine code into one button

    Is there a way to combine this code into one big button. I had one before that called each macro but it stopped working for some reason Sub SavePDF() Dim strFileName As String Dim UserName As String UserName = VBA.Environ$("username") strFileName = Range("A52")...

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