The linked table is read-only (PS -
never used linked Excel tables in Access, my opinion. Causes a plethora of datatype/junk data problems...better to custom code a routine to go through the excel file and carefully read each line, inserting (execute sql statement) where necessary, outputting exception back to excel where necessary, etc. etc. )
But there is no reason you can't update the Excel file.
Some sample aircode code to run from Access:
Code:
dim newapp as object
dim wb as object
dim ws as object
dim rng as object
dim lastrow as long
set newapp=createobject("excel.application")
set wb=newapp.workbooks.open("path to workbook")
set ws=wb.worksheets("name of worksheet")
lastrow=ws.range("A" & ws.rows.count).end(-4162).row
for each rng in ws.range("A2:A" & lastrow)
if rng.value="Final" then
rng.Value="Uploaded"
End If
next rng
wb.save
newapp.quit
set newapp=nothing
As you can see various assumptions are being made in that code, you'd need to change to suit - (i.e. exactly what cells, in what location on what worksheet need to be updated, is it all of them that say Final, or.....?)
That should get you started - HTH
If possible, get rid of the Excel file and have your users doing data entry in your database, so there isn't all this going-the-long-way-around updating each from the other and then back to the other....