error

  1. wpennajr

    Excel VBA function returning #VALUE

    HI all, I'm new to this forum so forgive me if my question has been answered before, but I searched the FAQ and I didn't find an answer. I'm creating an Excel function to perform a statistical test. Basically, the input is a range of cells containing my data set. Then I create an array with...
  2. S

    Runtime error 1004 when save as

    So the function is working as how I intended, just that after it finishes saving as it keeps the last workbook opened and the last created worksheet still opened. how do I prevent the error from popping up? Sub CreateBranchSheets() Dim BranchField As Range Dim BranchName As Range Dim NewWSheet...
  3. W

    VBA Code next line continuation

    Hi one and all, I am trying to use VBA to put a very long formula into a cell, why such a long formula? Don't ask! When the code is entered into the cell as a formula, manually, it worked fine. But after coding the formula into VBA using multiple next line continuations " _" (because it is such...
  4. U

    Anyway ignore excel error about + or = or - sign that written at first cell

    Hi guys anyway ignore or terminate this error and write + or - at first cell as a text?
  5. S

    Can't enter formula from cell using vba

    Hi All, There is a problem depicted below. There is a cell B6 with a formula (does not matter what is the formula, a formula in principle), which is shown in cell B7 using FORMULATEXT function. Cell B8 contains this formula in the macro format obtained using the macro recorder. Now the...
  6. D

    Check if a value exists in 2 columns and return true/false

    I'm trying to make a formula that checks if a code exists in 2 existent columns, if it exists in BOTH, it returns a text, that part works perfectly, I used If, And, Match for it. But when i tried to get the other half, when it exists in only one of both (X-Or) it returns error, because of the...
  7. B

    Help with error handling, I need to retry the step

    Hello below is a code I use however sometimes I encounter problems with certain lines that I need them to repeat that step then continue. Looking for some help here, thank you Sub GetDatafromEdge() Dim findby As New Selenium.By Dim driver As New WebDriver 'Set driver = New WebDriver Dim keys...
  8. F

    SUMPRODUCT(COUNTIFS(INDIRECT

    Hi, I am attempting to use two countif conditions across multiple sheets (which I have named "Tabs" in name manager) to count how many times a job is raised for an item with a certain reference number in a particular year of its ownership. I have used a no. of forum posts to get me to where I...
  9. D

    Help fix Extra Spaces and other errors

    Hi, So I've been working on like 20 different CSV files, these are all products we sell, the task was to find specifications for each product, the specifications columns could range from 3 to 20. Some CSV files contain 1500 products others 100, different CSV because of the different categories...
  10. P

    VBA, iterate over filtered table and use values

    I would like to filter my table, then use a macro to go over every ID that is still visible, past this on the form of the next sheet and print that sheet. I made the following piece of code and it works as I want it too. I opened the file to day and tried to save it but I couldn't save it. So, I...
  11. D

    Xlookup, If, etc formulas and the dreaded #Value! that comes with "" when pasting as values

    In xlookup you can define what your error response is ~~ =xlookup(a3,b:b,c:c,<whateveryouwantyourerrorresponsetobe>,option,option). Typically I use "" as my error response. However when you copy the cell and paste as value (the result being an error state equaling "") in another cell...
  12. K

    Subscript out of range error

    I'm trying to pass data from one excel sheet to another, but when I run the program it gives a "Subscript out of range" error, can someone help me? Public Sub recentFilesSpecificFolder() counter = 14 Dim myFile As String, fileExtension As String Dim myRecentFile As String...
  13. C

    Referencing cells in another workbook error

    Hello I have a workbook that recives data from an external source (WB01). I am trying to create another workbook (WB02) that looks at certain cells in WB01, as the data in WB01 changes then the this is reflected in WB02. I have both workbooks open and they are in the same folder (I have no...
  14. K

    Can someone tell me how to leave the number with only 4 decimal places?

    The "error": The code: Dim oPL As Double, o709 As Double, o710 As Double, o713 As Double Application.ScreenUpdating = False Sheets("Calculation_Sheet").Visible = True ActiveWorkbook.Sheets("calculation_sheet").Activate Note: P666, P709, P710 and P713 are global variables...
  15. K

    can someone explain this to me?

  16. A

    Object library invalid or contains references to object definitions that could not be found

    Hello, I have been using the same workbook for over a month now with no issues. Today, upon clicking a button that has always worked fine, I get the error "Object library invalid or contains references to object definitions that could not be found". Can anyone help? I am completely stuck and my...
  17. E

    Range of Objects Error

    I'm running into a Range of Objects Worksheet Failed Error for some reason and I cant understand why. All I did was add the following code to the set of ranges in the Target Range in the sheet code, and all of the sudden I'm having errors when entering text into the any of the cells within the...
  18. G

    If Not IsEmpty Error

    Hello, Some context for this issue. I am trying to move over this whole VBA code to my personal book that is stored in XLSTART and run the macros off that moving forward instead of having them in the reports themself. The code below works fine in the document on its own but doesn't work when I...
  19. G

    Range VBA Errors

    I've got this range I'm trying to work with and do the following but I'm getting an error message for application or object-defined error. When I use the full range it seems to be the AB sections that are causing the problem. When I delete everything and just use the AB Range it works fine...
  20. S

    BI Will Not Apply Query Changes

    I have run into an issue when attempting to update and add new queries in BI. When adding a SQL query with no additional steps, the preview runs, but when I go to apply it, it doesn't do the query type selection and then doesn't apply the changes. It still notifies me that here are changes to...

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