executes

  1. A

    Combo box Change Event twice

    When I make a selection using the drop down arrow, the change event executes once. However, if I type 1 character, the change event execute twice. I step through the procedure and I can see the code only execute once until to the end of the procedure and then my cursor changes to a wait circle...
  2. J

    VBA: empty cell, no formula

    Hello this code executes and does what I want to if there is text in the cell. It is still doing it if the cell is empty and there is a formula in there. Any ideas how to adapt it so that is ONLY executes when the cell is empty? If Not IsEmpty(Cells(ToRow, "E")) Then Thanks.
  3. L

    VBA Macro question

    How do I have a macro running in the background so when a cell has an entry (enter key) it executes the macro and continues. Buy moving the cell entry to another cell the return to the original cell? Thanks
  4. T

    HPageBreaks.Add

    I am trying to manipulate the horizontal page breaks in an Excel 2007 spreadsheet through VBA. The line of code I am using is: For a = 1 To sheetcount - 1 ThisWorkbook.Worksheets("Continuation Sheet " & Trim(Str(k + 1))).Range(sheetrange).rows(a * 44).EntireRow.PageBreak =...
  5. M

    Workbook_Deactivate

    I have the following code in a module which is executed via a button in a worksheet which is supposed to return Excel to it's normal stateSub ExitTool() ActiveWorkbook.Close savechanges:=False End Sub Which executes the following in 'ThisWorkbook'Private Sub Workbook_Deactivate()...
  6. A

    Application.ScreenUpdating

    Hi. I have a long macro that executes automatically every day. In order to reduce the execution time, I've seen that I can use Application.ScreenUpdating, since I don't need to see what the macro is doing. My question is: what does application refer to? I ask this because the macro runs from...
  7. D

    Simple VBA Code not working

    Simple Code does not work If Range("B7") = "1" Then End If When there is a 1 in cell B7 the code falls through and executes the remaining code whereas it should stop immediately.

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