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

Replace word words with data from Excel

from openpyxl import load_workbook wb=load_workbook("Dados_Trad.xlsx") planilha=wb["Hoja1"] max_lin=planilha.max_row max_col=planilha.max_column listpt=[] listesp=[] for row in...

View Article


Saving Excel sheet in PDF format with specific name and to create and save in...

I want VBA code to save excel it to pdf format.Requirement - Data in excel : Sheet 1 will have template and sheet 2 will have all the name :Currently i am copy and pasting the below function,i have...

View Article


Error Messages when tring to use MonthView control

My OS is Windows 10 Pro 64bit version 1909. My Office version is 2013 pro (32bit)I have a VBA project that contains few modules and userforms. Two days ago something happened and the project cannot run...

View Article

pandas read_excel that creates index even when index_col=none

I'm trying to read an excel file into a data frame and I want set the index later, so I don't want pandas to use column 0 for the index values.By default (index_col=None), it shouldn't use column 0 of...

View Article

Updating the Ribbon

My fluent code starts:<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="RibbonLoader"> And I have a checkbox called "csmFLC"There is a global variable declared in a...

View Article


Simple Visual basic If for images

I think its too easy but im just new in visual basic and i having ploblems solving this.If a1 => 1, then, in b1 show green.jpgif a1 = 0, then, in b1 show red.jpgImage.FromFile, LoadPicture? how i...

View Article

Check values (all possible combinations) and assign them scores

I have a list of options that I would like to compare in Excel. Columns A contains old information about a product's id and column B contains new information about the same product. I want to check if...

View Article

Populate a listbox using a loop while ignoring blanks

I am trying to populate a listbox using items in column P and I would like to ignore the blanks. Private Sub UserForm_Initialize() Dim strItem As String Dim i As Long For i = 1 To 500 If Cells(i,...

View Article


Protect cell depending on other cell's value

I have an Excel spreadsheet where I want to protect cells in column I if the respective cell of column H <>"yes".I found a code but it will protect all the cells of column I.Option explicit Sub...

View Article


How to position a shape in a chart?

I am trying to position a shape in a chart in Excel through VBA.I set the parameters of the position. The result is the shape in a slightly different position.I have searched the Internet but I have...

View Article

Excel- Average days between group of dates

I'm trying to use excel to calculate the average frequency of delivery for a set of parts. I have a data set that has two columns- part number and delivery date. I'm trying to figrue out out oftne...

View Article

Image may be NSFW.
Clik here to view.

My transaction.xlsx file is not not working with my python code

Hey. My transaction.xlsx file is not not working with my python code. I'm making a automation excel program. I fix the macros is excle but it's work no good

View Article

Image may be NSFW.
Clik here to view.

read_excel that creates index when index_col=none using pandas

I'm trying to read an excel file into a data frame and I want set the index later, so I don't want pandas to use column 0 for the index values.By default (index_col=None), it shouldn't use column 0 of...

View Article


VBS script to update an Excel pivot table

I'm using a VBS script to run from task scheduler. It run the .xlsm that contain data on sheet1 (a view from SQL) and a sheet2 with a pivot table.When I run the .xlsm the data from table update (I have...

View Article

How to delay or postpone code execution in VBA

In one of the sheets from my macro enabled workbook I have a couple of ActiveX controls, among them a ToggleButton and an InkPicture control (the latter inserted by means of ActiveX Controls -> More...

View Article


Batch Convert TDM files to XLS

MY GOAL: Batch convert all .TDM files in a folder to .XLS using an existing add-in by adapting this macro that only works 1 file at a time. (Also open to any VBA approach.)Using an existing add-in, a...

View Article

=INDEX(PeriodList,MonthNo) creating _xlfn.SINGLE name in workbook

I hope someone will be able to help with a problem that has surfaced with a recent Excel update.If I define two range names in an Excel worksheet and then enter =Index(PeriodList,MonthNo) in cell A13...

View Article


Populate a portion of a cell based off another cells user input

Hello All wanted to start off by saying I appreciate your input and help. I'm not familiar with VB and so I am wondering if this can even be done in Excel. I have five columns that I would like...

View Article

How to compare a value with a list of value

Essentially, I try to do the following:I have three columns with words. i.e: A b C ('soldier'= ('help= ('help'=4) ('weapons'= ('freedom= ('freedom'=3) ('freedom= ('weapons'= ('weapons'=2) ('help=...

View Article

Return a date based on criteria in excel

I have a table of athlete names, training sessions and dates they completed the sessions. From this table i want to extract the most recent date (excluding the current date) that a specific athlete...

View Article
Browsing all 88030 articles
Browse latest View live


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