Wrox Programmer Forums
BOOK: Access 2010 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2010 Programmer's Reference by Teresa Hennig, Rob Cooper, Geoffrey L. Griffith, Jerry Dennison; ISBN: 978-0-470-59166-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2010 VBA Programmer's Reference 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 October 27th, 2014, 05:51 AM
Registered User
Join Date: Oct 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post How to sort partially related data in a column.

Hello Everyone

I am facing an issue while creating a Macro in VBA. We have a sheet which consist entries in 1000's. The entries in a column is combination of correect and partially correct entries.

Ex -

ABC company LTD
Company ABC LTD

I can't use Excel function to sort such entries.

Is there a way to create Macro which will filter such result in a column and sort the related data one after the other. Like the way it is appearing in the example above.

Is it possible to create a macro and put condition in this column, like in the above example if it find the word "ABC" in the column, move both the correct and partially correct entry with its adjustant data to other/adjucent sheet and that to in sequencial order.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort a column with complex keys saikrishnan7 Excel VBA 1 May 21st, 2011 03:02 PM
How To sort Gridview Column bt Time Only rao965 ASP.NET 2.0 Professional 0 May 22nd, 2009 04:30 AM
VBA Column Sort Order and numbers Jack1000 BOOK: Access 2003 VBA Programmer's Reference 1 October 5th, 2006 10:53 PM
Datagrid fails to sort date column correctly ysiline ASP.NET 1.0 and 1.1 Professional 2 July 11th, 2006 12:09 PM
How to sort a column in data grid: kenn_rosie ASP.NET 1.0 and 1.1 Basics 1 January 26th, 2006 02:03 PM

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