mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 25, 2013 9:14 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Looking for documentation about excel automation for Navisio
PostPosted: Mon Feb 27, 2012 5:06 pm 
Offline

Joined: Tue Oct 04, 2011 10:26 am
Posts: 94
Country: Belgium (be)
Currently working on a project where we export to an excel sheet.
I encountered some problems due to diffrent versions of excel used, for instance our test enviroment still uses excel 2003 while our remote dev have 2010.
(With remote dev I mean we have some people of our company working on it as well but who are not on our main site)

We managed to get everyones automation working for all versions but are cursing on the lack of clear-cut ways/information of doing things.

Basically I'm looking for information/documentation that could show each of the functions and properties available in the excel automation and how they work.

Thank you


Top
 Profile E-mail  
 
 Post subject: Re: Looking for documentation about excel automation for Nav
PostPosted: Mon Feb 27, 2012 6:46 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Thu Jan 02, 2003 6:37 pm
Posts: 7931
Location: Howell, MI
Country: United States (us)
Microsoft has extensive documentation on the Excel object model in MSDN. Just google "Excel object model" and you should get a bunch of links into MSDN.

_________________
Daniel Rimmelzwaan
MVP - Dynamics NAV


Top
 Profile  
 
 Post subject: Re: Looking for documentation about excel automation for Nav
PostPosted: Wed Feb 29, 2012 10:13 am 
Offline

Joined: Tue Oct 04, 2011 10:26 am
Posts: 94
Country: Belgium (be)
That's indeed what I was looking for but I also have a 'problem' with it.
You got _Application and Application interface, both link to the same page but there is a difference.

In this instance the report used Application interface for the older excel versions, but when we tried this for machines we excel 2010 we got the following error:

'The variable XPAPPL::PROTECTEDVIEW is defined multiple times....'

We did not receive this error for the _Application interface, so their is a subtle diffrence that is not explained by the pages.


Top
 Profile E-mail  
 
 Post subject: Re: Looking for documentation about excel automation for Nav
PostPosted: Wed Feb 29, 2012 10:41 am 
Offline

Joined: Thu Oct 30, 2008 10:38 am
Posts: 987
Location: Earth
Country: Netherlands (nl)
When you search for difference between _application and application, you get a lot of hits.
What I've got out of it all was that, when problems occurs with application due to methods or functions having a same name/signature, use _application.
I'm guessing it is because it's a wrapper around the application which makes all the functions go one lvl deeper.

_________________
|Pressing F1 is so much faster than opening your browser|
|MCBMSS: 5.0 intro|MCTS:NAV09 839..841|JetReports© Certified Specialist|
|Dynamics Anywhere: Mobile Business Solutions|


Top
 Profile  
 
 Post subject: Re: Looking for documentation about excel automation for Nav
PostPosted: Wed Feb 29, 2012 11:41 am 
Offline

Joined: Tue Oct 04, 2011 10:26 am
Posts: 94
Country: Belgium (be)
Could Navision run as a virtual application count as a extra wrapper around this.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: