Hello mates,
Hope that all is well. I would like to ask for some assistance with this, because i've been pulling my hair out fighting with this. I'm writing a little database that involves both an Access Data Entry.mdb and Excel Data Entry.xls. Access Data Entry has a process where I am able to enter some costs into an Access Table and save. Excel Data Entry has a sheet that is linked to the Access table I've updated (with costs), so upon opening the Excel Data Entry, the information updates another sheet, Export Data with values. What I'd like to do is have Access open Excel Data minimised, update in the background, and export the 2nd sheet as a CSV file, then close. Here's the code I have so far... This code kind of works, but it's not updating, and it saves the CSV the first time, but if I run it again, it errors with a "Object Variable or With Block Variable not set" Please help.
Thanks,
Sean
Hope that all is well. I would like to ask for some assistance with this, because i've been pulling my hair out fighting with this. I'm writing a little database that involves both an Access Data Entry.mdb and Excel Data Entry.xls. Access Data Entry has a process where I am able to enter some costs into an Access Table and save. Excel Data Entry has a sheet that is linked to the Access table I've updated (with costs), so upon opening the Excel Data Entry, the information updates another sheet, Export Data with values. What I'd like to do is have Access open Excel Data minimised, update in the background, and export the 2nd sheet as a CSV file, then close. Here's the code I have so far... This code kind of works, but it's not updating, and it saves the CSV the first time, but if I run it again, it errors with a "Object Variable or With Block Variable not set" Please help.
Thanks,
Sean