exists

  1. sharky12345

    Check if Module exists

    I'm trying to find a method to identify if a specific module exists in a project. I've tried this but it doesn't work - is there a simple solution? If ActiveWorkbook.VBProject.VBComponents("Setup") <> "" Then
  2. A

    "Workbook.Close with Save Changes" gets error that file already exists

    I'm trying to save changes to a file and close it. I've read enough posts to understand that I need to set DisplayAlerts to False, but I still get that dang error that the file already exists and do I want to "save a copy". The file was created using a prior "SaveAs" command. I noticed is...
  3. L

    The Evaluate function drops a leading zero

    Hi is there a way to use the VBA Evaluate function and have it retain a leading zero, if the zero is there? I don't want to add leading zeros I just want it to be kept if it already exists. Thanks L
  4. kelly mort

    Vba list items separated by comma when conditions met

    I have a table that I have names in column A then inside column G are numbers. Column A is in range A17:A25 then G is also G17:G25. So in cell A16, I want to get all names that have values greater than 10 in column G. These names should be separated by comma. And if only one exists then no...
  5. S

    How to Save as based on values in cells if the name already exists

    So surprisingly I didn't find such a simple addition to the save as macro that already exists. So I created it myself. There is already a macro that does saving as based on value in cell, but when this file already exists it pops up an error if you don't replace the file My objective was to...
  6. dmxcasper2

    Aging question

    <tbody> A B C D E 1 Date Action Was Opened Commitment Date Re-Commitment Date Late to Commitment Aging 2 11/15/2018 12/10/2018 12/12/2018 3 </tbody> Problem Statement: Today's Date minus (oldest date of Column B and C, if only one date exists in either of those columns, use that...
  7. C

    New entry of number, if it already exists, it will not let user enter

    Here is a code that gets a formulated line from another sheet, inserts and then takes data from another sheet to transpose it. I wanted to add to this code, but if the number entered in E5 already exists, I wanted a message to pop ups and say, "Job already exists" and they click ok. myabe you...
  8. I

    Rearrange msgbox text order

    Hi, Below is the current code in use. MsgBox .Text & Chr(10) & "This Invoice Number Exists", vbCritical, "Duplicate Invoice Number" This returns the message, 44 This Invoice Number Exists. I am trying to get the output message to be like, Invoice Number 44 Exists I think ive had many...
  9. JazzSP8

    If Exits in this table use this, if not use that one?

    Hey All I'm treading water in Access again :-/ I'm pulling together some data from various locations, one price field in has two different versions, a "now" and a "future" both held in different Tables. I want to be able to edit my Query so that; "If the price exists in the Future, use the...
  10. E

    Macro check if named option button physically exists and then do action accordingly?

    I am using Excel 2007 I have a worksheet called Sheet1 On this worksheet I have two option buttons : ActiveSheet.Shapes("OptionButton1") ActiveSheet.Shapes("OptionButton2") These two option buttons can be deleted by a macro depending on what a user does. I need a macro that can do the...
  11. O

    index small if - multiple criteria

    Hi all, Messing around with a formula and struggling to make it work. it is an array formula, currently it works with one condition, but i do not know how to get it working with multiple conditions. the formula: =IFERROR(INDEX('All Orders'!$A$1:$A$500,SMALL(IF('All...
  12. S

    Duplicate entries Check

    Hello All, Need to create a format or validation check, when updated new entry. <colgroup><col span="4"><col></colgroup><tbody> Item Bng Chn HYD Remarks 1 Yes Yes Yes 2 Yes Yes 1 Yes Already Exists 2 Yes Yes Already Exists </tbody>
  13. T

    vba add "space" at the and of the sheet' name if already exists

    Hi, Guys, code createsa copy of sheet “Main” and changes its name to a value from Sheet(1) cell C4. Could youpls help me and give some advice how to check if the sheet with that namealready exists and if yes, display a msgbox “already exists” with two options: “abort”and “add”. When “add” is...
  14. M

    Multiple VLOOKUP in One Cell

    I have a formula in K12 as seen below =IFERROR(VLOOKUP(F12,Table!A:W,23,FALSE),"") I want to modify it to look at values in both F12 and H12, so I created the following =IFERROR(VLOOKUP(F12&H12,Table!A:W,23,FALSE),"") Even though the formula did not error out (syntax must be correct), I am not...
  15. A

    Excel 2016: VBA Code to check if a value exists in a Table Column

    Can anyone tell me or point me to a link that can tell me how to check if a value exists in a Table Column? I know how vlookup, is similiar? Application.VLookup(x, Worksheets("Module").ListObjects("tbl1").Range, 8, False)
  16. C

    If X exists in $A3 and Y does not exist in $A3 then display Y

    I'm trying to compose a formula for if X exists in $A4 and Y does not exist in $A4 then insert Y Please see sample spreadsheet snippet below. The closest I've come is =IF(ISNUMBER(SEARCH(B$2,$A4)),B$3,"") which only checks if X exists then inserts Y. Having trouble with the "does not exist"...
  17. S

    How can I find all rows where a value exists and put the rows into a new table?

    If I have two tables, table A (1st table) and Table B (2nd table), and I want to find rows where the ID columns match but either the currency or amount don’t match….how would I do this?I can find where the IDs exist in both tables (col J) by...
  18. B

    check if a certain string exists in entire workbook

    Dear people, Does anyone know a VBA solution to check whether a certain string exists in a whole workbook? (true or false would be enough for me) It should not match entire cell content, because sometimes there is a space in front or behind the string that I am looking for. Best regards, Bas
  19. B

    Compare delimited strings to a list

    Hi I have a workbook with two columns A & B. Each cell in Column A contains delimited strings: Example A1 contains OT6, PA3, PU4, PR2, PL8 A2 contains: AP3, AP, AP4, AP10 I would like to compare these cells in column A to a list in column B and return the answer if any of the values in A1 or...
  20. R

    Test to see if sheet exists fails to test a graph sheet.

    Hello In the following code I am trying to see if a worksheet exists and if not I want to create a graph as a worksheet (I am not sure what the propper term for this is). However the test does not test the worksheet that contains the graph only the regular worksheets. Any help to determin if the...

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