Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Updating database from excel sheet with macro

Hi

I am trying to write a macro that generates report by two diffrent
ms-querys.
Part of data that came from ms query1 is read only for the user(if
user change this data it is not effecting on the database)
The second part of data came from ms query2 and that part should be
able to update the database if the data change

Should I call to this ms query2 in a diffrent way and the data
automaticly will be sincronized? then how???

Or should I call to this ms query2 regular and then add a button that
update the database after all changes? then how???

thanks
Suzana

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default Updating database from excel sheet with macro

A query is one-way only. If you want to update the orignal data you
will have to write a macro that runs through the Excel sheet one
record at a time, finds itself on the original data and replaces cell
values there.

Regards
BrianB
==================================================




(Suzana) wrote in message . com...
Hi

I am trying to write a macro that generates report by two diffrent
ms-querys.
Part of data that came from ms query1 is read only for the user(if
user change this data it is not effecting on the database)
The second part of data came from ms query2 and that part should be
able to update the database if the data change

Should I call to this ms query2 in a diffrent way and the data
automaticly will be sincronized? then how???

Or should I call to this ms query2 regular and then add a button that
update the database after all changes? then how???

thanks
Suzana

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
Database price updating chefdoug Excel Worksheet Functions 3 August 18th 08 01:07 PM
Addin for updating database by ammending pivottable nc Excel Discussion (Misc queries) 0 November 6th 06 08:51 AM
Updating Excel forecasts into an Access Database Maree Maxfield Excel Worksheet Functions 1 December 7th 05 03:54 PM
Updating excel sheet with selected data from another sheet in the same file gsnivas Excel Worksheet Functions 1 August 4th 05 09:55 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 09:21 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"