Discussions tagged Excel

Dear Experts, I want to call VisualBasic for Application (VBA) macros and functions in Word or Excel documents which I have written myself out of/from PowerScript functions (instead of rewritting them in the PowerScript functions). Is this possible...
Dear Experts, I want to call the VBA Excel functions with optional parameters like Range.PasteSpecial(...) for example in PowerScript functions. I tried the following: OLEObject lole_WS_From // Excel worksheetOLEObject lole_WS_To    // Excel works...
Hi,      We have migrated from 10.2 to 2019 R2 and We have added a new '.XLSX' extension in our existing SaveAs option. We are able to export the all datawindows with this extension  expect the reports that has designed using crosstab datawindow.  ...
Hello,   I have a requirement to check feasibility of saving a datawindow report to '.xlsx' format using an executable built in PowerBuilder 2017 R3. The constraint is that the host machine on which the executable will be running will not have any ...
Hello, In PB2017R3 when you do dw.SaveAs XLSX! an there is a cell with more than 32767 characters (character size limit of Ecel's cell) - resulting .xlsx file will consider this cell unreadable in MicroSoft Excel. At the same time Open Office just t...
We have recently changed our datawindow savas methods to XLSX! from Excel8! This works fine except for one report. It is an external datawindow and when we save it as XLSX! it then throws an error: We are looking for an answer and haven't been able...
We are looking for the best techniques - and perhaps sample code which would allow users to import spreadsheet data into a datawindow. This would have to be somewhat dynamic in that the format of the spreadsheet could change from one spreadsheet to ...
We are trying to export a report to .xlsx format with a PB 2019 application using PowerServer 2020. Here is the GetFileSaveName call we are using for the dialog. GetFileSaveName ( "Save As", ls_path, ls_file, "", "Excel with headers (*.xls),*.xls,Ex...
Hi. We have a function that saves the content of a datawindow to Excel using this code: try      ll_return = dw_saveas.SaveAs(ls_xls, XLSX!, true) catch (Throwable th)    messagebox("",th.GetMessage()) end try The datawindow has about 180.000 r...
Hello ,   Doe's anyone have an idea how to save dw to excel with out changing the format ? like : colors , grouped and so on or a 3'rd party tool Thanks...
Hi. I am using PB 2017 R3 Build 1858. When exporting a datawindow to excel12 the width of the string-columns is huge (254,29), regardless of whether the column contains onbly short texts. When using excel8 for export the columns are only 10,71 wide...
Powerbuilder application deployed to Citrix works great, except connecting to Excel file. I am using ODBC to connect to excel file to import data into datawindow, this works great on desktop but in Citrix client C: drive becomes \\Client\c$. getting ...
Hello. Is there any (easy) way to export the presentation layer of a datawindow preferably as excel. I have searched around and haven't managed to find anything that gives you an export of "what you see" on the datawindow. My next try is probably go...
Hello,   I was wondering if there is another way to connect to and populate an Excel spreadsheet other than the way below...   OLEObject lole_xlapp // Create the oleobject variable xlapp lole_xlApp = Create OLEObject // Connect to Excel and che...
PB 2017 R2, Build 1756 Hello PB Community, I have the OLE code to paste the contents of a datawindow to an Excel spreadsheet (thank you to all the examples available online!) I want to copy multiple datawindows into the same worksheet, but p...
hi, im creating an excel-sheet with an chart, no problem so far. im also creating a chart in it and i want to change the default color for the legend-objects. the problem is that i found no way how it works, maybe anyone can help me?   lo...
All, Im opening an excel file and grabbing some cell info using ole.  The excel file isnt closing.  It isnt displayed in the menu tray.  The only way I know its open is to try and open it.  Then I get the locked message saying I have it open and l...
Hello all, we have a PB application that uses OLEObject to interface with an Excel sheet. This application is published with Appeon Web and used thru IWA, i works fine. We have to publish the same application with Appeon Mobile (for Ipad) so...
Hi all, First of i would like to thank the Appeon team for delivering PB2017 without any ( in our case ) bugs ! The migration process was easy and straightforward. After many years of being in the PB dark tunnel, we can finally see light again at ...
Hello to all I need to import in PB some data coming from some excel sheets. I do this: a cycle that is repeated N times with a FOR in which: I create, read and destroy excel. The problem is that excel in the task manager does not disappe...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom