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: 3
Default Working on a macro

I have a excel spreadsheet consisting of several tabbed worksheets. I
want to write a macro that will store some information from one
worksheet in another.

For every row in a particular range of worksheet2: if there is something
stored in column 7, then copy the contents of the cells in columns 1 and
3 to the next empty row of worksheet1, storing in columns 1 and 2.

Something like:

repeat for rows from 10 to 200 of worksheet2
if the cell at that row, column 7 of worksheet 2 is not empty then
goto the next empty row of worksheet1 and store some info
store contents of worksheet2: row,1 in worksheet1: next empty row, col1
store contents of worksheet2: row,3 in worksheet1: next empty row,
col2

I hope I have made this understandable. Thanks in advance for any help!

Bob.

 
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
Macro that isn't working Brad Excel Discussion (Misc queries) 2 October 29th 09 08:23 PM
MACRO IS NOT WORKING AS IT SHOULD jeannie v Excel Worksheet Functions 3 June 21st 07 08:19 AM
Don't want to SEE macro working Randall \(again...\) Excel Programming 2 February 23rd 04 03:20 PM
macro not working on 1 PC, ok on others Greg Koppel Excel Programming 0 September 19th 03 09:42 PM
Macro not working ced[_2_] Excel Programming 1 September 18th 03 10:09 PM


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