Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Identifying rows selected by filter

Scenario:
Our course details are held in a single spreadsheet with a column
identifying the Curriculum Area. For each Curriculum Area we need to publish
data from this spreadsheet on our intranet.
Requirement:
Filter this spreadsheet by Curriculum Area and code a macro to write the
HTML <table code for all selected rows to a text file.
Problem:
How do I identify programatically the rows selected by the filter so that I
can read through these rows only and write <tr <td lines for each one?

Thanks for time,
Fred
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Identifying rows selected by filter

Fred,

You want to use special cells method-

Dim rng as Range

For each rng in Range(Curriculum Area).SpecialCells(xlCellTypeVisible)
do something with rng
Next rng

--
Chris Farkas
Excel/Access Developer
http://www.eAlchemy.biz


"Fred Davis" wrote:

Scenario:
Our course details are held in a single spreadsheet with a column
identifying the Curriculum Area. For each Curriculum Area we need to publish
data from this spreadsheet on our intranet.
Requirement:
Filter this spreadsheet by Curriculum Area and code a macro to write the
HTML <table code for all selected rows to a text file.
Problem:
How do I identify programatically the rows selected by the filter so that I
can read through these rows only and write <tr <td lines for each one?

Thanks for time,
Fred

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
Data Filter on Selected rows and columns Mike Excel Discussion (Misc queries) 2 December 7th 09 08:36 PM
Using Advanced Filter: How do you MOVE the selected rows... ravif Excel Worksheet Functions 3 June 29th 09 10:25 PM
No. of rows selected from auto filter not visible on toolbar? Asif Akbar Excel Discussion (Misc queries) 2 September 22nd 06 01:05 PM
Identifying the Selected Cell Warderbrad Excel Programming 2 November 23rd 05 04:21 PM
Identifying the selected Shape Jerry[_20_] Excel Programming 1 August 7th 05 07:15 AM


All times are GMT +1. The time now is 02:03 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"