stop

  1. B

    Process Multiple rows and STOP Macro

    I have a macro that will process multiple rows of data. It goes line 2, then line 3, then line 4...etc.. The problem is each row takes 21s to process and I have 65,000 rows. I don't mind letting it run but due to other things I'll need to STOP the macro. I've tried the esc button or controlBreak...
  2. immyjimmy

    Excel related, but not formulas or visual basic

    Hello... My work computer was recently upgraded and Excel now is hiding workbooks that I have open. I'm not hiding them, but until I found out about how to find hidden files, thought I was losing them. When I Googled "excel hides my workbook and I can't get it to stop", I found all sorts of...
  3. D

    How to stop Excel from opening several workbooks connected to it

    Hello! I have a workbook with connections to 4 seaparate workbooks. All of a sudden when I open the main workbook, it opens all of the files connected to it. This did not happen before. How could I stop Excel from doing this, while refreshing the connections as it used to? Cheers
  4. T

    Trim Formula Not Working in Macro

    I appreciate any help on this. Not sure why but the "Trim" formula I'm using in this macro doesn't seem to work. I'm trying to add this formula to the entire column A and it's reading names from column B. Here's what I have: Sub AddFormula() Sheets("Loan_Info").Select Range("A1:A" &...
  5. K

    VBA code: msg box if sum of cells do not equal cell "A1"

    I need a code to stop the other codes from running if the sum of cells O16:O26 do not equal cell O10. Also need the msgbox warning. This is what I've found so far. It's not working for me. Can anyone help? :) Private Sub Worksheet_Change(ByVal Target As Range) If...
  6. JenniferMurphy

    Does Stop in a sub-procedure always persist to the caller?

    If I write a general-purpose error handler that, among other things, executes a Stop statement under certain conditions, can I be assured that it will persist past the termination of the sub-function and allow me to continue stepping through the caller using F8? I have tested it and it seems...
  7. T

    VBA Filter for $-

    I'm trying to filter, not sure why its not workig, I seem to always have an issue with the does not <>, there's a formula in that cell, but it shouldn't matter I wouldn't think. With ActiveSheet .AutoFilterMode = False With Range("a2:m2" & lRow) .AutoFilter...
  8. JenniferMurphy

    VBA: Stop vs Debug.Assert?

    What's the difference between Stop and Debug.Assert in VBA code? Thanks
  9. R

    Stopping code from inside a userform??

    My code calls a userform within which I placed a "Cancel" button intended to stop all code. However, I can't figure out how to make that cancel button actually stop the code. I tried a global boolean but despite being set true in the userform form, it stayed set as false in the code that...
  10. L

    how to stop this loop - vba

    Hi I ran the code below forgetting to add x=x+1 and excel displayed the message box and no matter what I do, the msgbox wont go and everything got frozen. I had to go to task manager and end the process. Any better way to stop that without losing the code. Thank you Sub mywhile() Dim x As...
  11. L

    If then statement question

    Hi, how do I create a If Then Statement to compare ANY of the values in let's say cell B1-B200 to A1. See typically the If then Statement to compare a single value would be = if (B1>A1, "STOP", ""), but now we need to test B2 to 1, B3 to A1, B4 to A1.... and have a message stop if ANY of the...
  12. kelly mort

    Only stop when left of Decimal Point is changed

    Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) With TextBox1 If InStr(.Text, ".") > 0 Then If Len(Split(.Text, ".")(1)) = 2 Then KeyAscii = 0 End If Select Case KeyAscii Case Asc("0") To Asc("9") Case...
  13. S

    Cells showing up with 0 when blank

    I have a workbook with cells linked via copy and paste link. Thing is when cells are blank the corresponding cells that linked to they are showing as "0". Is there anyway I can stop this happening.
  14. E

    Stop Access from automatically coming to the foreground?

    Greetings all, I wrote a VBA program in MS Access that generates and saves dozens of PDF reports. The program works great but every time a report is saved Access jumps to the foreground, preventing me from working. Is there anyway to stop this? Thanks in advance for any help offered.
  15. T

    Stop ranges within formula from moving when a new row is added

    My array formula below works BUT, I think I need to apply maybe an INDIRECT function to stop the ranges from moving when I add a new row to my data set. Can anyone help? {=IFERROR(INDEX('EIRF Tracker '!$N$9:$N$2000,MODE(IF('EIRF Tracker '!$G$9:$G$2000="Injury",IF('EIRF Tracker...
  16. D

    vba code to go back one tab

    Is there a code that I can use to go back one tab stop on a userform?
  17. T

    Need Help with Dates

    <tbody> Manufacturer Start Stop Total Days: ITRAQ 1/15/2019 1/30/2019 15 2nd Phase Start Stop Total Days CAT MEMO 1/31/2019 2/1/2019 1 HW/SW LIST "" "" 1 Arch "" "" 1 PPSM "" "" 1 MEMO "" "" 1 Criteria "" "" 1 CERP# 2nd Phase Total Days: 6 Total Days in Total 21 </tbody>...
  18. D

    Stop macro from running

    I've read so many threads, but still cannot determine what code to use: When the cancel button is clicked in a userform I want everything to stop. Data entered in the userform to be lost, the macro that called the userform to stop completely, and cell A1 of Sheet 1 to be selected. Should be...
  19. H

    Shifting cells on a 1 second interval

    Hi, I am wondering if it's possible to have excel take a live value being read through RS Linx and place that value in a cell then shift all the cells down in that column once every second. Basically I am trying to store data that I can build trend files with. Also I would like to be able to...
  20. C

    Excel File opens as hidden

    Hi all, I am opening a file from a shared network drive that when opened automatically gets hidden. This only started a few days ago and only happens to me and not other users of the file. Does anyone know how this could happen and how I can stop it ? I don't know much about VBA but there...

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