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

MySQL: uploading Excel/CSV for use in stored procedure?

I hope this question is not a duplicate. If it is so, please point me to the right direction.I have a MySQL MariaDB database table with users. On every year we receive an Excel or CSV file which...

View Article


Store multiple results from HLookup in listbox

I am trying to store the results from a HLookup function in a listbox. However, it shows an error 1004 at the row 'set Myrange = ...'. Private Sub CommandButton1_Click() 'fill listbox with athletes...

View Article


Using information information from a combinationbox in EXCEL VBA to write...

I am about to make a macro controlled excel book to my son's bowling team after I saw one of the coaches trying to keep track of payments and points with paper and pencil during a competition we...

View Article

VBA code works quickly and perfectly in Excel 2010, but takes 30 seconds to...

This is my first post to stack overflow, so please let me know if I am doing something wrong. I am having an interesting situation where the below code works almost instantly on Windows 7 using Excel...

View Article

getting rid of the 0 from the middle of the list in index match return in excel

I have a similar to below list in excel column D: Project Plan SheetKevinAlexMaxemptyKevinAlexMaxemptyJohnAlexMaxemptyAnd from the above list I want to get a list without the empty cells and with only...

View Article


Excel- IF 2 values on the same line THEN

Long time browser, first time "asker"In an Excel sheet, with several lines with values. First cell of each line is a date, and the rest are number values. column A is the date. Columns B thru V are...

View Article

DataRow: Select cell value by a given column name

I have a problem with a DataRow that I'm really struggling with.The datarow is read in from an Excel spreadsheet using an OleDbConnection.If I try to select data from the DataRow using the column name,...

View Article

How to position a button within a cell?

I am having a problem positioning a button within cell.Clicking the button runs this subroutine:Public Sub TableDisplayButton() Dim cr As Range, cr2 As Range With ActiveSheet.Shapes(Application.Caller)...

View Article


Name Range in an array

I have a variant variable which contains two name ranges. I try to copy the range using the name of the range stored in the variable but i do not know how to do it. Please see below my code. Any...

View Article


Convert a textfile content into base64 using vba

I am trying to convert a textfile into base64, as well as hash it to MD5. The problem is I don't know how to do it. I tried checking out google's examples. I am currently using this one.But after...

View Article

How to get and set excel column width through c# excel interop

I am using excel interop in creating excel. Now, I have to get the size of a column as basis of what the next column's size would be. I tried the following code:width =...

View Article

Image may be NSFW.
Clik here to view.

VB Macro to upload Test Cases to ALM

I am working on a macro to upload the test cases from excel to ALM using VBA scripting. I got connected to the ALM using the below code:Set QCConnection = CreateObject("TDApiOle80.TDConnection") Dim...

View Article

Need Dynamic changes in summary based on filtered range data

I have created a summary based on the data available using if conditions and sumifs/countifs.Here I need one more option like if I filter certain range data then the summary has to show the filtered...

View Article


Selection Macro in excel - Select a text cell and blank cells below it and...

I want to merge the text with the blank cells below it, image for referenceAny pointers on the code to use for this,Thanks a ton.

View Article

How to edit Formula Bar in macro with variable inputs?

I am currently working on a macro that needs to copy a INDEX function from a cell, that has varying information and run it. Eg. the function can be either "=INDEKSI(voy!A1:E4;1;0)" or...

View Article


DoCmd.TransferText issue with delimiter and decimal

I have the following issue:I'm trying to import a csv-file with:Dim appAccess As Access.Application Set appAccess = CreateObject("Access.Application") appAccess.OpenCurrentDatabase (databasePath)...

View Article

Compile error: Sub or function not defined when filling and saving userform

I have a userform which can be used to add new tasks to an excel spreadsheet. However i want to add old tasks to the spreadsheet using the same userform. So i have created a macro that fills the...

View Article


How to write IsEmpty on a selection in VBA

I am trying to write an IsEmpty code to check if there are any empty cells in a certain selection range. The thing is it cannot be hard-coded such as B100:J because I am importing data constantly so...

View Article

Image may be NSFW.
Clik here to view.

Date formatting - For Each loop changing outputs

The age old date conundrum in Excel. I am looking for advice/ help on the below please!I have a set of dates:Important to note about these dates: They are output from an array using start_date =...

View Article

How to convert my xlsx sheet to java object using Apache POI

can any one suggest me to convert my xlsx sheet to java object using Apache POI.eq, my excel sheet contains two columnsemp_no emp_name 01 anand02 kumarand my java object Employee{ String empNo; String...

View Article
Browsing all 88854 articles
Browse latest View live


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