Bitmap is not exporting to excel file
Any kind help appreciated.
I have added a bitmap image in my workbook but when i am exporting it into excel or html ,only text part of the title is exporting into excel file .
The bitmap is only visible in discoverer workbook ,after exporting to excel or html, it disappears,
i am using oracle 9i discoverer version 9.0.2.0
thanks,
Hi,
Bitmaps in the workbook titles are not exported. I guess it was just too difficult to do when they added bitmaps into the titles.
Rod West
Similar Messages
-
Page headers are not exported to excel files - Is there a workaround?
I use 2008, SP3.
I am experiencing a problem with exporting to Excel(.xls): the page headers, but the very first, are not exported.
The report page headers consist of weekdays and the corresponding dates, meanning they are different on each page.
The report looks OK in pdf and doc formats.
Is this a known problem or limitation?
Is there is a way to controll the export to Excel to correct this problem?
Thanks and ragards
Israel M Brill, Analysthi,
Are you exporting from Crystal Report Designer or InfoView?
If you are exporting from CR Designer, follow the below steps.
- Click Export button
- Microsoft Excel (97-2003) , OK
- 'Excel Format Options' dialog box appears
- Export Page Headers and Page Footers -> On Each Page, OK
Regards,
Vamsee -
Page headers are not exported to excel files - can this be fixed in 2008SP3
I use 2008, SP3.
I am experiencing a problem with exporting to Excel(.xls): the page headers, but the very first, are not exported.
The report page headers consist of weekdays and the corresponding dates, meanning they are different on each page.
The report looks OK in pdf and doc formats.
Is this a known problem or limitation?
Is there is a way to controll the export to Excel to correct this problem?
Thanks and ragards
Israel M Brill, AnalystNote that this is the .NET - SAP Crystal Reports forum;
Is this an issue in a .NET app?
Does the report export as expected from the CR 2008 designer? If not, close this thread and post a new one in the [SAP Crystal Reports Design|SAP Crystal Reports, version for Visual Studio; forum.
What version of .NET?
Web or Win app?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Can not upload an excel file if it is opening.
I found I can not upload an excel file if it is opening(using) at same time. My questions are:
(1)How can I still upload an excel file even it is opening at same time? Or
(2)How to check the file which is opening(using) or not and give a pop-up message?
ThanksHi Michael,
(1) NO you can't.
(2) Yes you can check testing sy-subrc of "OPEN DATASET" or "GUI_UPLOAD"
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = x_file
has_field_separator = '#'
filetype = l_filetype
TABLES
data_tab = file_y
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
Hope this helps,
Erwan -
After upgrade to 10.9.1 office for mac 2011 will not open most excel files.
After upgrade to 10.9.1 office for mac will not open most excel files. The files will open in open office. I have tried re-saving as excel file, no joy.
I have repaired permissions, no joy.
below are the results of EtreCheck scan.
Hardware Information:
MacBook Pro (13-inch, Early 2011)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2 cores
8 GB RAM
Video Information:
Intel HD Graphics 3000 - VRAM: 512 MB
System Software:
OS X 10.9.1 (13B42) - Uptime: 5 days 3:45:14
Disk Information:
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 319.21 GB (64.84 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
OPTIARC DVD RW AD-5970H
USB Information:
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Kernel Extensions:
org.virtualbox.kext.VBoxDrv (4.1.2)
org.virtualbox.kext.VBoxUSB (4.1.2)
com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5)
Startup Items:
VirtualBox: Path: /Library/StartupItems/VirtualBox
Launch Daemons:
[System] com.adobe.fpsaud.plist 3rd-Party support link
[System] com.logmein.logmeinblanker.plist 3rd-Party support link
[System] com.logmein.logmeinserver.plist 3rd-Party support link
[System] com.logmein.raupdate.plist 3rd-Party support link
[System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
[System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
[System] com.sharpcast.xfsmond.plist 3rd-Party support link
[System] com.teamviewer.teamviewer_service.plist 3rd-Party support link
[System] com.zeobit.MacKeeper.AntiVirus.plist 3rd-Party support link
[System] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
Launch Agents:
[System] com.logmein.LMILaunchAgentFixer.plist 3rd-Party support link
[System] com.logmein.logmeingui.plist 3rd-Party support link
[System] com.logmein.logmeinguiagent.plist 3rd-Party support link
[System] com.logmein.logmeinguiagentatlogin.plist 3rd-Party support link
[System] com.oracle.java.Java-Updater.plist 3rd-Party support link
[System] com.teamviewer.teamviewer.plist 3rd-Party support link
[System] com.teamviewer.teamviewer_desktop.plist 3rd-Party support link
[System] org.macosforge.xquartz.startx.plist 3rd-Party support link
User Launch Agents:
[not loaded] .dat0157.000 (hidden)/Users/fboyd3/Library/Application Support/Spotify/SpotifyWebHelper
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
[not loaded] com.google.keystone.agent.plist 3rd-Party support link
[not loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist 3rd-Party support link
[not loaded] com.spotify.webhelper.plist 3rd-Party support link
[not loaded] com.zeobit.MacKeeper.Helper.plist 3rd-Party support link
[not loaded] org.virtualbox.vboxwebsrv.plist 3rd-Party support link
User Login Items:
iTunesHelper
GrowlHelperApp
Alarm Clock
Canon IJ Network Scanner Selector2
Microsoft Database Daemon
SugarSync Manager
Neat
LogMeIn
Dropbox
Spotify
Spotify
AdobeResourceSynchronizer
Internet Plug-ins:
LogMeInSafari64: Version: 1.0.730 3rd-Party support link
OVSHelper: Version: 1.0 3rd-Party support link
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 3.0.0.126 - SDK 10.8 3rd-Party support link
AmazonMP3DownloaderPlugin101750: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 3rd-Party support link
AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 3rd-Party support link
FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
DivXBrowserPlugin: Version: 2.1 3rd-Party support link
LogMeIn: Version: 1.0.730 3rd-Party support link
Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
iPhotoPhotocast: Version: 7.0 - SDK 10.8
LogMeInSafari32: Version: 1.0.730 3rd-Party support link
QuickTime Plugin: Version: 7.7.3
AdobePDFViewer: Version: 11.0.03 - SDK 10.6 3rd-Party support link
SharePointBrowserPlugin: Version: 14.3.4 - SDK 10.6 3rd-Party support link
Silverlight: Version: 5.1.20125.0 - SDK 10.6 3rd-Party support link
EPPEX Plugin: Version: 3.0.0.0 3rd-Party support link
WidevineMediaTransformer: Version: (null) 3rd-Party support link
JavaAppletPlugin: Version: Java 7 Update 25 Outdated! Update
Safari Extensions:
DivX Plus Web Player HTML5 <video>: Version: 2.1.0.900
Open in Internet Explorer: Version: 1.0
ClickToPlugin: Version: 2.5.3
DivX HiQ: Version: 2.1.0.900
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
Move-Media-Player: Version: npmnqmp 071705000010 3rd-Party support link
WebEx64: Version: 1.0 - SDK 10.6 3rd-Party support link
3rd Party Preference Panes:
DivX 3rd-Party support link
Flash Player 3rd-Party support link
Flip4Mac WMV 3rd-Party support link
Growl 3rd-Party support link
Java 3rd-Party support link
Old Applications:
Microsoft Language Register: Version: 14.3.4 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
/Users/[redacted]/Library/Application Support/WebEx Folder/1326
Cisco WebEx Event Center: Version: 1304.07.2811.0 - SDK 10.5 3rd-Party support link
convertpdf: Version: 1.2 - SDK 10.5 3rd-Party support link
asannotation2: Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
Neat ADF Scanner 2008 10_5: Version: 1.0.0.15 - SDK 10.5 3rd-Party support link
/Library/Image Capture/Devices/Neat ADF Scanner 2008 10_5.app
SLLauncher: Version: 1.0 - SDK 10.5 3rd-Party support link
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
/Users/[redacted]/Library/Application Support/WebEx Folder/1324
convertpdf: Version: 1.2 - SDK 10.5 3rd-Party support link
Cisco WebEx Meeting Center: Version: 1304.23.2811.0 - SDK 10.5 3rd-Party support link
asannotation2: Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
atmsupload: Version: 1209.12.2806.0 - SDK 10.5 3rd-Party support link
Amazon MP3 Downloader: Version: INFO_PLIST_VERSION - SDK 10.4 3rd-Party support link
/Applications/Microsoft Office 2011
Microsoft PowerPoint: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Excel: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Outlook: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Word: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Document Connection: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Solver: Version: 1.0 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
/Applications/Microsoft Office 2011/Office
Microsoft Graph: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Database Utility: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Office Reminders: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Upload Center: Version: 14.3.4 - SDK 10.5 3rd-Party support link
My Day: Version: 14.3.4 - SDK 10.5 3rd-Party support link
SyncServicesAgent: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Open XML for Excel: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Alerts Daemon: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Database Daemon: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Chart Converter: Version: 14.3.4 - SDK 10.5 3rd-Party support link
Microsoft Clip Gallery: Version: 14.3.4 - SDK 10.5 3rd-Party support link
/Applications/iWork '09
Microsoft AutoUpdate: Version: 2.3.6 - SDK 10.4 3rd-Party support link
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
/Library/Application Support/Microsoft/MERP2.0
Microsoft Error Reporting: Version: 2.2.9 - SDK 10.4 3rd-Party support link
Microsoft Ship Asserts: Version: 1.1.4 - SDK 10.4 3rd-Party support link
/Users/[redacted]/Downloads
Install Spotify 7: Version: 1.0 - SDK 10.5 3rd-Party support link
Install Spotify 3: Version: 1.0 - SDK 10.5 3rd-Party support link
Install Spotify: Version: 1.0 - SDK 10.5 3rd-Party support link
Install Spotify 2: Version: 1.0 - SDK 10.5 3rd-Party support link
Install Spotify 4: Version: 1.0 - SDK 10.5 3rd-Party support link
Install Spotify 5: Version: 1.0 - SDK 10.5 3rd-Party support link
Install Spotify 6: Version: 1.0 - SDK 10.5 3rd-Party support link
Time Machine:
Time Machine not configured!
Top Processes by CPU:
97% Microsoft Outlook
16% Google Chrome
5% WindowServer
3% Finder
2% EtreCheck
Top Processes by Memory:
180 MB Finder
164 MB soffice
156 MB mds_stores
147 MB Google Chrome
131 MB Numbers
Virtual Memory Information:
928 MB Free RAM
2.59 GB Active RAM
1.22 GB Inactive RAM
1.57 GB Wired RAM
31.52 GB Page-ins
1.33 GB Page-outsFollow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper (v 2.8). Earlier versions than the one released in 2012 require more extensive work to uninstall all its components.
The effects of having actually used MacKeeper to do anything are a completely different matter. The fastest way to take an exquisitely designed and painstakingly engineered Mac and make it run like a steaming pile of dung is to install and use such ill-conceived "cleaning" or "security" products. This is just one example of a broad category of time- and money-wasters capable of causing damage that can only be rectified by reinstalling OS X, restoring from a backup, or completely erasing your system and rebuilding it from the ground up. Never install such junk on a Mac.
If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
Quit the MacKeeper app if it is running.
Open your Applications folder: Using the Finder's Go menu, select Applications.
Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
You will be asked to authenticate (twice):
You do not need to provide a reason for uninstalling it:
Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk. -
Problem: this mac is not reading an excell file after upgrading to yosemite. My Mac is from 2009, it use to work perfectly but it wasn´t able to open some apps, thats why i upgrade it. Now it once i donwload the zip it appears with an ".ods" extension
i even already download a link
http://www.microsoft.com/en-us/download/confirmation.aspx?id=44026
which i read on another support page... but it doesnt allowed me to install it cause it says that i already have the disk of this program....
Im afraid to erase it and not being able to get it back...
What can i do!??
Thanks in advance for this kind answer!!!fsolution wrote:
Problem: this mac is not reading an excell file after upgrading to yosemite... Now it once i donwload the zip it appears with an ".ods" extension...
If the "it" refers to a compressed (zipped) spreadsheet that you downloaded, the ".ods" extension is used by LibreOffice and probably OpenOffice (which are free versions of MS Office) for spreadsheets, which would suggest that wherever you're getting that "Excel" file from has switched to one of those programs. I've tried opening an .ods file from LibreOffice using MS Office 2013 for Windows and it does open though with a warning that some things have been changed. I don't know if Office for Mac can normally open .ods files. But if your need is to just open .ods files, take a look at LibreOffice. -
How to format the font in Cell when export to Excel file?
Dear all,
I am using the CRJ SDK 12 to export to Excel file, but i i want to format the font of Cells in Excel when exporting them.
Can you help me to solve this issue?
Thanks,
NhaThere's no control over per-cell formatting for Excel exports.
Sincerely,
Ted Ueda -
TREX is not indexing certain excel files
Hi Experts,
TREX is not indexing certain excel-files correctly. I get a "no message found error" (14047) Trex: Preparation failed: index operation by certain excel files - but not by all. I found out what they have in common: some have filters activated and some have a lot of columns or rows.
Is there any way to avoid these errors and index them correctly?
TREX: 7.0.47
Portal: 7.01 SP7
Thank you in advance
Best Regards
NormanHi Norman,
Did you review note 1528705? It has a fix for this issue.
Best regards,
Duncan -
I've been using IMac for 3 years with Microsoft office. Today, I could not open any excel files? Any Ideas?
If you upgraded to Lion or Mountain Lion, and did not upgrade to Office 2008 or later, that may be part of the problem. Try LibreOffice, OpenOffice, NeoOffice, Google Docs, or Zoho Docs. See my FAQ* for link: http://www.macmaps.com/crossplatform.html
-
Room Data not getting exported to excel file
Hello,
I am facing a small issue regarding collaboration rooms.
I created some Rooms and Created few Tasks in each room. I tried to export the task details in a excel file. For most of the rooms it is working fine but for few rooms either data is not getting exported or some data is missing in the generated excel file.I am working on EP 7.0 and all the rooms are created from the same user.
What could be the possible reason for such a behaviour ? Kindly Help me with this.i believe you can use GUI_DOWNLOAD simply for this purpose.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'c:\abc.xls'
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = ITAB
it will work, i believe.
regards
srikanth -
After Export to Excel File error while opening using xmlwriter in silverlight
Can one help me in fixing following issue after to export to excel had done iam getting following error message
"The file you are trying to open, 'test.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do uou want to open the file now ?"
If i click Yes file opens correctly but it shows above message . Can any one suggest me how to avoid this programatically with the following code.
I tried by changing the file saving as .xls to .xlsx but it doesnt works.
Public Sub Export()
Dim ss As String = "urn:schemas-microsoft-com:office:spreadsheet"
Dim DataType As String
Dim DataValue As Object
'Dim DataView As C1.Silverlight.Data.DataView = m_DataGrid.ItemsSource
'Dim ItemsSource As C1.Silverlight.Data.DataTable = DataView.Table
Dim XmlSettings As XmlWriterSettings
Dim ColumnBinding As Binding
Dim FieldName As String
Dim DataGridColumn As C1.Silverlight.DataGrid.DataGridColumn
Dim ColumnIndex As Integer
Dim J As Integer
Dim DataGridRow As C1.Silverlight.DataGrid.DataGridRow
Dim CommonUtil As New GoldCRM.Core.Common.Util
Dim PropertyInfo As System.Reflection.PropertyInfo
Dim CellFormat As String
Try
If m_DataGrid.Rows.Count = 0 Then Exit Try
XmlSettings = New XmlWriterSettings
XmlSettings.Indent = True
XmlSettings.NewLineOnAttributes = False
Using myXML As XmlWriter = XmlWriter.Create(m_Stream, XmlSettings)
With myXML
.WriteStartDocument()
.WriteProcessingInstruction("mso-application", "progid=" & ControlChars.Quote & "Excel.Sheet" & ControlChars.Quote)
.WriteStartElement("Workbook", ss)
.WriteStartElement("DocumentProperties", "urn:schemas-microsoft-com:office:office")
.WriteElementString("Author", m_DocumentProperties.Author)
.WriteElementString("LastAuthor", String.Format("{0} {1}", Application.Current.Resources("EmpFirstName"), Application.Current.Resources("EmpLastName")))
.WriteElementString("Created", m_DocumentProperties.Created)
.WriteElementString("LastSaved", m_DocumentProperties.LastSaved)
.WriteElementString("Company", Application.Current.Resources("REPORTINGSITENAME"))
.WriteElementString("Version", m_DocumentProperties.Version)
.WriteEndElement() 'Document Properties
.WriteStartElement("ExcelWorkbook", "urn:schemas-microsoft-com:office:excel")
.WriteElementString("WindowHeight", m_WorkbookProperties.WindowHeight)
.WriteElementString("WindowWidth", m_WorkbookProperties.WindowWidth)
.WriteElementString("WindowTopX", m_WorkbookProperties.WindowTopX)
.WriteElementString("WindowTopY", m_WorkbookProperties.WindowTopY)
.WriteElementString("ProtectStructure", m_WorkbookProperties.ProtectStructure)
.WriteElementString("ProtectWindows", m_WorkbookProperties.ProtectWindows)
.WriteEndElement() 'Excel Workbook
.WriteStartElement("Styles")
For I As Integer = 0 To m_Styles.Count - 1
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, m_Styles(I).ID)
If m_Styles(I).Name <> "" Then
.WriteAttributeString("ss", "Name", ss, m_Styles(I).Name)
End If
'ALIGNMENT LOGIC:
.WriteStartElement("Alignment")
If Not m_Styles(I).Alignment Is Nothing Then
If m_Styles(I).Alignment.Horizontal <> 0 Then
.WriteAttributeString("ss", "Horizontal", ss, m_Styles(I).Alignment.Horizontal.ToString)
End If
If m_Styles(I).Alignment.Vertical <> 0 Then
.WriteAttributeString("ss", "Vertical", ss, m_Styles(I).Alignment.Vertical.ToString)
End If
If m_Styles(I).Alignment.WrapText = True Then
.WriteAttributeString("ss", "WrapText", ss, "1")
End If
End If
.WriteEndElement()
'BORDER LOGIC:
.WriteStartElement("Borders")
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Bottom")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Left")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Right")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Top")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteEndElement() 'Borders
'FONT LOGIC:
.WriteStartElement("Font")
Dim myFont As Excel.Styles.Font = m_Styles(I).Font
.WriteAttributeString("ss", "FontName", ss, myFont.FontName.ToString)
.WriteAttributeString("ss", "Size", ss, myFont.Size)
.WriteAttributeString("ss", "Color", ss, myFont.Color.ToString.Remove(1, 2))
If myFont.Bold = True Then .WriteAttributeString("ss", "Bold", ss, "1")
If myFont.Italic = True Then .WriteAttributeString("ss", "Italic", ss, "1")
If myFont.Underline <> 0 Then .WriteAttributeString("ss", "Underline", ss, myFont.Underline.ToString)
.WriteEndElement()
Dim myInterior As Excel.Styles.Interior = m_Styles(I).Interior
.WriteStartElement("Interior")
.WriteAttributeString("ss", "Color", ss, myInterior.Color.ToString.Remove(1, 2))
.WriteAttributeString("ss", "Pattern", ss, "Solid")
.WriteEndElement()
.WriteStartElement("NumberFormat")
.WriteEndElement()
.WriteStartElement("Protection")
.WriteEndElement()
.WriteEndElement() 'Style
Next I
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "DateStyle")
.WriteStartElement("NumberFormat")
.WriteAttributeString("ss", "Format", ss, "General Date")
.WriteEndElement() 'NumberFormat
.WriteEndElement() 'Style
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "HeaderStyle")
.WriteStartElement("Font")
.WriteAttributeString("x", "Family", ss, "Swiss")
.WriteAttributeString("ss", "Bold", ss, "1")
.WriteEndElement() 'Font
.WriteEndElement() 'Style
.WriteEndElement() 'Styles
'WORKSHEETS:
.WriteStartElement("Worksheet")
.WriteAttributeString("ss", "Name", ss, "WORKSHEET")
.WriteStartElement("Table")
.WriteAttributeString("ss", "ExpandedColumnCount", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "ExpandedRowCount", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "FullColumns", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "FullRows", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "DefaultRowHeight", ss, 15)
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
.WriteStartElement("Column")
If TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridNumericColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
ElseIf TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridDateTimeColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
Else
.WriteAttributeString("ss", "AutoFitWidth", ss, 0)
End If
If DataGridColumn.Width.Value <= 100 Then
.WriteAttributeString("ss", "Width", ss, 100)
Else
.WriteAttributeString("ss", "Width", ss, DataGridColumn.Width.Value)
End If
.WriteEndElement()
End If
Next
J = 0
For Each DataGridRow In m_DataGrid.Rows
J += 1
If TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
.WriteAttributeString("ss", "StyleID", ss, "HeaderStyle")
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, "String")
If DataGridColumn.Header IsNot Nothing Then
.WriteValue(DataGridColumn.Header.ToString)
Else
.WriteValue("")
End If
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J + 1)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
Dim DataCellValue As Object = Nothing
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
PropertyInfo = CommonUtil.GetProperty(DataGridRow.DataItem, FieldName)
If PropertyInfo IsNot Nothing Then
DataCellValue = PropertyInfo.GetValue(DataGridRow.DataItem, Nothing)
End If
End If
CellFormat = String.Empty
If DataCellValue IsNot Nothing Then
Select Case DataCellValue.GetType.Name.ToUpper
Case "BitmapImage".ToUpper
DataValue = "Image"
DataType = "String"
Case "Hyperlink".ToUpper
DataType = "String"
DataValue = "Hyperlink"
Case "Decimal".ToUpper
DataType = "Number"
DataValue = DataCellValue
Case "DateTime".ToUpper
If CType(DataCellValue, Date).Year > 1900 Then
DataType = "DateTime"
DataValue = DataCellValue
CellFormat = "DateStyle"
Else
DataType = "String"
DataValue = DataCellValue
End If
Case Else
DataType = "String"
DataValue = DataCellValue
End Select
Else
DataType = "String"
DataValue = String.Empty
End If
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
If Not CellFormat.Equals(String.Empty) Then
.WriteAttributeString("ss", "StyleID", ss, CellFormat)
End If
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, DataType)
.WriteValue(DataValue)
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
Next
.WriteEndElement() 'Table
.WriteEndElement() 'Worksheet
.WriteEndElement() 'Workbook
.WriteEndDocument()
.Close()
End With
End Using
Catch ex As Exception
Throw New Exception(ex.Message, ex)
Finally
If m_Stream IsNot Nothing Then
m_Stream.Close()
m_Stream.Dispose()
End If
m_Stream = Nothing
m_DataGrid.IsLoading = False
DataValue = Nothing
'DataView = Nothing
'ItemsSource = Nothing
XmlSettings = Nothing
ColumnBinding = Nothing
DataGridColumn = Nothing
End Try
End Sub
KrishnaHi,
i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please. -
I want to do my sample of the project following these steps.
I
1. Create the template for compare other objects.
2. Save the template and ready for compare realtime with other objects
II
1. Use the CCTV video camera Sony capture the picture of the object (lego toys).
2. Calculate the size of the objects and change to mm.
3. Compare with the template and plot graph(Control chart) by length
4. Export the data to Excel Files
Solved!
Go to Solution.Nice project !
I sincerely hope you are not expecting us to do your homework.
What is your experience with LabVIEW ?
May be you should try to start to code something and then come back later with some more specific question ?
Message Edité par chilly charly le 01-02-2009 08:40 AM
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
When I export my Crystal report to excel file (97-2000)
it does not show the Boxes and lines in excel file.
I am using CR 11 and MS Office 2003
please guide me how to solve this problem
Edited by: mian ghous on Feb 10, 2009 1:59 PMBut, DUDE, it IS possible using borders! Each of the border options has a formula field that you can code to tell Crystal in effect "on this line of the report, I want xxx borders".
Let's start with the easiest example: Say you want the line to go around the column heading (full box). then lines down each side of the column until the end, then for the the subtotal you want lines on three sides (all but top). Set all four borders for the heading field to Single, set the right and left borders for the data field to Single, and set all but the top border for the subtotal field to Single.
To expand this, let's say there is no subtotal, and you want the last value in the field to have a bottom border. Set the header and data field borders as above, except for the bottom border of the data field, use the following formula (basic syntax):
if {field} = NextValue({field}) then
formula = crNoLine
else
formula = crSingleLine
end if
If you want the line across the top of the data field on the first detail row (i.e., not around the header), use the same logic as above, except using PreviousValue().
HTH,
Carl
Edited by: Carl Sopchak on Feb 11, 2009 8:25 AM -
Numbers locked up when I tried to export an excel file.
When i tried to export a numbers file as an excel file, numbers froze and will not respond to anything I have tried. My Mac willnot shut down until numbers responds. What do i do to get numbers to respond?
OS X: How to quit an unresponsive application using Force Quit
-
Output from Web Analysis Related Content will not Export to Excel
I have Web Analysis reports, data in which is sourced from an EIS database. I have drill thru reports that are accessible from "Related Content". The resulting report is created fine, but cannot be exported into Excel. Specifically, I'm prompted for the location of Excel on my pc. Once I browse to it, it will open in Excel.
I have upgraded from Office 10 to Office 12, although I cannot say for certain that is when this problem started occurring.
Secondly, there are no other BI+ issues with export to Excel. For example, FR and WA export fine. The ExcelPath in the webanalysis.properties file takes care of that. I'm hoping there is something similar to update for this problem.
Thanks for reading, hopefully someone else has encountered this and successfully resolved. BI+ version is 9.3.1.Have you tried the print button in the web analyzer it does export the input filter parameters as part of the exported PDF document.
You can include any additional text elements and use a custom export template if required.
Maybe you are looking for
-
I have had on-going problems with communication between my Lexmark X3650 printer/scanner/copier and my Dell Vostro PC. Dell has instructed me to uninstall then re-install Vista Home Basic to my PC. I need to know if I will lose my Firefox bookmarks w
-
CS3 (XP sp3) My "develop settings" vanish or are grayed out!?
I have CS3 installed at my studio and home. It's been fine, but after a couple months use, at my studio if I right click on a thumbnail to apply the "previous settings" from another image to a group or other single image, the "Develop options" when I
-
IMovie wont' work, won't open
Help! My iMovie (6, I think. Not the newest one) won't open. I get this error message asking me if I want to try again or reopen or report the problem to apple. I've done all these things a million times. I downloaded the latest iMovie update (Sept.
-
Using SAP exit EXIT_SAPLRRS0_001
Hi all, My requirement is to calculate a query variable value based on the value of 2 other variable values , say i require to calculate "V3 = V1 + V2 ". In this exit's include - ZXRSRU01, i use CASE i_vnam. WHEN 'V3'. " LOOP AT i_t_var_range INTO
-
Router is getting the Internet Address of 127.0.0.1
Hi: I am trying to configurate a WRT610N router that is connected to an ADSL modem. I set this as DHCP, but in the status page I am only getting the Internet Address of 127.0.0.1. The ADSL modem IP is 192.168.1.1, but I cannot have access to the mode