excel

Dynamically Update Xcelsius Dashboard from Excel Data

I am designing an Xcelsius dashboard that will need to be updated once a week with data that only exists in an Excel Pivot table. I have been able to create dynamic dashboards in the past by tying the dashboard to an XML file or database. I am looking for suggestion on how to dynamically read an Excel File from and Xcelsius dashboard. ...

Pros and Cons of automating Excel using VBA vs .Net

I've been tasked with creating a financial planning tool in Excel that would benefit from some custom functions/macros. My initial reaction was to use VBA. I've used it to drive Excel before (say 5 years ago). But I then began to wonder if I would be better off using VSTO. Has anyone has experience using both techs and can list the pro...

how to save excel file in MS SQL Server 2005

I have a table in which there are two columns : 1. import type, 2. Excel import template. The second column - "Excel import template" should store the whole excel file. How would I save excel file in databse...can I use binary datatype column, convert excel file to bytes and save the same ? Thanks in advance ! ...

Obtaining Excel worksheet reference by worksheet name via C#

Hi, I'm currently obtaining a handle to a Excel worksheet by using the below C# code: *Excel.Worksheet worksheet = (Excel.Worksheet)sheets.get_Item(15);//Get the worksheet "SubSignOff" number* Is there any way that I can obtain the same by using the worksheet name -- "SubSignOff" ? Many thanks for your help. --Chapax ...

Excel data connection - remove header row?

The excel spreadsheet is connecting to SQL server 2005 using the connection string below: Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=XXXXXX;Data Source=XXXXXX;Extended Properties="HDR=No";Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=XXXXXX;Use Encryption for...

Exporting to excel from Delphi without having excel

I'm looking to export data to excel from Delphi without having to own a copy of excel, is this possible? N.B. CSV will not do. ...

Access / Excel crossover: Should i attach spreadsheets to records

I currently have an archaic system of client records that I am trying to improve. For each client i have a directory, in that directory i include a directory for each job. Each job has a spreadsheet that i use to store their personal details, and run calculations and costings specific to their needs. In turn I also have word documents t...

Sharepoint list loses its IssueID column when exported to Excel, why ?

My team current uses a Sharepoint list to manage bugs, issues etc for the project. I frequently use the "Export to Spreadsheet" feature in Sharepoint to manage the list from within Excel, where I can edit, update and sync at my leisure. However, I just got given a shiny new PC, and now whenever I use this feature, the IssueID column dis...

How do I export charts from Excel as graphics

I've got a series of Excel spreadsheets, each with at least one page of data and one page of a chart created from the data. I need to capture ( not regenerate from the data ) the existing chart as a web friendly image. Is this possible via Java or .Net? I know the POI stuff (Java) won't do it (or so I'm told, haven't tried it myself). ...

Excel 2003 VBA : how to paste a shape after selection

Just wondering how I can paste an object after I have selected it: sheet1.shapes("MyShape").select With Selection basically jsut wondering how to duplicate a shape object, or any object really. Eventually I am looking to use code to copy a shape object like above from Excel, and paste it into an access form automatically. Thanks! ...

How to disable Excel's auto recognition of numbers and text

I used Python to generate a CSV file. But when I open it in Excel, Excel will auto recognize a string into a number if it could be converted. e.g.33E105 becomes 33*10^105, which is actually an ID, not a number. How to disable this in Excel while opening a CSV file? Or I need to resort to a excel-python library to output a excel file ...

Excel MAXIF function or emulation?

I have a moderately sized dataset in Excel from which I wish to extract the maximum value of the values in Column B, but those that correspond only to cells in Column A that satisfy certain criteria. The desired functionality is similar to that of SUMIF or COUNTIF, but neither of those return data that is necessary. There isn't a MAXIF f...

How to create validation range from value that input by user?

I want to create a validation range in cell "A1". This validation allow user to input value from 1 to x, while x refer to value user input in "B1". For example, if user input value 100 in "B1" then we can input only 1 to 100 in cell "A1". I want to know how to do this in C#? ...

Excel formula for variable fields

I am looking for a simple formula to do the calculation on two fields that are variable, for e.g., c1 has 100 and c3 has 150 and I want to calculate an increase/decrease percentage, but the trick is the cell values change every month. How do I put the formula to cater for such variation. Appreciate your help. Regards ...

how to insert an object into a cell using JXL api

how to insert an object into a cell using JXL (Java Excel API) api.. I have a file which is not image.. I want to insert it into a cell of an Excel sheet.. how can I achieve this?? please help... ...

POI performance

I am using POI in my J2EE web application to generate a workbook. However, i find that POI takes around 3 mins to create a workbook with 25K rows(with around 15 columns each). Is this a POI performance issue , or is it justified to take that much of time? Are there other APIs known for better performance ? ...

Excel Macro to concatenate

Need help in creating an Excel Macro.I have an Excel sheet.The Excel sheet is not consistent. I am planning to make it uniform and structured. Eg. A B C D 1 test tester tester 2 hai test 3 Bye test tested 4 GN test tested Fine A B ...

Exporting Access Query to Excel

I've got an Access 2007 database on which I have created around 15 SQL queries to process specific data, I have created a main frame navigation menu using menus in Access, I now need to extract all th queries to Excel using VBA code, I have managed to do this with the code below by creating a button and specifying this code to it. Priva...

how to set excel chart legend properties?

How to set the legend to overlay on the right of the excel chart using c#? Refer to MS excel it has a checkbox "show the legend without overlapping the chart" in legend properties window. Thanks for your help. ...

Display page numbers in a excel sheet generated using C#.NET

Hello Stackers Does anyone have an idea on how to include or input the page numbers in the excel sheet generated using C# code. I use the libraries available in Microsoft.Office.Interop.Excel to generate the file. However by default in the output i cannot see the page numbers. I know to enable this via excel options (View --> Header...