Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
markx
 
Posts: n/a
Default Macro preparing numbers to be booked (columns to be chosen conditionally)

Hello,

I would like to ask you once again for your help, this time with the
following macro problem:

1) From each sheet within the workbook I would like to copy rows 7 to 50
- from column B and
- from column where the value in row 6 equals the value in cell A1 (can be
different from one sheet to another).

(to be more precise,
- in column B i have the account numbers
- in columns 'I' to 'xx' i have the amounts to be booked for the
month
- the months specified in row 6 (headers) may vary from time to time
(they are dynamic)
- in A1 i input the current month and than I would like to tell the
macro to find the column for this month)

2) Paste them into a newly created sheet, one under another:
- rows B7:B50 to column A
- rows xx7:xx50 to column B

3) Delete the rows where the value in column B equals either 0 or " ".

Do you have any hints for me how to convert this steps into the VBA?
Many thanks for your suggestions!

Mark


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
Lots of numbers and columns oldguywithbadeyes Excel Discussion (Misc queries) 0 May 4th 06 09:53 PM
macro to eliminate repeating account numbers Sarah New Users to Excel 2 March 16th 05 11:11 PM
How to sort random numbers in columns webehere Excel Discussion (Misc queries) 3 January 15th 05 12:24 PM
How do you find duplicate values in excel- 2 columns of numbers rickmanz Excel Discussion (Misc queries) 1 December 15th 04 11:16 PM
How do I take two columns of sequential numbers and insert spaces cmrdjr Excel Discussion (Misc queries) 5 December 2nd 04 10:35 PM


All times are GMT +1. The time now is 08:01 PM.

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"