+ Reply to Thread
Results 1 to 2 of 2

Delete row from workbook 1 if value exists in workbook 2

  1. #1
    Registered User
    Join Date
    03-12-2015
    Location
    marlow, uk
    MS-Off Ver
    Office for Mac 2011
    Posts
    17

    Delete row from workbook 1 if value exists in workbook 2

    Hi there,
    I've never created any Macros/VBscripts before, so I started by googling what I need to do and found a couple of useful resources but not really knowing enough I was unable to make any changes to do exactly what I need so I've come here to find some more help.

    I have a supplied list of users with email addresses in column A. This workbook has a single sheet.

    I also have a reference list of opted-out users I need to exclude, the email addresses exist in Column A here too, however there are multiple sheets and the user can exist on one or more (or none) sheets.

    I need to run the script in the supplied file to delete any rows if the email address in Column A matches anywhere in all sheets of the reference file.

    Can anyone point me in the right direction? All the answers I've found refer to single sheets in two workbooks or to two sheets in the same workbook.

    Thanks everyone.
    Gav

  2. #2
    Registered User
    Join Date
    03-12-2015
    Location
    marlow, uk
    MS-Off Ver
    Office for Mac 2011
    Posts
    17

    Re: Delete row from workbook 1 if value exists in workbook 2

    Can anyone help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Delete sheets and create a new workbook in Shared Workbook.
    By honger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2014, 01:35 PM
  2. Test if Workbook property exists
    By djblois1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-20-2012, 03:04 PM
  3. If sheets exists in another workbook overwrite it
    By Mistweaver in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2009, 12:57 PM
  4. [SOLVED] [SOLVED] delete workbook from one location and save workbook to new locatio
    By Damien in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-03-2006, 10:40 AM
  5. [SOLVED] re: Automatically Delete WorkBook 2 modules by using Workbook 1 module
    By ddiicc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2005, 08:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1