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: 1
Default Updating a database with macro


Hello,
I have a master excel sheet (One workbook) which is updated once in a
month from another sheet called datasheet (Another workbook) . Both
sheets (master and the datasheet) contain the same data. New
additions/updates/changes are added on a regular basis to the datasheet
and is then added to the master sheet at the end of the month.

The sheets consists of about 10 column headings with around 500 rows.
Now, when the datasheet is to be updated to the master sheet, I want a
macro which should find out if the data is already there (eg. it can
check this from employee code etc in the first column). If it is
already there in the master sheet, it should check whether all the
values/text associated with it are the same. If there are some changes
in the value of the cell/change in text, then the new value/text from
the other sheet should be updated to the master excel sheet.
Also, if there are new names/employee codes added to the datasheet,
then this should be updated on the master sheet on a new row.

I would be very grateful if anyone can throw some light on how to go
about this by using macro.

Thanks a ton.


--
lalthan
------------------------------------------------------------------------
lalthan's Profile: http://www.excelforum.com/member.php...o&userid=10557
View this thread: http://www.excelforum.com/showthread...hreadid=397222

 
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
Database price updating chefdoug Excel Worksheet Functions 3 August 18th 08 01:07 PM
Updating Access Database from Excel need help David Slicer Excel Programming 4 July 12th 04 01:58 PM
Updating a database query from XL Marco Rodas Excel Programming 1 February 19th 04 09:38 PM
Updating database from excel sheet with macro Suzana Excel Programming 2 December 16th 03 08:11 AM
Updating database table from Excel? hmmm... Excel Programming 1 July 25th 03 03:21 PM


All times are GMT +1. The time now is 08:23 AM.

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"