Excel report
Hi everyone,
I need to generate an excel report with 2D graphs based on different input parameters in a single workbook in different sheets, i was able to generate report with 1 worksheet using ole automation .But my requirement is to append the worksheets in the same workbook based on my input parameter.
How to generate (append worksheet) based on changing input parameter? Or
is it possible to generate a consolidated report of buffered workbooks programatically based on changing input parameters ?
http://www.google.com/search?hl=en&source=hp&biw=1680&bih=844&q=Exceladdworksheet+site%3Asap.com&aq=f&aqi=g6g-v4&aql=&oq=
Similar Messages
-
My application will not open or create an Excel report.
When I run the vi in LabView, it runs fine, and It will open Excel and/or save an Excel report depending on what I select on the express vi for report generation. After I build it with application builder, it runs like normal and displays the resulst on the front panel, but it does not open Excel or save an Excel file for a report. I get an error 7 and the source is listed as "New Report.vi -> subMS Office Report Block.vi -> MS Office Report.vi -> sound.vi" where sound.vi is my top level vi. I have added the _excel dynamicvis.vi and _word dynamicvis.vi as dynamic vi's and I've added _excelsub.llb and _wordsub.llb as support files. I searched for the new report.vi and added the library it was in as a support file. I have saved sound.vi as a library and included vi.lib files, external subroutines, and run-time menus, and I used this version of the sound.vi and added sound.llb as a support file. Is there anything else I'm forgetting?
Hello mwallace,
The behavior you are seeing is probably due to one of the VIs being added as a support file instead of a dynamic VI. When adding a file as a dynamic VI, Application builder will ensure that all subVIs are included.
The following knowledgebase examples this issue in some more detail.
Error 7 When Building Applications and DLLs That Use the LabVIEW Report Generation Toolkit
Please let me know if you have any questions.
Regards,
Matt F
Keep up to date on the latest PXI news at twitter.com/pxi -
Error while opening Excel report using servlet
Hi
I am using a servlet to open an excel report which has multiple sheets . But there is a weird problem when i try to open an excel report with two sheets having the same name .
Generally when an excel with same sheet names is opened with Microsoft excel , it will open the excel file with a dialog showing error .
But when i am trying to open through a servlet after that open/save dialog box comes , its sending two requests and that too the second one from another browser . How i am saying that its sending from another browser is , during the second time its not passing the session checks which i placed .....I mean the session for the request doesn't have any data while it was expected to have some data which i placed in Session while logging in .
Can any one let me know why this is happening ?/Refer Note:280376.1 on MetaLink. Hope this will help you resolve the issue.
Thanks
Shail -
Error while opening excel report
Hi,
While opening the excel report i am getting the below error.
REP-51026: No output for job 8923
Note: We have deployed the report in 10g Oracle Reports server present in a UNIX m/c.
Please let me know what i have to do.
Thanks & Regards,
Sudhaharan.
Message was edited by:
jsudhaharanRefer Note:280376.1 on MetaLink. Hope this will help you resolve the issue.
Thanks
Shail -
Issue...SAP gui popup window along with Excel report
Hi,
In MSS portal I am trying to review one excel report. While clicking particular report link in portal it is opening a small sap gui window while generating excel report. I don't know how to stop that gui pop-up window?
Thanks,
PadmanabanHi Padman,
Pls. install JVM on you local machine..
Regards
Pramod -
How to Display Excel Report in Client machine in Forms11g
Hi All,
we are running database in Linux server and separate Linux Application Server , But my question is how to display the data to Excel Report in the Client machine
in Forms11g applications.
Plesase suggest any method.
Regards
Venkatesulu GunisettyYou should use webutils.
For proper answer, place ur request here in oracle Forms Thread,
Forms -
My excel report is not working in executable file ,however,it works well in vi
Hi all ,
Could any one please help me in getting the reason behind the executable file not working for excel report generation,however I can get the same function without any problem in main vi.
I am attaching my code and executable file also ,please have a look into it and let me know where I am wrong.
Thanks & Regards !
sarita
Message Edited by MindPower on 10-24-2007 01:40 AM
Message Edited by MindPower on 10-24-2007 01:43 AM
Attachments:
test datalog.vi 264 KB
test datalog-NEW.zip 1020 KBI can't open the vi in the moment. But by your description I think that I know the solution.
When you build the executable you've to add dinammically the vi's from report generator that aren't in your main vi hierarchy. So, you've to open the vi's and find those that are open trough "open vi reference" and add them dinamicaly.
And don't know if these tips are enough.
From NI Zvezdana S.
"When you use the Report Generation Toolkit to build a stand-alone application with the Application Builder, you must add _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs. These two VIs contain subVIs that are called dynamically by the high-level Report Generation VIs. I believe that if you grab these VIs from the (desired office version part of the) installation CD instead of from the development machine, then everything should work. "
Software developer
www.mcm-electronics.com
PS: Don't forget to rate a good anwser ; )
Currently using Labview 2011
PORTUGAL -
Report generation Toolkit: Excel report functions error -2146827284
Hi,
I'm trying to create an automated report using excel functions from the report generation toolkit in labVIEW. When I run the program that generates the report first time round (the report consists of several worksheets, each worksheet is added onto the report at a diffferent state in a state machine) it always works fine and no error is generated. However, when I run the program again it will infrequently (sometimes it does, other times it will not) generate the undefined error -2146827284, this is coming from one of the excel report functions and it cannot find it on highlight execution mode.
Does anyone know anything about this error, why it occurs, how to prevent it?
I would appreciate any help.
Thanks,
Rowanmebels_cti wrote:
Found something that helped; https://forums.ni.com/t5/LabVIEW/Error-code-quot-2146827284-quot-when-trying-to-open-an-Excel/m-p/20...
Excel still open
So I added this;
You should use the Application Quit method instead of killing the task. I doubt this is the cause of your issue.
Ben64 -
Cannot save the excel report in my application
Hi I wrote a program which can save the data to an Excel report. It runs perfectly on my own computer. After I built the application (exe file), and run it in another computer, which can not save the excel report. On my own computer, it has LabVIEW 2011 and report generation toolkit for Microsoftoffice; and on the other computer, I installed the LabVIEW runtime engine. Did I miss installing some other support software? Can anyone tell me why this is not working?
Thanks a lot,
JaneDo you have Excel installed on the other computer?
I also suggest that you read this page : Including Report Generation VIs in Stand-Alone Applications (Report Generation Toolkit)
Hope this helps
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!" -
Hi,
Does anyone have experienced (and solved) this behaviour?
I've been using the report generation toolkit to build word report without
problem. I've also solved a lot of problems in the excel part of the toolkit
(e.g. building graphs with >20000 points). It finally works in development
environment.
Now when I install the executable (, with the installer) the word reports
still work, but the excel report don't. The executable does run on a
different system, but the excel versions are the same (both Excel 2000).
I have copied the excel library in the data directory of the executable.
The following error is generated:
-2147319784
Old format or invalid type library
Excel_Open.vi
This is the first report generation vi that is called. I us
e it to open a
template.
Any help is appreciated.
Wiebe.Hi,
Surfing the internet, I found this comment:
*Start quote*
Sometimes you'll find that a parameter is required that isn't mentioned
anywhere in the application's documentation. This happens when you need to
specify system information: the chief example of this is the lcid, which is
a locale identifier, and which pops up all over the place in Excel. The good
news is that there is a constant in the Windows unit which provides you with
the correct value, LOCALE_USER_DEFAULT:
var
lcid: integer;
begin
lcid := LOCALE_USER_DEFAULT;
Excel.Visible[lcid] := True;
There's also a function, GetUserDefaultLCID, but using that value can cause
an error, complaining about an 'old format or invalid type library' on some
setups. Using LOCALE_USER_DEFAULT for the
LCID value should fix that.
*End quote*
Could this be the problem?
Regards,
Wiebe.
"Wiebe@AIR" wrote in message
news:3e79a3aa$0$140$[email protected]..
> Hi,
>
> Does anyone have experienced (and solved) this behaviour?
>
> I've been using the report generation toolkit to build word report without
> problem. I've also solved a lot of problems in the excel part of the
toolkit
> (e.g. building graphs with >20000 points). It finally works in development
> environment.
>
> Now when I install the executable (, with the installer) the word reports
> still work, but the excel report don't. The executable does run on a
> different system, but the excel versions are the same (both Excel 2000).
>
> I have copied the excel library in the data directory of the executable.
>
> The following error is generated:
>
> -2147319784
> Old format or invalid type library
> Excel_Open.vi
>
> This is the first report generation vi that is called. I use it to open a
> temp
late.
>
> Any help is appreciated.
>
> Wiebe.
>
> -
Hello,
I am looking for a simple solution to this simple problem:
I have generated an excel data file using LabVIEW Report Generation Toolkit for Microsoft Office ( see diagram below ).
Now I would like to add data to this worksheet every time I run this VI ( data must expand in column format instead of
row) but i have no Idea how to do it .
I would appreciate any help.
Thanks
Attachments:
Excel Report.jpg 59 KBThat's what the start input is for. You tell it where to insert the cells.
Asides:
Why aren't you wiring the error out from the new report function to the next function?
Do not autoindex an array and wire a value to N. Do one or the other, not both. If you do both the loop will run for whichever value (N, or the array size) is smaller.
Your loop with the function node can be simplified by replacing it with a single Divide function and feeding the Divide function the arrays directly. The numeric functions (as well as many other functions) are polymorphic.
To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free. -
Excel report generation does not exit excel
I am using the excel report generator to save test reports. I can create the report using a template and write to it when needed with no problems. After every test step I add data and save the report. I keep excel closed by using the no change setting for the window state. I do not want the user to see excel or even know it is there.
The issue is when I am done testing and use the dispose report vi, it leaves an instance of excel open that you can see in the task manager. And the only way to close that instance is to open one of the files that was created and close it and then exit excel. The memory used by that instance grows a little each time a new file is created.
Labview 2011 SP1 (11.0.1.F2 32bit)
Excel 2007
How can I close excel completely after each test?
Solved!
Go to Solution.
Attachments:
Report Example.png 52 KBI find it very hard to believe that this function isn't somewhere in the report generation toolkit. But my 30 second look for it came up with nothing. So instead I wrote a function that does a task kill for you. Keep in mind this only works in Windows, and this will do the same thing as a end task in Taskmanager so only use it when you are sure your are done saving all reporting. Saved in 2011.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Attachments:
Taskkill Excel Report.vi 22 KB -
Hello,
I have a test application that uses MS Excel Report toolkit to print the test results using a custom template file. When I try to print the test results I get the following error -2146959355 (see attached picture). Any idea what triggers this? It seems that is generated by Excel Active X control. I also attach the Vi I use to print the test results as well as the templates
Thank You
Nick
Solved!
Go to Solution.
Attachments:
Error -2146959355.jpg 1692 KB
Thales Report generation v2.0.vi 47 KB
EU_Report_template.xlt 40 KBlook at this
http://digital.ni.com/public.nsf/allkb/1C025F018CB5761686256C56007DD258
http://digital.ni.com/public.nsf/allkb/83211E3A088D0C3786256DB700621FE8 -
Issue with excel report generated by Crystal Report
Dear support center,
I am trying to evaluate the crystal report package available through the VS2005 Pro edition for an application at work. I am new to Crystal Reports and using CR 10 on my system.
Here is a visual image of my report format. I use a dataset to flood the report.
http://www.coe.uncc.edu/~jjzachar/CRHelp/CrystalReport.JPG
Here is the excel report I receive. I want to eliminate:
http://www.coe.uncc.edu/~jjzachar/CRHelp/excelOutput.JPG
1. The extra blank rows after each "data entered or shown in my report"
2. It seems like many of the fields are being merged. How do I avoid this?
Please help!
Thanks a lot for your time ... in advance!
Sincerely,
Jerry ZachariasSwetha,
I export the report using "VB.net" code. So, I dont' really get any window options.
Here is the snippet of code I am using ...
Private Sub ExportReportFormats(ByVal fileName As String)
'Dim a As New CrystalDecisions.Shared.DiskFileDestinationOptions()
'a.DiskFileName = fileName
Dim CrExportOptions As CrystalDecisions.Shared.ExportOptions
Dim CrDiskFileDestinationOptions As New CrystalDecisions.Shared.DiskFileDestinationOptions()
CrExportOptions = objRpt.ExportOptions
If fileName.EndsWith(".pdf") Then
Dim CrFormatTypeOptions As New CrystalDecisions.Shared.PdfRtfWordFormatOptions()
CrExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
CrExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions
CrExportOptions.FormatOptions = CrFormatTypeOptions
'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Trash\" & fileName
'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Reports\" & fileName
CrDiskFileDestinationOptions.DiskFileName = exportFolderLocation & "\" & fileName
ElseIf fileName.EndsWith(".xls") Then
Dim CrFormatTypeOptions As New CrystalDecisions.Shared.ExcelFormatOptions
CrExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.Excel
CrExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions
CrExportOptions.FormatOptions = CrFormatTypeOptions
'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Trash\" & fileName
'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Reports\" & fileName
CrDiskFileDestinationOptions.DiskFileName = exportFolderLocation & "\" & fileName
End If
objRpt.Export()
End Sub -
XML Publisher to Excel Report : Date format problem
Hi,
I am trying to create an Excel report with XML Publisher. I have an issue with the Date Fomatting.
In the XML template, I have set the "Date" column in date format. But the excel output report "Date" column returns as "General text" (string) and it is sorted as text, not as date.
Can anyone please help me out?
Thanks!!!Hi,
Did this post solve your problem? I have the same issue that I need to solve.
I have an xsl-fo template with dates in it.
The dates are in english.
My excel is setup to use danish.
When I export to excel it knows the month jan, feb, mar, apr, ... which are the same in danish and english.
But months where it differs like may (danish maj) the cell is a general text instead of date.
Is there anyway you can set/transform the date in the xsl-fo template so it does not care about the language in excel?
Thank you in advance.
BR Kenneth -
How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12
Dear All,
How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12.
My Requirement is to develop RTF Template and geneate Excel output in Multiple sheet.
plz guide me on this..
thnx
Khushalplz see
BI Publisher: How to create Multisheet in Single Excel file using Excel Template [ID 1352000.1]
for r12 you can use excel template
i think it more appropriate for excel output
Maybe you are looking for
-
Hi All, In one of our custom module, I am facing one issue with the fnd_concurrent.wait_for_request. I am calling one custom function through the 'Workflow Background Process'. This function is submitting a concurrent program using fnd_request.submit
-
How can I make the first page of a PDF load before the whole file on a website
I work for a company that loads they brochures in PDF format on their website and the PDF's were formerly created in Indesign and converted. When the files were viewed on the website, the first page loaded right away while the others loaded. Now I h
-
Subtotal in Table Footer Appears in Body on the Next Page - Smartform
Hi experts, I have a subtotal row in my table footer. It works find (appears correctly for each page). But when I check the body of the table, in page 2, there is a line with the subtotal amount from page 1, appearing in line 2. Do you guys know why
-
Script - create .jpg - using various (visible) layers
Hello I have trubble creating a script for Photoshop CS 5. I have got a .PSD document with several layers, some of which are visible, some are invisible. I want the script to make the selected layer visible (only one layer is selected). Than i want i
-
Re: How to avoid APPS password displayed in Unix box .
Hi How to avoid APPS password displayed in Unix box by using ps command for concurrent program with execution method set as "host" . Regards .