Excel Row / Column Sizing
Steve
Member Posts: 81
We have a excel sheet that uses automation within Navision to create a sheet. We added an image field for the customer that is larger then the standard row / column height / width.
All the columns will be the same size, but larger (i.e. not the standard excel default).
The row however will need to be sized based on the data being sent out. So we would have
A1 - Standard height
A2 - Standard height
A3 - Adjusted height ( 3 times larger then standard excel default)
and then back to
A4 - standard.....and so on
Any help would be appreciated.
Thanks
All the columns will be the same size, but larger (i.e. not the standard excel default).
The row however will need to be sized based on the data being sent out. So we would have
A1 - Standard height
A2 - Standard height
A3 - Adjusted height ( 3 times larger then standard excel default)
and then back to
A4 - standard.....and so on
Any help would be appreciated.
Thanks
Steve
0
Comments
-
Most of the posts that I have read that might help you refer to using the Excel Macro feature to record what you want to have happen. Then translate it into c/al
Here's one for example:
http://www.mibuso.com/forum/viewtopic.php?t=4481
Sounds like what you need to have happen is
This for Columns:Cells.Select Cells.EntireColumn.AutoFitAnd/or
This for RowsCells.Select Cells.EntireRow.AutoFit
You can also search the forum for EXCEL & MACRO to see samples of how other got to do things they needed to do.
There's post's on Selection, Making Bold, Freezing Panes, etc.0 -
Thanks 4 the help.
This works great for all the data sections, but not for the pictures that i sent from navi. Any ideas for sizing the cells for the images that lie above them? aut size doesn't seem to do the trick.
TKs againSteve0 -
That's it for me, sorry. In fact I tried to something similar long ago.
I needed to export item info along with the item photo into excel for items based off of a filter. Say all items that start with "S" for example.
All worked great except for the picture part. I finally gave up fighting it and used Crystal Reports. to generate the report & then used the File->export->MS Excel->Application avaialable in Crystal.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 329 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