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

Image may be NSFW.
Clik here to view.

Expanding reference range of formulas which operate on a "database" when more...

I included possible solutions to this problem below, however I'm hoping that perhaps somebody knows other ways and/or some neat tricks to achieve this.1) Say we have a simple "database" in excel (as in...

View Article


Need to Populate Entire Excel Spreadsheet Based on Drop Down Selection?

Please help.I'm trying to create a widget in a sense. I am trying to create a toolkit per say in excel where I can choose the event type in the drop down list and when I select it it will populate all...

View Article


Image may be NSFW.
Clik here to view.

Microsoft VSTO Excel.Application.FileDialog() form filename edit box is...

I'm creating an Excel Addin which uses Excel.Application.FileDialog for the user to select files. When the FileDialog opens and files are selected, the filenames aren't inserted into the filename...

View Article

Image may be NSFW.
Clik here to view.

html table export to excel formula in excel file not working after export,...

I have code below for data export from HTML table into Excel file. My question is, after file export when user adds formula to excel for calculation's, Excel formula is not working. When I add 2 and 2...

View Article

How do I implement a Vlookup using a variable declared as Variant?

I extract a bug number from a column in sheet1.I then try to look up the associated estimated time in sheet3 (Bug Estimates) via a vLookup. I get Error 2042 (x3 for each value in my loop).I tried...

View Article


Range.RemoveDuplicates Deletes entire contents

I have a clean up subroutine that takes the output written from previous subroutines. It is supposed to just remove the duplicates that the previous subroutines find. However, instead of deleting the...

View Article

Weekly reminder message that repeats until user performs action

I developed an add-in to purge old project files weekly.I would like my reminder form to pop up on a user's PC once a day (upon loading the add-in / opening up Excel) until they run the purge sub....

View Article

Create Outlook email with an @Mention for a contact in the body

I'm generating an Outlook email, which has an HTML body, via Excel VBA.I would like to @ a contact in my organisation in the body. e.g. @Bloggs, JoeMention is a functionality added to Outlook in the...

View Article


Image may be NSFW.
Clik here to view.

Nested loop with varying number of iterations

I have to loop through 1 to 5 to determine if I need to keep or delete the ID. For exampleI loop through all the 1s, there are more than zero "yes" and I keep 1.Loop through all 2s, there's no "yes",...

View Article


After setting ActiveX textbox to empty value, previous text briefly appears...

I created a data entry form on a spreadsheet using ActiveX TextBoxes. These are coupled with a submit details button and a clear data button. Both buttons at the end of execution set the text boxes...

View Article

Creating Excel file in Windows Forms application using C#

I would like to ask how I can create a new Excel file. I am writing a program and there is one part I can't find out how to do it.I have a button which should create the new Excel file, so you click on...

View Article

GetPivotData #REF Error, data format issue?

I am getting a #Ref error when I try to reference an element from a pivottable.I am literally doing a "=" and clicking on the pivot table to get the formula and even that is returning a #REF error.To...

View Article

Excel: How to list the numbers of a sequence of intervals?

I was looking for a way to do what the title says and just found the follow thread: Excel: Listing Numbers In Between 2 NumbersBut my case is a little different: there is a cell where will be typed...

View Article


Use COUNTIFS with two criteria?

ı am stuck please help me, basically ı want use a formula which counts data within the day range that ı have defined and also counts just the name i describe. Likes data which is in photo enter image...

View Article

Remove item from a list after I pick it

I want my code to pick a random number between 0 and 99, and then do it again 99 more times without picking a duplicate. I know how I'd do this in a very inefficient way (pick a random number and then...

View Article


Calculate how many days have passed since user's input date

I am trying to let the user input a Date in a cell. Using the input date and today's date, I would calculate how many days have passed since the user's input date.Example: User inputs "2/15/2019" in...

View Article

Extract attendees into excel from Office365 event with a matching subject and...

How to modify this working code to switch from item notification trigger to event specific trigger? Basically from Private Sub (Item as Object) to Sub()Being a noob and coming from powerapps, I can't...

View Article


Subscript out of range when using Userform input workbook as reference

I have put together a userform for the user to select an open workbook - ideally would like to have this integrated with a script so that the script runs in reference to the workbook chosen. However an...

View Article

Calling a PowerShell script from VBA in a synced location (SharePoint)

I have a working VBA script that calls a Powershell script as follows:Call Shell("powershell -executionpolicy bypass & """& ThisWorkbook.Path & "\FTP\FTP.ps1""") The workbook path is...

View Article

reference LONG variable to cell in a sheet

How to link a Long variable to a value entered in an excel sheet? I want to create large number of rows and although I am able to change the variable directly in the code (e.g. x=100000) but as soon as...

View Article
Browsing all 87999 articles
Browse latest View live


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