Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 23rd, 2015, 04:57 PM
Registered User
 
Join Date: Jul 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Excel find and return macro

I have an enormous sheet that has every single parcel in the County I work for. I want to be able to target subdivisions where the land value has a deviation throughout a range of parcels. For example: 123-45-100 through 123-45-900 should all have a lot value of $5,000. Can I program a macro that compare the first two group of numbers (map/book) 123-45-xxx and then returns any values in the land column that varies from a "most commonly found" value?

Apologies if this is a duplicate, I lack the vocabulary to adequately describe the macro I want to make.
 
Old July 23rd, 2015, 10:19 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Find method will help you to get the match. If there are multiple matches please use the following

http://vbadud.blogspot.in/2007/10/ex...ethod.html?m=1
Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old October 31st, 2015, 09:38 AM
Authorized User
 
Join Date: Oct 2015
Posts: 48
Thanks: 0
Thanked 5 Times in 5 Posts
Default @Shasur - Excel find and return macro

Hi @ Shasur, I found that link - FindAll - to be very interesting.
__________________
Nostalgia 4 Infinity





Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 - Need Macro for Insert Column in excel chandransumesh Excel VBA 1 July 29th, 2012 10:08 PM
ASP.NET AJAX: $get and $find return null bmains ASP.NET 3.5 Professionals 0 July 15th, 2008 09:15 AM
VBA Macro FIND THIS MONTH in a given range mvatoi Excel VBA 3 August 24th, 2007 08:12 AM
Excel 2000 vs Excel 2002 Macro Issue williadn Excel VBA 1 July 14th, 2005 09:09 AM
Excel 4.0 macro sezak99 Excel VBA 1 September 21st, 2003 11:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.