Hello All,
I would like to ask what should be faster: reading excel file from .Net or reading xml file which contains the same data. The same is for writing.
Thank you very much in advance.
mayap.
...
How do I set the selection in the active worksheet to a specific Range, using C# and VSTO 2008?
...
We have a background process that calls Excel for generation of report spreadsheets. Occasionally, a crash or inadvertent server reboot will occur while Excel is running. The first launch of Excel after the restart brings up the dialog box (paraphrasing here) "Would you like to start Excel in safe mode?" (Yes/No)
The issue is that our b...
I need to read data from a single worksheet in an Excel 2007 workbook using the Open XML SDK 2.0. I have spent a lot of time searching for basic guidelines to doing this, but I have only found help on creating spreadsheets.
How do I iterate rows in a worksheet and then iterate the cells in each row, using this SDK?
...
I'm working on a project where I have to parse excel files for a client to extract data. An odd thing is popping up here: when I parse a date in the format of 5/9 (may 9th) in the excel sheet, I get 39577 in my program. I'm not sure if the year is encoded here (it is 2008 for these sheets).
Are these dates the number of days since some ...
New to VBA, please help. My apologies. I have not done a good job of making myself clear. Let me try one more time.
My sales reps enter every call into a call sheet. They call on 50-60 people a week; some they will see more than once a week, some only a couple of times a year. On this call sheet are 4 columns; date of call, custom...
I have a .rdl report that formats data as a report. I want to export that data to excel as a flat table with the raw data that was returned based on the params in the report. The default excel export looks just like the report which isn't what I want (I just want rows and columns). Is there an easy way to do this?
...
How can i get the Cell address from excel given a row and column number for example
row 2 and col 3 should return C2... Please help
...
Hi,
I would like to create a cell format for one cell to only allow the value "yes" or "no" for this cell.
How could i do this?
Thanks in advance.
Jose
...
Guys i'm looking for a simple excel macro that can copy a row from one sheet to another within excel based upon having a specific word in the cell. I have a sheet one, called "data" and a sheet two called "final". Here is an eaxmple of the data
A B C D
john mary 555.555.4939 initial rep...
I know of several approaches using a macro (VBA) to show/hide columns and rows in Excel, but I cannot figure out or find a way to do this using either a formula or conditional formatting. Of particular interest is Excel 2007 - but I'd be curious to know if someone has managed to do it in any version of Excel.
For those who want backgrou...
Hi All,
I am developing a small excel plugin. As part of it I need to convert my excel document to PDF format. How can I do that? All the plugins and printers that I've found do not convert links created by the hyperlink function.
I know this is not programmatically related per say, but I am developing this software, and vba is quite ...
What is the quickest (as in least effort, not super performance) way to convert 112K rows in XML to a Excel view.
...
I have an Excel sheet with two column, one is a number , and second column have a picture.
i want to read these data from c# with oledb connection, i can read number easily , but pictures is not contained in second column , so in c# i just get first column.
now, how can i read the images ? i want to extract the numbers and related image...
We're making this web app in PHP and when working in the reports we have Excel files to compare our results to make sure our coding is doing the right operations.
Now we're running into some differences due floating point arithmetics. We're doing the same divisions and multiplications and running into slightly different numbers, that ad...
ello
I understand this is a fairly common problem, but I'm yet to find a reliable solution.
I have data in a csv file with the first column formatted dd/mm/yyyy. When I open it with Workbooks.OpenText it defaults to mm/dd/yyyy until it figures out that what it thinks is the month exceeds 12, then reverts to dd/mm/yyyy.
This is my test...
The challenge
The shortest code by character count that will output the numeric equivalent of an Excel column string.
For example, the A column is 1, B is 2, so on and so forth. Once you hit Z, the next column becomes AA, then AB and so on.
Test cases:
A: 1
B: 2
AD: 30
ABC: 731
WTF: 16074
ROFL: 326676
Code count includes ...
I understand how to make a dropdown list.
I understand how to make conditional formatting change the color of a cell.
What I do not understand is how to make conditional formatting change the color of a cell based solely on the state of another cell (not a comparison).
A1 is a No / Yes dropdown list
B1 is a criteria statement
If the ...
I have a function which accepts fromRange and ToRange of an Excel cell. basically i want to read cell by cell values from the range.
suppose if i pass E2 and E9 i want to read in a loop something like Range(E2).value, Range(E3).value and so on till E9
How can i get the between cell addresses. Please help
...
I have several lists in Matlab that I want to write to the same excel file.
I have one list xordered and another list aspl. I do not know the length of the lists till after I run the Matlab program.
I used
data = xlswrite('edgar.xls',fliplr(sortedx'),'A2:A3000')
for the first list but when I tried to write another list to the same ...