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: 20
Default A few questions - newbie in VBA

Hello everyone,

If I does not use the right words in English, please forgive me, I'm used to
type in Dutch...

I have 3 worksheets to work with.
In the first worksheet, I have a cell with a date (today) and a cell with a
time (today's time). This time changes every minute.
I also have a range of 7 columns and about 12 rows. In this range are only
the cells of the 2nd row filled with values that does not change. All the
other cells are filled with a formula for getting the values out of an other
program.

In the second worksheet, I have a range of 14 columns and about 12 rows.
In this range, the cells of the first row will be filled with values by
someone. The other cells are empty.

What I like to realise is the following:

1) When someone opens the workbook, and fills the first row of worksheet 2,
that automaticly the value of this cells will be compared with the values of
the first row on worksheet 1. If the value matches, the value of the second
row on worksheet 1 (same column) need to be copied into the cell beneath the
matching value on worksheet 2. If there's no match, that cell remain empty.

2) If a cell on worksheet 1, in the first row is changed (this changes
automaticly), then that value must be compared with the values on worksheet 2
in row 1. If that value exists, the value of the cell beneath (on worksheet
1) must be copied into the cell beneath the matching value.
If all the cells on worksheet 2, 2nd row are filled with values, then the
values need to be copied to worksheet 3. Worksheet 3 is an exact copy of
worksheet 2.

I hope someone can help me solving this.
If I have to use VBA-code, please tell me where I have to put this code in
(in "Worksheet" or "this workbook") or do I have to make a module?

 
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
Newbie Questions ? Robert11[_3_] New Users to Excel 2 February 5th 09 04:12 PM
Newbie Questions 02 Christmas May[_2_] Excel Programming 2 June 9th 06 06:46 PM
newbie questions Eric Excel Worksheet Functions 1 December 14th 04 04:39 PM
Newbie VBA questions Brian Vallelunga Excel Programming 4 October 4th 04 06:21 PM
Newbie - two questions Bill Burke Excel Programming 4 April 7th 04 09:38 AM


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