Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Updating Infos


It is possible to do something like this?
A workbook consists of 1 datasheet and multiple querysheets.

e.g.
Datasheet contains
Row 1( Header)---- Date Na Nb Nc Nd
Row 2 31/10/03 1 8 3 4
Row 3 01/11/03 5 8 2 9

Querysheet contains
Row 1(Header)---- Date Rowno 1 3 5 6 9
Row 2 31/10/03 2 0 0 1 0 1

Updating conditions a

Look in the datasheet at row2 for first value in the range (B2:E2), in
this case a value of 1 is found, then look at next row i.e. row3 for
value found in the querysheet in this case are 1,3,5,6,9 . If found, it
will write the date & rowno of row2 of datasheet and the value of 1 & 0
will be insert accordingly to the column. After finished the first cell
(B1) value, it will continue to C1 and do the same routine. Which
querysheet to use for updating the info is based on the value found in
cell. The querysheet are name after the cell values with a "Q" in front
like Q1 for cell value of 1 and Q8 for cell value of 8 and so on.
This macro will run the loops from row2 of datasheet until the last
row.

Thank you for helping.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

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
Quick way to link infos on all worksheets Nicole Excel Discussion (Misc queries) 3 July 4th 08 03:50 PM
Updating dpal Excel Worksheet Functions 0 December 27th 06 03:42 PM
DDE and updating grant606 Excel Discussion (Misc queries) 12 June 16th 06 05:08 AM
updating? mlf Excel Discussion (Misc queries) 5 December 5th 05 06:52 PM
When updating a worksheet, how do I create a link updating the sa. Phlashh Excel Worksheet Functions 9 January 27th 05 06:05 PM


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