stops

  1. B

    Countif

    I need to edit the code below so it stops counting when it hits 0. SUggestions? =COUNTIF(K5:K29,"<=30")
  2. JenniferMurphy

    UDF stops running if I hot-key to another task

    I have a UDF that does some iterative calculations. It can take anywhere from about 2 to 8-10 seconds to complete its work. The data, which I enter into an InputBox, comes from another application. If I hot-key over to the other application, the UDF stops running until I hot-key back. Is there...
  3. E

    Regression Macro Stops Unexpectedly

    Hello, I created a macro to run a linear regression automatically, and when I execute the code it works properly. However, when a coworker tries, it is as if the macro stops unexpectedly with no error or anything. It just doesn't continue on. This is a snippet of the code. It completes the...
  4. D

    Macro stops when it doesn’t find anymore

    Hi board, this macro stops and gives an error when it doesn’t find anything else starting with F, can you help me find out why? The FieldName & Pivot get passed in the calling of the macro Dim pItem As PivotItem For Each pItem In pt.PivotFields(strFieldName).PivotItems If pItem.Value Like...
  5. G

    Index Match IF Trouble

    I'm working from a document that contains two tabs; starts and stops. The starts tab details an index of the month/year of when a widget started. The stops tab details the same for when the widget stopped. I'm currently using a Index Match IF formula to attempt to pull the start into the stop...
  6. K

    Worksheet Stops Working

    I'm having the same issue in different files in different computers. The worksheet is letting me add data and then all of sudden it stops letting me insert, delete, edit etc. It starts with having the double click in the cell is order to add data, and then stops letting me do anything at all...
  7. R

    On error and paste.special

    I have a sub which starts with an On Error GoTo and then continues to use a PasteSpecial. (I can paste code if required, but I suspect there may be an easy answer from someone here!) Now if there is nothing to paste it does not go to the label but just stops at the PasteSpecial. I suspect this...
  8. K

    = sign error

    I have this code: but when I hover over Payday it shows Payday = "="08-05 TO 08-11" and the code stops. Payday = Application.InputBox(Prompt:="What is the Pay Period?", Type:=0) ThisWorkbook.Sheets("HOURS BY ID").Range("G2:G1500").FormulaR1C1 = _ "=IFERROR(VLOOKUP(G2," & Payday & "$C:$Q,15,0)"
  9. E

    VBA code stops working at 53rd column

    I have VBA code in Access that creates an Excel workbook and fills a worksheet based on values in Access tables. The code fills five columns per state. (I have a state table that lists all 51 states, including DC.) My code stops working with "Error 1004 Method of 'Range 'of object'_Worksheet'...
  10. B

    Help with a marco

    I have a marco that copy's the numbers from A1 and B1. then pastes them on another sheet. I want to write into the marco that if "A1 does not equal B1" the marco stops working until the 2 cells equal each other. thanks in advance for all the help.
  11. A

    Excel VBA Loop and Replace if Text

    Hello all. This is probably a simple one that I am just having problems figuring out because I am still learning VBA. But I am trying to loop through a column (Q) and replace any values that are Text with the current time and leave any numeric cells alone from rows 2 to 3000. I've tried every...
  12. M

    VBA code stops working once I paste it into the "production enviroment"

    I tried hunting for this issue and couldnt find an answer hopefuly the forum can help. I finaly learned not to work directly in the production environment. I created a dupilcate file on my desktop so I can verify the codr functions before being it over to main user file. The code...
  13. N

    Stop infinite loop to coninue new loop

    Hello, I have a loop that runs for a long time, and when it meets a criteria i need it to stop the loop and continue on to the next part of the code. Sub InfiniteLoop() For x = 1 To 4 Sheets(x).Select For i = 1 To 9999999 If XXX = False Then End End If...
  14. J

    Need to know why Macro is stopping

    I have a Macro that was written by someone in my position before me. It is what we call a scrubbing Macro to clean weird characters. It encounters characters that it does not know what to do with them. Is there anyway to add to this Macro something to help me know what it stopped on? Where it...
  15. Z

    Help Excel stops working after I Select Macros from the DropDown box under the prompt Choose command

    For some reason I have 2016 excel. When I right click ribbon and choose Customize the Quick Access Toolbar. Then under Choose commands from: I select Macros the excel sheet stops responding. I am trying to add my icons for my macros and cant. I did restart computer but same problem. Anyone know...
  16. N

    VBA written with 2007 -not responding with 2016

    Hi I've recently upgraded to Excel 2016. A webscraping programe written with 2007 stops working (not responding) with Excel 2016 It'll start to loop through a list of websites but just stops responding after 3 or 4. I've tried exporting the mod,saving as a non-macro workbook and importing the...
  17. W

    Indirect

    Really do struggle with this I have this formula which equals 21 =MATCH(Table11[[#Headers],[CTZ3]],Overseas!$A:$A,0) I need the 21 in the following to be replaced by the first formula =SUMIF(Overseas!$4:$4,[@[Week Commencing]],Overseas!$21:$21) I guess it's INDIRECT but that's where my...
  18. C

    Count across multiple worksheets

    Hi there, I've created a workbook and need to count the number of cells containing letters across the same row in the 12 worksheets. My formula so far is: =COUNTIFS(October!B5:AF5,"=V",November!B5:AF5,"=V") I need to include all the months of the year (12 worksheets) The formula will...
  19. A

    If(AND

    Hi All, I have this formula: =IF(AND(G301<>0,G301<>"N/A"),IF(TODAY()>=G301,"Yes","No"),"") It works for some of my spreadsheet but then stops. Any ideas why?
  20. B

    VBA to export a table to CSV/TXT

    Hi guys I'm after some VB to simply select a table within an Excel worksheet (not the full worksheet, just the table including it's headers) and output it as either a txt file or a csv. I did an extensive Google search for this and found loads to try but can't quite get any of them to work -...

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