Rabu, 28 Januari 2015

Re: [MS_AccessPros] Error controlling Excel from Access

 

Adam-


Why did you add the .Application?  If it works in Excel, try it in Access without that.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)




On Jan 28, 2015, at 10:31 PM, runuphillracing@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

John,


You mean you don't know all, see all? :)


The VB code runs properly in Excel. I created and tested it there, then just copied and pasted into Access, adding the .Application.


I have the MS Access Package Solution Wizard 2010 COM, ACCESSDE.dll, add in. I assume that includes the Excel library loaded because other lines work. It's just those few lines that didn't work that I included here.


I'll see if Crystal comes up with something. I have an off list convo going on with her. Us Coloradans have to stick together.


Thanks


__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)

.

__,_._,___

Tidak ada komentar:

Posting Komentar