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

How to append rows from one Dataframe to another having different column...

I have two excel files, the first one has 34 columns and the second one has 19 columns, the first one has all these 19 columns but if I add some empty column I can get the structure of the first file....

View Article


How do I sum between check boxes in google sheets?

I have a google sheet file that I'm using to collect data from boss drops in a game. Every once in a while there is special loot. That special loot comes on average every 867,000 points. What I'm...

View Article


Automating Mail Merge using Excel VBA

I created a macro in Excel where I can mail-merge data from Excel into Word Letter Template and save the individual files in the folder.I have Employee data in Excel and I can generate any Employee...

View Article

Using Option Button to set a variable in excel vba

Hi I am relatively new to excel vba and I'm having some difficulty. I have a workbook with 3 sheets. The first sheet contains two option buttons and a button. When the user clicks the button I want to...

View Article

Copy content from .txt or .csv in vba [closed]

I would like to select content from tab delimated file (.csv or .text) into a specific cell in vba using GetOpenFilename method

View Article


How to insert data when clicking excel vba button? [closed]

Want to know how can we insert a particular text Eg: Red in A1 cell when clicking excel vba button. After every button click, the above text "Red" should move to right i.e B1 cell and so on....

View Article

Excel - Check for the first value greater in this column [closed]

I have a question about using excel as my online shop stock control table.Basically I need to a formula to a cell that automatically calculates the total value of an order, and discount that in the...

View Article

I am trying to write value to array and find maximum value of array?

How can I assign value to array and find max from array valueSub maxpain() 'name sym = Sheets("Analysis Ochain").Range("A5").Value 'Column number ccol = Application.WorksheetFunction.Match(sym &...

View Article


Image may be NSFW.
Clik here to view.

Looping through columns and rows in PHPExcel to create objects

I'm using PHPExcel library to loop through my excel spreadsheet. This is my current script :try { $inputfiletype = PHPExcel_IOFactory::identify($inputfilename); $objReader =...

View Article


Import Excel in Access with custom dynamic range - Range declaration issue

I am struggling with TransferSpreadsheet and dynamic range on Excel VBA. I have done numerous researches, but I don't seem to find a solution to my problem. Anyways, I am a beginner VBA programmer; I...

View Article

Excel VBA: How Check the Name of Picture Inside the Cell?

I'm writing a program in macro that will check the name of the picture in a cell, then put a value on the next column based on the name of the picture.My program only checks if the name of the picture...

View Article

Copy and paste active column without changing cells formats

This code helps me to copy and paste active column in values but the numbers are pasted with two decimals. I'm using this code because my sheet has merged cells inside and also some cells within the...

View Article

Find an actual ? in excel vba

I need to find an actual ? in a range of cells. I am using this code: Dim rCell As Range Dim rArea As Range ' set range variable = Column in the active sheet. Set rCell = Range("g1") Set rArea =...

View Article


Select max of each group with its associated values

I have a large table formatted like so: +-----+-------+-------+ | id | count | group | +-----+-------+-------+ | 123 | 37 | a | +-----+-------+-------+ | 121 | 26 | a | +-----+-------+-------+ | 442 |...

View Article

Find data in a column from a cell reference in another worksheet then copy...

I have 3 worksheets in the workbook: 1st is the Info sheet where cell S1 has the Trainer Name that I need to find in the 2nd sheet named Classes. Once the Trainer Name is found in the Classes sheet...

View Article


VBA code to change a link to a path set in a specific worksheet cell

I am new to VBA and running into a roadblock. In my excel file I have an existing link to a different excel file. I am looking for VBA code that would let me change that link to point to a different...

View Article

Image may be NSFW.
Clik here to view.

VBA/Excel - Change audio track number, depending on track version

I'm attempting to add each track number of the 'main track'. As you can see there are alternate versions that need the main track number listed in column R.It would be great if column R could populate...

View Article


Excel When Drop down box selected auto fill other boxes

I have an excel spreadsheet that has drop down comboboxes on sheet 1. I am trying to find out how to autofill the 5 boxes to the left of the combobox with content from sheet 2 when a specific drop down...

View Article

Excel VBA While loop

I need help fixing the loop below:Dim Lastrow As Long Dim i As Variant Dim Valid As Boolean Dim inputDec As Integer Lastrow = Range("D65000").End(xlUp).Row While Valid = False i = InputBox("Ve kterém...

View Article

VBA Excel: Copy data from one cell to another when it meets condition

I have a key holding sheet at my job I'm working on. I've created a button macro to try and do the below.I want to be able to loop through a one column of information and if a cell contains data in...

View Article
Browsing all 88809 articles
Browse latest View live


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