Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro -Moving data from one sheet to another


I am looking for the following and am not experienced enough to figure
this out on my own and would appreciate some help.

Here's what I am looking for.
In column A find the first cell that is equal to the word 'Style' on
the following sheet name 'eWorkbook'

On the first row it finds with the word 'Style' in column A, this row
is going to be a reference row for the following...

It needs to then go to the next row below starting in column A and copy
Cells data in Column A, B, & C and paste that into Sheet named 'Results'

Starting at cell A2. Then if the next cell to the right in sheet
'eWorkbook' is equal to
ColorIndex = 6
Pattern = xlSolid

Then take the value from above in the 'Style' row in the same column it
currently is in and paste that into Sheet 'Results' cell AN2 and the
value in the cell that it originally was in paste that value into Sheet
'Results' starting in cell P2
But if the cell color is equal to
ColorIndex = 15
Pattern = xlSolid

Then keep moving right until you hit column AB in the sheet 'eWorkbook'
and copy it's value and paste that into cell BL2 in the 'Results' Sheet.
Once it is done with that row, continue with the next row doing the same
information but pasting into the next row below in the 'Results' Sheet.
Once it hits a row in Column A that is " " Then find the next cell in
column A that is equal to the word 'Style'

One other side note. When it is searching for a cell that is ColorIndex
= 6
Pattern = xlSolid and pasting it into the 'Results' Sheet it should
always start in comumn P and move right. Column P should always have
the first yellow or ColorIndex = 6 Pattern = xlSolid value.

Can anyone help? You don't understand how much this would assist me.


--
Seanzies
------------------------------------------------------------------------
Seanzies's Profile: http://www.excelforum.com/member.php...o&userid=31175
View this thread: http://www.excelforum.com/showthread...hreadid=508342

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
Moving data from one sheet to another Kennedy Excel Discussion (Misc queries) 2 March 10th 10 02:08 PM
Moving data from one sheet to another KevHardy Excel Discussion (Misc queries) 5 December 19th 09 07:56 PM
Macro ?-moving info from 1 sheet to first blank section on another carrera Excel Discussion (Misc queries) 6 March 12th 08 08:19 PM
Moving data from one sheet to another- How to? mbqc Excel Worksheet Functions 2 May 8th 06 06:05 AM
Moving Data from one sheet to another Patty Garrity Excel Programming 1 August 18th 03 06:20 PM


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

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"