exist

  1. J

    Running a query to yield blank/non existent data

    Hello! I have been struggling with producing a query that will pull all data from one field in a table that doesn’t exist in another table. I have two tables. The first table holds all employee information. The second table holds log in/log out information. I want the query to pull the...
  2. Y

    How to find article with old link?

    In one of the articles, it refers to this link: http://www.mrexcel.com/forum/1960139-post5.html The link is no longer valid. Does the article still exist? How to find it?
  3. J

    VBA error select sheet

    Have a code to select a sheet. If the sheet dont exist I want a message box telling the sheet dont exist. Otherwise want to select the sheet. Sub Open_TB3() Dim entity As String Entity = InputBox("Select entity") if error Sheets(entity).Select then messagebox (The entity does not...
  4. D

    How to highlight Unique values between two sheets

    I have client numbers on a sheet called ABQ_IMPORT in the A Column and I need to see if they exist in the sheet i have called 2018 in Column B. If they do not exist on the 2018 sheet I need something to happen to notify end user like a conditional formatting to tell user that it doesn't exist.
  5. R

    Identify Unique Value Only

    Hello Everyone, Hope you are fine. I have a spreadsheet and there is a column contain duplicate value. Pls find below for example <tbody> A B C D 1 1200 2 1500 3 1200 4 1700 5 1200 </tbody> I need a formula in B1 where result should be like below: <tbody>...
  6. R

    "Dir" problem

    Sub getCountryFile() Dim filePath As String filePath = "z:\allUK\EVR" If Len(Dir(filePath)) > 0 Then Workbooks.Open (filePath) Else Debug.Print "doesn't exist" End If End Sub Where filePath is valid, and the Workbooks.Open works fine if tried outside the...
  7. I

    Msgbox question

    Please can you advise how to re-arrange the way the msg text is shown. The current code in use is shown below which reads "33 Photo Doesn`t Exist" I would like to have it read "Photo 33 Doesn`t Exist" MsgBox Target.Value & " Photo Doesn't exist! ", vbCritical, "No Photo Found"
  8. G

    Problems With "If Sheet Exists"

    Sub Main_Import() Dim sht As Integer Dim worksheetexists As String ' Dim Wsht As Integer ThisWorkbook.Unprotect sht = Application.Sheets.Count worksheetexists = False For x = 1 To sht If Worksheets(x).Name = "PDF2Text" Then worksheetsexists = True Exit For End...
  9. L

    Having trouble with a IF/VLOOKUP formula that has conditions

    Hi, I'm having trouble writing a IF/VLOOKUP formula that will either show the cell as blank when the cell being looked up is blank, contains an asterisk or when the cell being looked up doesnt exist in the table, and when the cell is found and doesnt contain an asterisk then it returns the...
  10. N

    ByRef argument type mismatch

    Hi guys, I am writing a code to check if a user input sheet name exist in the workbook. Here is what I done: Function SheetExists(SheetName As String) On Error GoTo no: WorksheetName = Worksheets(SheetName).Name SheetExists = True Exit Function no: SheetExists = False End...
  11. M

    How to check if a Text Box doesn't exist? My code below

    Hello everybody! I want to loop through a worksheet which contains inserted TextBoxes. However, the "name" of TextBoxes don't follow each other in a logical way (not 1,2,3..., 100 and so on) It shows sometimes some skipp: 2-3-4, 6-7-8, 10-11-12 because of the paste) I try to skipp the textbox...
  12. S

    Comparing 2 lists and highlighting cells.

    Hi, I am new to Vba and have picked up a lot but I still need some help with a spreadsheet I am putting together. I have two sets of stock sheets (on separate worksheets) in the same file that I need to compare to see which ones exist in one that don't in the other and then highlight them. I...
  13. N

    Error message if data does not exist while filtering

    My macro below will filter out data starting with "PB*" However if the data "PB*" does not exist then pop out a error message box saying " unable to find product pb*" How can I enhance the coding to add a message box into this macro? <code style="margin: 0px; padding: 0px; border: 0px...
  14. 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"...
  15. H

    Check if files exist

    Hi, Could someone help me with writing a macro that, could check of some files already exist? Basically i have different file names (PDF) in column A(100+ rows), that i want to check if they exist in a folder. if they do i want the cell next to it in column b to be green and write "OK" if not...
  16. ask2tsp

    Does Powerpoint have a macro recorder?

    In Excel I sometimes use the macro recorder to get me started. I was looking in PowerPoint but can't find it. Does it exist? And if it does, how to use it?
  17. M

    I, L, O, U chart

    In the chart they use block letters. (square). I don't seem to be able to fine the I, L, O, U in block format. does anyone know if they exist, or if I can create them some how? Thanks Mikal
  18. M

    Search worksheets and if not found msgbox

    Hi I have the following code which will search all wksheets for a given name (or part of) and I would like to display message if wksheet does not exist. However when performing the searching the msgbox will pop up each time to say it does not exist before it has searched all wksheets. is there...
  19. J

    Compare 3 column values wit other 3 column values?

    hi all i have this: 4 AA 100.67 1 FF 310.21 2 BB 210.56 3 GG 119.12 1 FF 310.21 2 BB 210.56 3 HH 119.12 4 AA 100.67 if you see, all 3 first columns exist on the other group... right Except 3 HH 119.12 and 3...
  20. H

    If file not not exist clear data

    I have the following macro below. Where file does not exist, the data to be cleared in active sheet from A19:AA100 Sub DataRefresh() Application.DisplayAlerts = False Range("E14").Select Selection.QueryTable.Refresh BackgroundQuery:=True Range("G19").Select...

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