on error

  1. D

    Macro inc. on error go to start, import image, crop image

    This is a Macro that has taken me weeks of research to write, mainly because I have had no experience with Macro before and finding the information on how to write the different codes took alot of research so I am sharing this Macro on here so that anyone struggling with any part of their macro...
  2. S

    Resume Next

    Hey everyone, I am having some trouble with this one. I am finishing up a very large VBA. There are three instances where I select a column, search for a particular word (i.e.- "MOVE") and select that cell. That works perfect. The problem is when the word is not found. Once in a while, that...
  3. S

    "on error" command not exiting if loop

    I want to look and see if a file exists (based on a date entered into an input box). If the file exists, I want to delete the file. If the file does not exist, I want the macro to move onto the next line without an error message. The code below works when the file exists but gets stuck on the...
  4. T

    On Error show msgbox with Ln XX, Col XX

    Is there a way you can make errors show as the code name and ln, Col numbers instead of error debug/End I have a workbook that anyone uses and id rather the user contact me with a error code so i can see where the error occured
  5. A

    Better VBA Vlookup

    Hello and thank you for looking at my question. I have the following vlookup VBA code On Error Resume Next x = WorksheetFunction.VLookup(tpmWS.Cells(i, j), dataWS.Range("A1:D" & LastRow), 4, False) If Err.Number = 0 Then tpmWS.Cells(i, j + 14) = x The issue I am having is that...
  6. K

    Looping / Resume Next??

    I am trying to create code to control an inventory tracking sheet. I have 4 sheets in my workbook: Master, Add, Remove, & Not Found. On the Master sheet I have a list of products each with a unique ordering part #. On my sheet named Add I have a list that gets generated by ordering part number...
  7. K

    On error

    Hi Have have below code, but even if there are no errors its displaying err: Sub ref() On Error GoTo err Application.ScreenUpdating = False ActiveSheet.Unprotect Password:="htc" ActiveWorkbook.UpdateLink Name:= _ "C:\Documents and Settings\OpsTL1\My...

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