Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old March 2nd, 2004, 12:51 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Search criteria, create new worksheet

I just want to know if this is possible:

I want to compare a certain column in a worksheet against 15 search criteria. If any row contains a column that matches one of the criteria, I want that row taken out and put into a new worksheet. The first row that matches should create the new worksheet, and any additional matching rows should be added to it.

Thanks.
  #2 (permalink)  
Old March 3rd, 2004, 01:37 AM
Authorized User
 
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes this is possible through the VBA programming in Excel. You can use the Excel object to complete the same task.

Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team
  #3 (permalink)  
Old March 4th, 2004, 11:12 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What do you mean by Excel object? I've done some programming in the past (5 years ago), but I've never done any work with VBA. I don't even know how to execute the program from within Excel. I have an idea on what layout I want to use but I don't know any of the VBA syntax.

  #4 (permalink)  
Old March 6th, 2004, 10:56 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got it working.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create event for new worksheet sektor Excel VBA 0 May 28th, 2008 01:48 AM
Multiple Search Criteria in a Form tet Access VBA 5 October 27th, 2007 08:54 AM
'Search Form' based on criteria Grafixx01 Access 7 May 4th, 2007 09:39 AM
creating a web page with multiple search criteria ktsis ASP.NET 1.0 and 1.1 Basics 2 May 19th, 2006 06:01 AM
special characters in search criteria Paulsh Access 1 September 19th, 2005 11:19 PM





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