When I execute this function I get a run time error, \"Operation must use an updateable query\". What is causing it?
Function updateConfigFile(strQuery As St
Get rid of IMEX=1 from your connection string. That works for me.
.ConnectionString = "Data Source=" & ActiveWorkbook.Path & constConfigFile & ";" & _ "Extended Properties=""Excel 8.0;HDR=Yes;"";"