LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Moving rows to other worksheets

I am trying to "reinvent the wheel" on an existing app with buggy
macros.

My main challenge (as I am fairly new to Excel VBA) is to find a way to
evaluate a specific cell within a row and, if it is a match, move that
whole row to a different worksheet within the same workbook. I have to
ensure that if there are multiple instances with this condition that
they are moved to the correct worksheet, no rows are overwritten on the
destination sheet, and that blank rows on the original sheet are
deleted.

There will be a number of keywords in different cells that will be
evaluated and could end up on one of several destination sheets.

For example:

In column 13 for any given row, I am looking for the string "DELETED"
which may or may not have other words in the cell. If it is found, the
entire row should be copied to the "DELETED" worksheet. There are a
variable number of rows each day, but the columns stay constant. Once
all the deleted events are removed, the remaining rows would be
evaluated for occurrences of other strings. Once completed, the ones
that don't match any of the search criteria will remain on the original
sheet for further processing.

The next thing I need to do is divide the remaining rows up as either
value 1 or 2 (left or right). There may be multiple rows with the same
channel value that would all need to be grouped as either 1 or 2;
others may have only one channel assigned.

I appreciate any insight you may have regarding these issues; I hope
this information is specific enough. If not, let me know and I'll be
glad to provide it.


Thanks!

Judy

 
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
Moving data from multiple rows to single rows Pete Excel Worksheet Functions 5 February 16th 08 01:51 PM
Moving Worksheets using VB Marie Bayes Excel Discussion (Misc queries) 4 January 18th 07 03:00 PM
Moving rows to 2nd tab when worksheets protected Stacie Fugate[_2_] Excel Programming 9 February 17th 05 03:23 PM
Moving row between worksheets Steve1820 Excel Programming 2 November 24th 04 09:43 AM
Sorting and Moving Rows in Multiple "stencil " worksheets may2 Excel Programming 0 July 25th 03 01:05 AM


All times are GMT +1. The time now is 01:38 AM.

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

About Us

"It's about Microsoft Excel"