Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to Delte Multiple Rows Given a Value Existing


Please can someone suggest a way to do the followin.

I want to check for the existence of a workbook in a director
"C:\Audit".

If the workbook(Name not specific) exists i then want to check eac
worksheet for the occurence of the string "Green" or "Red" or "Yellow"
If Column F contains any of the strings "Green" or "Red" or "Yellow"
then want to delete the entire row.

Obviously there will be a non specific number of rows and will var
each time, on each sheet.

Having deleted the rows as mentioned i then want to save the workboo
to a folder "C:\Audit\Final".

I would also like the workbook filename to have the date (forma
"dd-mm-yy") as part of it.
eg.
"22.10.04 Audits.xls"

Many thanks for any help

--
Jak
-----------------------------------------------------------------------
Jako's Profile: http://www.excelforum.com/member.php...nfo&userid=871
View this thread: http://www.excelforum.com/showthread.php?threadid=27169

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How to Delte Multiple Rows Given a Value Existing

Hi
as a starting point:
http://www.xldynamic.com/source/xld.Deleting.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Jako" schrieb im Newsbeitrag
...

Please can someone suggest a way to do the followin.

I want to check for the existence of a workbook in a directory
"C:\Audit".

If the workbook(Name not specific) exists i then want to check each
worksheet for the occurence of the string "Green" or "Red" or

"Yellow".
If Column F contains any of the strings "Green" or "Red" or "Yellow"

i
then want to delete the entire row.

Obviously there will be a non specific number of rows and will vary
each time, on each sheet.

Having deleted the rows as mentioned i then want to save the workbook
to a folder "C:\Audit\Final".

I would also like the workbook filename to have the date (format
"dd-mm-yy") as part of it.
eg.
"22.10.04 Audits.xls"

Many thanks for any help.


--
Jako
---------------------------------------------------------------------

---
Jako's Profile:

http://www.excelforum.com/member.php...fo&userid=8710
View this thread:

http://www.excelforum.com/showthread...hreadid=271697


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
find and delte duplicates Nick Excel Worksheet Functions 2 July 27th 09 03:34 PM
How to delte macros in another workbook Vinod[_2_] Excel Discussion (Misc queries) 0 August 11th 08 12:14 PM
delte multiple blank rows in excel Steve Dont know how George Excel Worksheet Functions 8 October 7th 06 12:15 AM
DELTE RANGE NAMES gus Excel Programming 2 September 22nd 03 02:20 PM
Delte blank rows between different sections of data Steven R. Berke Excel Programming 2 July 27th 03 01:06 AM


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