Automatically populating excel or google sheets tables [closed]
I'm looking to use lists of x and y values to create multiple tables that will change accordingly when a value is added, deleted, moved, or changes. Imagine having the lists...
View ArticleImport Excel to database in C#.NET
I have a huge collection of Excel files. there are many information privite and my client want to store it in database. And later they can use the data in the database to rebuild all the Excel report....
View ArticleReference a newly opened Workbook to run code on it
I know I can open a workbook and have code run in the same workbook if the mapping to the file is pasted into the macro code.I want to use an open dialogue box to select it.This code:Option Explicit...
View ArticleExcel, VBA Vlookup, multiple returns into rows
Very new to VBA, so please excuse my ignorance. How would you alter the code below to return the result into rows as opposed to a string? Thanks in advance.... dataAcct No CropType ------- ---------...
View ArticleExcel Dynamic Range
I am struggling to get dynamic ranges in XNPV formula,XNPV($C$20/12,$J31:$J61,$C31:$C61)Please help me pick non blank range in range J29 to J100 and C29 to C100 In the formula above i get non blank...
View ArticleVBA Excel E-mail [closed]
I need your help, I need add "CC" and "BCC"Arg1 = To Arg2 = Subjec Code I'm Using:Sub SendIt() Application.Dialogs(xlDialogSendMail).Show _ arg1:=Array("mail@mail.com.", "mail@mail.com"), _...
View ArticleWebscraping using Excel VB getElementsByTagName("a") Only Works Some Of The Time
I have used the following code to successfully pull in data on email into Excel:Set ElementCol = html.getElementsByTagName("a") For Each Link In ElementCol If InStr(Link, "mailto:") Then Cells(MyRow,...
View ArticleI have 4 values obtained from a form, I would like to paste these values into...
I have these four values obtained from a userform.With Worksheets("Sheet1) Worksheets("Sheet1").Range("A2").value = TextBox1.Value Worksheets("Sheet1").Range("B2").value = ListBox1.Value...
View Articlesearch worksheet for user input value and return row information
I have a userform that has options for search criteria, once you select one of the option buttons, you insert a keyword for one of those options and then search multiple worksheets for this value. So...
View ArticleRandomly Assign Employees with Percentage to Tasks
I was working in a previous macro that makes me a lot of problems like (if #Tasks < #Employees) macro doesn't work, or like percent Values that I think does not work properlyI share a part of the...
View ArticleNeed to consolidate cells in range to one row [closed]
I have three runs of each specific name (Column C). How do I consolidate the three runs and move the matching Symbol (Column E), RT (Column G), and AO (Column H) for each run into the appropriate cell...
View ArticleJump to a column [closed]
Quite new to VBA and wasn't sure on a specific piece of codeI wanted to run a macro which goes to a specific column, cuts it, and moves it to the beginning of the sheetThe columns are: AFG1 XW1 AMY1...
View ArticleFinding the Inflection Point
I currently have two sets of data, a x and y axis, and I need to find the point where it changes from a positive slope to negative slope. Is there anyway of finding that data in VBA or a function...
View ArticleCopy Row Based on a Condition to Another Sheet
I've been looking on this website for an answer but can't find anything relevant and was wondering if someone could help please.I have an excel document. Sheet 1 contains a list of extension numbers,...
View ArticleVBA Create search results in userform listbox
I am trying to create a userform that displays results in a listbox if textbox1 and textbox2's value matches cell value Textbox1 will = cell value I1 Textbox2 value will be yes, no, maybe (whatever is...
View ArticleExcel Application.OnTime causing glitchy behavior any alternative?
After running Application.OnTime every 10 seconds eventually Excel will get extremely glitchy and force me to double click in a cell to force it to refresh among other seemingly random behavior. Is...
View ArticleExcel formatting?
I have an excel sheet with times in the format of hours:minutes:seconds (h:mm:ss). My problem is that I have been entering time with just minutes and secondsExample 1 min and 30 seconds was entered as:...
View ArticleExcel VBA formatting ranges
I have a sub that formats specific ranges on a sheet and I want to make it more efficient (it was copied from running the macro recorder and works fine). I Also want incorporate code so that if a...
View ArticleAdvansed xlsx spreadsheet formatting
Is there some JavaScript or Golang lib that allows to create xlsx files using some custom heavy formatting?I'm working on an Electron app and want to generate some reports but the most popular library...
View ArticleActive a macro by clicking in a cell with a formula?
I am trying to activate a macro by clicking in a cell. I have the macro working if i click on an empty cell or a cell with general text in it. But I have a cell with an ='s formula in it and when i use...
View Article