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

ASP.net Gridview Export to Excel .xlsx not working

Export to excel in .xls is working but export to .xlsx is not working after change content type- My code is below:private void ExportToExcel() { try { Response.Clear(); Response.Buffer = true;...

View Article


Not able to fix Formatting im attendabce sheet

I was preparing a template file for Attendance sysytem.In which I need to fetch data from The report which I download from Biometric Attendance machine.Report which I download from Attendance machine...

View Article


Code to search column A:A, copy values in same row F:F and paste to same row...

I am looking to have a VBA code that will look down A:A in a sorted and organized data table from A2 to A100 for example. For the first A2 value copy the value in F2 and paste it to O2. If A3 is the...

View Article

Excel crashes when i set com object to call python script

I am running windows10 on an azure vm with Office365 Pro Plus. I am trying to set up a COM object to call a python script a la...

View Article

Image may be NSFW.
Clik here to view.

Transfer Specific Columns from .txt to Excel

I am trying to transfer the data in this .txt file into a spreadsheet.After I run the VBA I have, all the data will get transferred, so, Column A through Column E will get filled. But I only need the...

View Article


Image may be NSFW.
Clik here to view.

Type mismatch error on importing values to an array

I m initializing an array and import values from a specific range. if the range are greater than one line the code works fine BUT in case the range is just one line i m getting an error of:Run time...

View Article

Need to group Time Slots in Excel

I am working on logistics data. I have booking being made throughout the day at regular intervals from start to the end of the day. Now these booking are consistent and I have time from like04:45 21:10...

View Article

Prevent a command button from being clicked multiple times while a sub is...

I'm creating an Excel macro that will run when a command button is pressed (VBA 7.1), and will not allow the user to click multiple times during execution, however every trick I've found online to this...

View Article


How to loop through non-zero values in a nested for loop

This is the code i am using. I want to loop through range AB:AF, which contains numbers from 0 to 5 and ignore the values that are 0.So for example range AB34:AF34 contains 0, 1 and 5, i will only want...

View Article


Macro stops looping if I call a macro to send an email

I have a workbook named Run All Weekly Reports.xlsm where I list reports that I update each Monday. The workbook/report names to be updated are in column A, the workbook paths in column B and the macro...

View Article

Image may be NSFW.
Clik here to view.

Move cells to row with criteria

How can I move cells from the row where the first value is same as in the second or third to the same row. get first picture from the second.

View Article

Find a text range in column and write search result to other column in excel

I have got a table like as this:https://up.uac.ist/images/2020/02/08/Ekran-Resmi-2020-02-08-15.17.20.pngIf the keyword which in column b, is in the sentences in column a, I want the result to be...

View Article

Comparing shape object retrieved from Selection and the same shape retrieved...

I'm trying to check if the Shape selected by user is the proper one. For the simplicity, let's say we have only one shape in otherwise empty worksheet. Because of that, we know that the selected shape...

View Article


Looping from the limit of contents in a sheet to match and copy in VBA Excel

I'm new here, and this is my problem; in vba, excel 2010 I want to search for a specific word or a list of words in every row with content in one sheet and if it matched then it copy the entire row of...

View Article

Pseudoinverse computation using VBA and C++ DLL

I want to pseudoinverse a big degenerate matrix using VBA in Excel (analog of wide-known "pinv" function). As I understand excel tools can't deal with degenerate matrices. I found nothing better than...

View Article


How do I combine a regular expression function in vlookup?

I have a VBA regular expression which I would like to combine with VLOOKUP however it does not return the value based on the regular expression if used with VLOOKUP.This is what it returns when I...

View Article

Putting loop inside a Select Case generates error

I have put a do/while statement inside a SELECT CASE/END SELECT and it generates the errorCase without Select Case.Select Case myVariable Case 0 Do While ... Case 1 ... End Select

View Article


Image may be NSFW.
Clik here to view.

How to fetch match details and display in TextBox | Excel VBA | Application |

I have a scenario where I want to display data in a textbox..if keyword matches from entered sheet name Below is the Application how it lookMy application GUIAs per above image i am taking two input in...

View Article

Insert a Row in Excel Using Java Apache POI

I am developing a desktop application related to Excel sheets. I have some problems inserting rows between two rows. Is there any possibility to do this in Java using Apache POI?Workbook...

View Article

How to use two value in the last row of a table to add rows to another table...

I am new to vba and having a little trouble figuring this out. Don't really know where to startI have two tables. I'm simply just trying to find code to say that if the last row in table 1 of worksheet...

View Article
Browsing all 88835 articles
Browse latest View live


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