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

VBA function is not saved

I have written my own function for computation have to do very often. The problem is that when I write it to the xlam file were all my functions are stored this particular function is not saved. After...

View Article


Image may be NSFW.
Clik here to view.

"Flatten" cells and show value if it exists

I am in search of a formula that can show a content of a cell(if it has one)in a specific range. Here is an image of what am trying to do:Thanks in advance.

View Article


Image may be NSFW.
Clik here to view.

Changing language of Visual Basic Editor to English

After Microsoft Office updated to the 2016 version I found the VBA interface is in German. How can I restore it to English?My Windows 10 settings are set to English and the local setting preferences...

View Article

Creating a script to merge PDF files whose names are contained in an excel...

I'm trying to create a script/batch file which merges a group of PDF files which are mentioned in some specific cell in an excel sheet, those files are always saved in a predetermined folder, I don't...

View Article

ActiveX Combo boxes self generating by the 100s

Excel is stacking 100s of combo boxes in the same spot on one of my sheets.I have coding in place with the combo boxes, but it is only to adjust the size of the font. I also have tried to delete the...

View Article


Image may be NSFW.
Clik here to view.

Is there a way to download images from Excel and name it as per data in...

I have an Excel where in Column A there may or may not be images and in Column B there are numbers. I wish to download these images to a folder and name it as per the corresponding entry in Column B.I...

View Article

python xlrd unsupported format, or corrupt file.

My code: import xlrd wb = xlrd.open_workbook("Z:\\Data\\Locates\\3.8 locates.xls") sh = wb.sheet_by_index(0) print sh.cell(0,0).value The error: Traceback (most recent call last): File...

View Article

Custom filter and export filtered data into excel sheet not working in...

I have data table with search filed. I am trying to filter table using data range and order status. I want to filter table also using range and status and also want to export into excel sheet. Code is...

View Article


xlrd reading xls XLRDError: Unsupported format, or corrupt file: Expected BOF...

This is the code:xls = open_workbook('data.xls') In return:File "/home/woles/P2/fin/fin/apps/data_container/importer.py", line 16, in import_data xls = open_workbook('data.xlsx') File...

View Article


Index Match Formula Keeps Continuing

I'm trying to create a dashboard, where upon selecting a company from a dropdown list, it will list all of the company's bankers where the data is on another worksheet tab.So far, the Index Match...

View Article

Excel VSTO how to check if the Cancel button has been triggered from the...

I am currently developping an Excel VSTO addin and here is the code for WorkbookBeforeCloseprivate void App_WorkbookBeforeClose(Excel.Workbook Wb, ref bool Cancel) { bool isEnabled = false;...

View Article

Openpyxl - Apply formula involving cell references

I have an Excel sheet where I use the below formula in column A to find the overdue tickets based on number of days (365/180/90/60/30) in Column B. The formula is working fine in...

View Article

Find and Replace Formula after Specific Numbers

I am a newbie of excel would kindly ask for your help with regards to a find & replace formula. To be specific:I want to find this "09:00 - 18:00 Calendar events: 12:30 - 12:45 , 13:00 - 14:30...

View Article


Excel VBA: Declaring control as specific type(s)

I have a user form with multiple control types (TextBox, ComboBox, Button, Check box, Label). I wanna have a piece of code that checks the value in each TextBox and ComboBox and changes the color of...

View Article

VBA How to display value of cell adjacent from another cell?

Trying to display the maximum demand and the month associated with that demand. The month column is column A and the demand is column E. I'm pretty sure my issue lies in how I'm addressing...

View Article


Excel vba Array compare and find second match

i got 2 array and what i would like to do is when a match is found in the 2 array's look for the second match.How can i do that?'For y = 1 To lr If Not dbsheet.Cells(y, 1) = Charr Then Close #1 Open...

View Article

Image may be NSFW.
Clik here to view.

Function for dynamic range selection given a two parameters in VBA

Im new to vba, I've two columns in my data, where the first one contain dates and the other contain sales number, I want to create a function that takes in start date and end date and return the...

View Article


VBA: Apply Conditional Formatting to multiple Excel Table Columns, IF data...

I have just signed up to Stack Overflow as it has been a huge help to me in the past. My first question on this forum and hoping someone can help. I am developing an Excel spreadsheet for a client. The...

View Article

Generating letters in word using excel vba

RequirementsAutomated remainder letter from school to students for paying the fee using vbaMy excel worksheet has data for the below Date Roll no Student name Class and section Amount in numbers Amount...

View Article

Trying to change value of the next empty cell in a column

I have some experience with VBA but not a lot. This feels like it should be so dang simple but I cant figure it out to save my life. lol. All I am trying to do is to input a value into the next empty...

View Article
Browsing all 88030 articles
Browse latest View live