Excel Automation using multiple worksheets
Dean_Axon
Member Posts: 193
Hi All;
I have searched the forums and found loads of useful information so far, but I still cannot get the required solution (maybe I have been looking at it too long now :shock: )
What I would really like to achieve is to use table 370 (excel buffer) but with multiple worksheets. Sounds easy enough, but its just eluding me. ](*,)
Many Thank in advance
Dean.
I have searched the forums and found loads of useful information so far, but I still cannot get the required solution (maybe I have been looking at it too long now :shock: )
What I would really like to achieve is to use table 370 (excel buffer) but with multiple worksheets. Sounds easy enough, but its just eluding me. ](*,)
-
1st question...
Has anyone done this already and if so, would they care to share their wisdom?
2nd question...
If not, can it be done this way or do I have to write my own functions using the automation servers ? If this IS the case, does anyone have a useful guide to integrating or finding the right commands to push out with office 12 ?
Many Thank in advance
Dean.
Remember: Keep it simple
0
Comments
-
-
Hi Harry,
I had already done something similar to that earlier, but the error that presents itself is this.....
Vendor Table (filtered to 2 vendors for testing)Vendor - OnAfterGetRecord() TempExcelBuffer.Addsheet; TempExcelBuffer.CreateSheet("No.",'XL Heading',COMPANYNAME,USERID); EnterCell(1,1,"No.",FALSE,FALSE,FALSE,"No.");
This creates the 2 worksheets that I expected ( I had this bit working), but when the "EnterCell" is called, it seems to place the data for the first record onto the second worksheet and completely ignores the second call of "EnterCell" ](*,)
I must be missing something obvious (too many trees, not enough woodland or something along those lines !!!)
TIA.
DeanRemember: Keep it simple0 -
have you looked at this one?
viewtopic.php?f=14&t=158230 -
figured it out and the link below shows what I did
http://www.mibuso.com/forum/viewtopic.php?f=23&t=24087&p=160108#p160108
Happy Days \:D/
Just want to get rid of Sheet 1 etc. now :whistle:
Ill post once I sort it or link to someone else's idea's on here (I like this sharing concept =D> )
DeanRemember: Keep it simple0
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
- 322 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