Excel Buffer Error

redStripe
Member Posts: 83
Hello,
i filled the table excel buffer with some data.
if i want to use the function createsheet i get an error
in this line:
...something about the ole object or the automation server.
can anyone help me?
thanks,
redStripe
i filled the table excel buffer with some data.
if i want to use the function createsheet i get an error
in this line:
XlWrkSht.Range(GetExcelReference(1) + ':' + xlColID + xlRowID).Columns.AutoFit;
...something about the ole object or the automation server.
can anyone help me?
thanks,
redStripe
0
Comments
-
Hi!
Maybe you have another version of Excel than Navision tries to use. Could you give me a more detailed error message?
That would be helpful!
NicoleProTAKT Projekte & Business Software AG
Microsoft Dynamics NAV Partner
Bad Nauheim, Germany
http://www.protakt.de
http://twitter.com/protakt0 -
Hello
There is also another product that works with all navision version and doesn't require any modification or coding. It works realy well with list reports. It is basically a printer driver that writes it to excel.
http://helican.com/products/0 -
ara3n wrote:Hello
There is also another product that works with all navision version and doesn't require any modification or coding. It works realy well with list reports. It is basically a printer driver that writes it to excel.
http://helican.com/products/
kind of looks like www.print2excel.com
does anyone have a comparison between these two?
(sorry for going off topic) O:)0 -
Hello,
sorry for my late reaction but i wasn't in the office for while.
...but still having the same problem.
Thanks for the tool-tips ... they are not bad - but they have some
limitations and i can not use them my case.
@nicole: here is the complete error message in german.
http://web654.can16.de/html/error.JPG
it would be very nice to here from you again.
regards,
redStripe0 -
Hi
I exported a lot of data using excel and I never had this message (My German isn't very good buy I'm learning it).
I don't know why are you using.Columns.AutoFit
When I create Excel structure, I use this codeIF NOT ISCLEAR(xlapp) THEN CLEAR(xlapp); CREATE(xlapp); xlbook := xlapp.Workbooks.Add(-4167); xlapp.Caption:='Windows Title'; Xlbooks :=xlapp.Workbooks; xlsheet := xlapp.ActiveSheet; xlRange := xlsheet.Range('A:AS'); xlRange.ClearContents;
After that, I write Navision table values in Excel
Bye0 -
Hi RedStripe!
After seeing the error message I can say that there is a problem with a range-function. If you send me the report I can have a look if you want to. Or you use the debugger to get the coding. If you tell me the detailed statement, maybe I can already help without the report!
Greetz
N.GebhardProTAKT Projekte & Business Software AG
Microsoft Dynamics NAV Partner
Bad Nauheim, Germany
http://www.protakt.de
http://twitter.com/protakt0 -
@redstripe
I think this error coms from a range which is out of range.
eg. if you try to set negative address or the biggest column- or row-Value is above 65536 or something like that.regards,
Michael Schumacher
oh, what day is it? Backup day. OK, let's dump all data to /dev/nul ;-)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions