ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   external data range a two way street? (https://www.excelbanter.com/excel-discussion-misc-queries/44351-external-data-range-two-way-street.html)

bicyclops

external data range a two way street?
 
I've sucessfully set up an external data range in excel that points to an
access database query. It refreshes with no problem when making changes in
Access.

However I would like to be able to update cell values in excel & see the
changes reflected in the Access db. I've tried playing around with the
permissions but no matter what, any changes to data in excel get lost when
the refresh button is hit.

I'm sure I'm missing something . . .
Thanks in advance.

Conrad Carlberg

Hi bicyclops --

One way street. An external data range can suck data out of Access, SQL
Server, Oracle, whatever, but it can't send it back without help.

I like to use a worksheet change event to trigger VBA code. That code uses
DAO (or, for preference, ADO) to update the database according to the change
that the user has made. Frankly, I'd rather that the user update the
database directly, but these users feel lots more comfortable in Excel than
in a DBMS.

--
C^2
Conrad Carlberg

Excel Sales Forecasting for Dummies, Wiley, 2005


"bicyclops" wrote in message
...
I've sucessfully set up an external data range in excel that points to an
access database query. It refreshes with no problem when making changes in
Access.

However I would like to be able to update cell values in excel & see the
changes reflected in the Access db. I've tried playing around with the
permissions but no matter what, any changes to data in excel get lost when
the refresh button is hit.

I'm sure I'm missing something . . .
Thanks in advance.




gudda

external data range a two way street?
 


"bicyclops" wrote:

I've sucessfully set up an external data range in excel that points to an
access database query. It refreshes with no problem when making changes in
Access.

However I would like to be able to update cell values in excel & see the
changes reflected in the Access db. I've tried playing around with the
permissions but no matter what, any changes to data in excel get lost when
the refresh button is hit.

I'm sure I'm missing something . . .
Thanks in advance.



All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com