Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2018, 08:34 AM
NoSparks NoSparks is offline unable to retrieve data Windows 7 64bit unable to retrieve data Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

No cells in column A contain OFM and KH.
I suspect the filter operator should be xlOR,
and you've changed things from the original file displaying rows where A is not OFM to displaying rows where A is OFM,
and neither line displayed after filtering for OFM or KH has Collar & Cuff in column M.

So, I'm not sure what it is you want the filters to do, can you put into words, what should be displayed on screen after the filters have been applied.

Quote:
and whenever i click on the button it would paste the same row again.
it there a way for it to not have duplicate?
Excel has a built in Remove Duplicates function on the Data Ribbon in the Data Tools section.

Also, please alter the clear what's left section of code to be
Code:
        ' clear what's left
        On Error Resume Next   'suppress error notification in case nothing visible
        .Offset(1).SpecialCells(xlCellTypeVisible).ClearContents
        On Error GoTo 0         'remove suppression of error notification

Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to retrieve data "word was unable to open the data source" error meganadand Mail Merge 6 02-27-2020 11:25 AM
unable to retrieve data Retrieve the last activated document name. eduzs Word VBA 1 08-22-2017 03:11 PM
Unable to open Outlook, receiving message unable to open because (myaccount)@gmail.c Flyin' Aces Tattoo Outlook 0 04-20-2013 11:56 AM
Retrieve PPS files uncledewey PowerPoint 2 08-10-2012 09:08 AM
Microsoft Scheduler retrieve Calendar data badda Office 0 11-22-2009 06:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft