Quantcast
Channel: Active questions tagged excel - Stack Overflow
Browsing all 88809 articles
Browse latest View live

How to create a XLSM file in Python

is there a way to create a new .XLSM file in python? (alternatively) Is there a way to create .XLSM file from a .XLS or .XLSX file within python?from openpyxl import Workbook wb = Workbook()...

View Article


Image may be NSFW.
Clik here to view.

Combining text strings in Excel based on conditions using formula or VBA...

I have Column A filled with postcodes/zip and Column B filled with a separate list of postcodes/zip. Column C & D both have category text.If there is a matching postcode anywhere in Column A &...

View Article


Creating sql update command on excel using string and cell values

On an excel file i have ID values on column A and descriptions on column B. On column C i would like to know what command can i use to get the following result (so i could copy and paste on the other...

View Article

Object variable or with block variable not set error in vba while web...

Referring to question on stack overflowSearch a website using excel vba with excel data and extract the active state in flowchart of search result and mapping it into columnCode is running fine when...

View Article

make direction of excel sheets of my birt report right to left

I have a birt report with excel output. I want to make the sheet direction right to left. I try to do this via adding new style, but the style just make the text in cells right to left, not the...

View Article


python:for loop variable didn't work in iloc in data frame

iam trying by loop to go throw excel sheet to get value and iam creating list to go throw excel sheet by index (0,1)but iloc didnot work in for loop m=[(df.iloc[(r,c)]) for r in range(25) for c in...

View Article

Why does nested loop cause a Run Time Error 13?

I've written a macro that structures a lot of data and saving me for manual punching of numbers etc. The macro is written in stages were each part have been tested isolated and then integrated in loops...

View Article

Count the duplicate rows in excel using python and i am getting error...

Format Like this email excel filename email A A@gmail.com B B@gmailcom C c@gmail.com A A@gmail.com B B@gmail.com In second excel file outfile.csv This is the output name email count A A@gmail.com 2 B...

View Article


To check multiple criteria with duplicate values in various columns at the...

I am trying to build the code to throw the message on following criteria. one to check the condition on four cells values which are in number are equal to all or not and then to check duplicate values...

View Article


how to loop checkboxes

Please help me with this vba. i have 20 checkboxes named checkbox1 to checkbox20. I would like to write a vba that record the username in column B when each checkbox is checked. For example, when a...

View Article

URL Issue retrieving data quotes in Yahoo finance

The URL from Yahoo is not working when I try to retrieve quotes from a particular stock. There are several discussion about it, However, it seems nothing is shown regarding VBA macro Sub Get_Data() Dim...

View Article

Excel VBA for Mac : Save worksheet as PDF

I am actually working on a simple macro to save the active sheet as a PDF file with a special name. The macro I have created is working but it is saving every sheets in several PDF and put the name of...

View Article

Image may be NSFW.
Clik here to view.

VBA - Control chart with upper and lower brackets

I would like to create a graph as below. I tried using a scatter chart and I ended up like this:But, what I want is this:Where am I going wrong? TIA!* UPDATE * So, I was able to plot the graph the way...

View Article


Referencing a workbook whose file name changes consistently - solution...

New to VBA here. At work I am creating a macro that can compile and format data from a report we get monthly and the file name changes. Since the name changes, instead of having to go into VBE and...

View Article

I want to create xlsx (Excel) file from c#

This is a code which could create only create xls file. But I want to create xlsx (Excel) file; how can I do that from this code or else can I have another code which I could use to create xlsx...

View Article


Image may be NSFW.
Clik here to view.

Displaying a Variant Array Value in the Immediate Window

I'm using a third party add-in, which seems to work ok. However, I'm not able to display the value of a variant array element in the immediate window. I have found ways around it, but I'd still like to...

View Article

Request to complete this VBA code for get Result it will help me to get...

Sub getDataForExcel() Dim ie As InternetExplorer Dim ht As HTMLDocument Dim wb As Workbook Dim ws As Worksheet Dim rng As Range Dim symbol As String Dim n As Integer Dim lastrow As Long 'Dim ltpPrice...

View Article


How to count duplicate rows and compare the two column values in excel using...

This is rows and columnsemail mark A@email.com 50 B@email.com 60 B@email.com 50 B@email.com 60 B@email.com 60 This is excepted output email mark totalcount A@email.com 50 1 B@email.com 50 1 B@email.com...

View Article

New row in top of Excel table

I have a snippet of VBA code I'd like to enhance. Got two Excel tables - ToDo and Done. The code fetches first row in ToDo table (I use table header as anchor cell and offset one row down to get the...

View Article

Pass the parameter to get all values in python [duplicate]

This question already has an answer here:How to select rows from a DataFrame based on column values? 10 answersThis is code dr = data_file[['name', 'mark', 'total_count']] ds = dr.drop_duplicates()...

View Article
Browsing all 88809 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>