excel

Updating Waterfall Chart with Apache POI

别等时光非礼了梦想. 提交于 2021-02-08 10:51:11
问题 I am using the Apache POI Java library (v4.1.1) to create wonderfull Word documents including Excel Charts. For the Excel Charts I use an Excel template and via the Apache POI library access the charts in the Word document via List<XWPFChart> chartList = wordDoc.getCharts(); This is working fine for Bar / Column / Line etc. I can't get, however, the Waterfall chart via this method. So, I am wondering if anybody has got a solution for this? I see some options; Waiting until it is supported by

Use Tkinter to Open file, run script and export file

百般思念 提交于 2021-02-08 10:50:48
问题 I would like to create a pyton script that takes an excel file (provided by the user), run a script, and save this excel file (with a file name provided by the user). I would like to implement some buttons using Tkinter to enable non-programmers to easily use my algorithm. I tried to create a ''load data'' and ''display data'' button (I took a code online) that both work. However I didn't manage to run the script on the database imported (as I don't know how to access it) I didnt manage to

Use Tkinter to Open file, run script and export file

纵饮孤独 提交于 2021-02-08 10:50:46
问题 I would like to create a pyton script that takes an excel file (provided by the user), run a script, and save this excel file (with a file name provided by the user). I would like to implement some buttons using Tkinter to enable non-programmers to easily use my algorithm. I tried to create a ''load data'' and ''display data'' button (I took a code online) that both work. However I didn't manage to run the script on the database imported (as I don't know how to access it) I didnt manage to

Updating Waterfall Chart with Apache POI

时光怂恿深爱的人放手 提交于 2021-02-08 10:47:29
问题 I am using the Apache POI Java library (v4.1.1) to create wonderfull Word documents including Excel Charts. For the Excel Charts I use an Excel template and via the Apache POI library access the charts in the Word document via List<XWPFChart> chartList = wordDoc.getCharts(); This is working fine for Bar / Column / Line etc. I can't get, however, the Waterfall chart via this method. So, I am wondering if anybody has got a solution for this? I see some options; Waiting until it is supported by

Bolding Text with VBA

南笙酒味 提交于 2021-02-08 10:37:23
问题 Here's the cell formula I'm using: ="Charge: "&(UPPER(AG343))&" "&" Charging Staff: "&(AH343)&" "&" Charging Staff: "&(AI343)&" "&" CAP_ID: "&(AJ343) Is there a way in VBA to recognize that a value is being pulled into Cell "A" from a reference to Cell "B" and to make the text representation of the reference from Cell "B" in Cell "A" bold? I've seen posts on this subject on the limitations of Excel functions to manipulate text. I don't understand why I can use the UPPER function on the

Mirror a single table to multiple sheets in excel using vba

情到浓时终转凉″ 提交于 2021-02-08 10:37:22
问题 I have one table in the database sheet in which i would want to paste link to another sheet. However i realised that it is not possible using excel and vba. Is there any ways to reference these tables automatically? Equating the cell ranges is one way that i know of but it is extremely tedious because i have over 50 tables of such. Hard coding these equations are a trouble.This is a basic code I have done to copy paste a table . Sub table() ActiveSheet.ListObjects("Table1").Range.Copy 'This

Mirror a single table to multiple sheets in excel using vba

倾然丶 夕夏残阳落幕 提交于 2021-02-08 10:36:21
问题 I have one table in the database sheet in which i would want to paste link to another sheet. However i realised that it is not possible using excel and vba. Is there any ways to reference these tables automatically? Equating the cell ranges is one way that i know of but it is extremely tedious because i have over 50 tables of such. Hard coding these equations are a trouble.This is a basic code I have done to copy paste a table . Sub table() ActiveSheet.ListObjects("Table1").Range.Copy 'This

Bolding Text with VBA

。_饼干妹妹 提交于 2021-02-08 10:36:03
问题 Here's the cell formula I'm using: ="Charge: "&(UPPER(AG343))&" "&" Charging Staff: "&(AH343)&" "&" Charging Staff: "&(AI343)&" "&" CAP_ID: "&(AJ343) Is there a way in VBA to recognize that a value is being pulled into Cell "A" from a reference to Cell "B" and to make the text representation of the reference from Cell "B" in Cell "A" bold? I've seen posts on this subject on the limitations of Excel functions to manipulate text. I don't understand why I can use the UPPER function on the

Saving Word document as PDF

天涯浪子 提交于 2021-02-08 10:35:56
问题 This is related to converting a Word document to PDF format. I get an error in my Excel VBA code. Run-time error "5": Invalid procedure call or argument Saving into a Word document works objWord.ActiveDocument.SaveAs PathName & NewFileName & ".docx" The below runs but it creates a PDF document which is very big in size. objWord.ActiveDocument.SaveAs2 Filename:=PathName & NewFileName & ".pdf", _ FileFormat:=wdFormatPDF I recorded a macro in Word to save the file as PDF and modified the

SSIS Excel Destination is Empty

可紊 提交于 2021-02-08 10:33:49
问题 I'm having an issue exporting a large dataset (500k+) to Excel via SSIS, where the output file ends up with 0 rows exported. Before saying that I shouldn't be exporting that many records to Excel, let me state that I know and normally wouldn't. Accounting does not want a CSV and is unwilling to open a CSV in Excel. Using Visual Studio 2012 SSDT, here are the components involved. Execute SQL Task -> Creates the empty file with headers Data Flow Task -> OLE DB Source -> SQL Query Excel