How to set the Excel DisplayZeros Option to false in Navisio
                
                    Nokio                
                
                    Member Posts: 52                
            
                        
            
                    Hi,
I don't want to see any zero amounts in my Excel Sheet so i need the code for the excel buffer Table in which I say that Excel should not show any zero amounts.
I've created a new field inside the table "Display Zeros". The makro for this Option in Excel was: ActiveWindow.DisplayZeros = False. I've tried the same code in Navision with XLWorkSheet and XLWorkBook but it doesn't work.
Does anyone know the right code?
Best Regards.
                I don't want to see any zero amounts in my Excel Sheet so i need the code for the excel buffer Table in which I say that Excel should not show any zero amounts.
I've created a new field inside the table "Display Zeros". The makro for this Option in Excel was: ActiveWindow.DisplayZeros = False. I've tried the same code in Navision with XLWorkSheet and XLWorkBook but it doesn't work.
Does anyone know the right code?
Best Regards.
0                
            Comments
- 
            Using xlWorkSheet, it can be acheived by using the format() which will actually convert the variable to a string and the output will be a blank cell instead of a zero.
xlWorkSheet.Range(RowNoColNo).Value := FORMAT(ValVar);0 - 
            Is there another option?
I want to use this funktion: ActiveWindow.DisplayZeros = False
Is it possible?0 - 
            Hi
useApp.ActiveWindow.DisplayZeros := FALSE;
App is 'Microsoft Excel 11.0 Object Library'.Application
Hope this helps
Albert0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K 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
 - 323 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