Category "excel"

Data driven coded UI test with excel file as a data source

I built a coded UI test and I want to make it a data driven test , I want to get the data from an excel file ( Data.xls )located in the same directory with the

Argument not recognized when input

I run into run-time error 1004 Works if I use the cell as an argument but I don't want to constrain to one cell. I can get this to run if I use an input param

VBA project explorer still showing the excel workbooks which are closed by the macro

I have created a macro that opens a excel workbook and performs some operations and then at the end it closes the file.The macro is running fine. Now, when I o

Comparing MD5 hashes between XLSX files with identical content

We have an internal web application that accepts a file of varying formats from a user in order to import large amounts of data into our systems. One of the mo

How to get the values when multiple items are selected in PivotTable PageField?

I am rying to ge the values of PivotField in PivotTable(1).Pivotfields, then I am trying to get the the filter value to string(str- Declared as string), It is w

VBA Open Workbook from Macro fails "(path & filename) could not be found. Check the spelling..."

I have the following code, which should simply open a workbook from a master workbook to allow me to paste some information which I will later retrieve from a d

Open HTML file in excel, preserving HTML inline styling

I'm trying to open a HTML file in excel (from VBA) so that the HTML inline styling is preserved. Are there any special ways of doing this because currently I've

Open HTML file in excel, preserving HTML inline styling

I'm trying to open a HTML file in excel (from VBA) so that the HTML inline styling is preserved. Are there any special ways of doing this because currently I've

Add Dropdown Validation to an entire Excel Column using OpenXML

In Excel, I am able to add validation rules to a range of cells and limit the accepted input to a list of values displayed in a dropdown. This is done using the

Delete large number of rows (e.g. ~500k rows) based on a certain criteria

I have a large number of rows and columns (e.g. 500k rows and 20 columns) all filled with numbers. I'm trying to delete all data in column I that has a certain

Cannot Run Visual Basic Editor Because of a Syntax error whilst recording macro

I am a bit suprised as I am trying to record a macro in Excel, but I keep getting this error: Cannot Run Visual Basic Editor Because of a Syntax error The mo

Determine if an Outlook event is a meeting and what the response was

I'm trying to write a macro in Excel that will look through my Outlook calendar, grab all the events, and display the following information: subject, start time

Excel formula to take string value from cell and sort its characters in alphabetical order

Can you please help me to make Excel formula that takes string value from cell and sorts its characters in alphabetical order? Ex. original cell value: 'BACR'

Excel 2010 VBA ActiveChart.SetSourceData Failed

I have a Excel VBA application which has been working fine in Excel 2003 but failed in Excel 2010. The relative codes are Public Sub Create_Chart Dim c

Excel 2010 command button disappears

I'm developing an Excel 2010 workbook, in a manual formulas calculation mode. (file -> options -> formulas -> Workbook calculation -> manual) I ha

Writing to Excel using C#

I have a basic WinForms application and want to be able to write data from this application to an Excel spreadsheet. So far I have the following code: Microsof

VBA ListBox RemoveItem Unspecified Error

When I try to call remove item on my listbox, I get '-2147467259 (80004005)' unspecified error. My rowsource property is blank. I add the items originally thr

want to add worksheet from one workbook in to another workbook using openpyxl

I am pretty sure there is an easier way than how i am doing it, I just have two workbooks and a single sheet in each work book, does anyone have any any suggest

VLOOKUP from different workbook

I have 2 workbooks....OdysseyDeposit where my source data is and Civil Bank Accnt Recon which contains VLOOKUP to the OdysseyDeposit. Here is the VLOOKUP funct

Python BeautifulSoup Empty Rows in CSV File

I am working on a scraper to pull street names and zip codes from a site and all of that is working great and it builds a CSV file just fine for me. But when I