Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Create Report

I am creating a report in Excel. I have Sheet1 with a list of names.
Accross from each name is a row with codes such as 'T' or 'D'. I need to
grab all the names that have a 'T' in their row and put the name values in
another worksheet where I am creating my report. We will call this Sheet2.
This seems so simple but I am new to Excel and do not know how to use VBA to
loop through a worksheet looking for certain values and using them somewhere
else. Any help is greatly appreciated.
--
Robert Hill

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Create Report

You don't need VBA code for that. Use the menu Data | Filter. Then
filter the range to show only rows with, say, T. Copy the filtered
range (or only part of it) elsewhere. The hidden rows will not be
copied.

Hth,
Merjet


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Create Report

Thanks. I need for this to be done programatically. I am turning this over
to a user and this report is created each 6 weeks. All they will do is click
a menu button and the report will be created.
--
Robert Hill



"merjet" wrote:

You don't need VBA code for that. Use the menu Data | Filter. Then
filter the range to show only rows with, say, T. Copy the filtered
range (or only part of it) elsewhere. The hidden rows will not be
copied.

Hth,
Merjet



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Create Report

Turn on the macro recorder. Use the filtering process I described
above. Turn off the macro recorder. Then you will have the VBA code
that can be rerun with a couple of clicks.

Hth,
Merjet


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a Tickler report using MS Excel? RichardCred Excel Discussion (Misc queries) 1 April 2nd 23 01:49 PM
create a chart to report statistics mjbleo Charts and Charting in Excel 1 April 5th 08 06:50 AM
how do i create a report from a matrix dunskii Excel Discussion (Misc queries) 0 September 19th 06 05:23 AM
create report in worksheet AskExcel Excel Worksheet Functions 1 July 8th 06 11:23 AM
Create a report from different files Tom Velnosky Excel Discussion (Misc queries) 5 July 27th 05 05:24 PM


All times are GMT +1. The time now is 11:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"