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

How to send text to some HTML elements through Selenium VBA?

I have been having trouble on referring to a search box on a website through Selenium in VBA. The HTML code of the box is:<input type = "search" class ="form-control input-sm" placeholder...

View Article


Writing Ranges into formulas with VBA

I am using variable ranges, and want to insert those ranges into a formula that can be saved in a document that does not use VBA. Do I have to use a with statement?My If Statement works until I try and...

View Article


Populate Spreadsheet with Data from Index created from tabs in workbook

I have an index created from the worksheet names. I would like to populate a spreadsheet that will add the list item from the index to another worksheet if criteria is met, if not skip to next item in...

View Article

Image may be NSFW.
Clik here to view.

How to avoid having Power Query reorder my data when merging queries/expanding

I have mismatched data lines in a power query so I am attempting to renumber/reorganize the data then merge the information to realign.Here, I want the data in Column Answer 2 to go into column Answer,...

View Article

Updating control value of HTML Textbox in VBA

I have an excel with over 100 HTML textboxes that need their control values to be updated to match cell references. I am getting a runtime error 1004, Application or object defined error. I have tried...

View Article


php spreadsheet - getting the value instead of the formula

I'm trying to upload a spreadsheet using phpspreadsheet.I simply want to copy the values of each cell I see when I open the spreadsheet in open office, into the databaseThe problem is in one of the...

View Article

How to save as .txt in vba

I am looking to have my Macro save a new sheet that i created as a .txt file. this is the code i have so far. Sub Move() '' Move Macro '' Keyboard Shortcut: Ctrl+m ' Sheets("Sheet1").Select...

View Article

Concatenating variables into a string for a query url

I am trying to program a dynamic url that changes as the day changes. I can get the query to run if I hardcode the date into the string but it will not run when "todaysDate" is used at the end of the...

View Article


Ignores macro if not typed

I have a PLC sending information to an Excel sheet, I have 5 cells receiving that information and I need to copy them into their specific column. ExampleIn A1 appears "hello world" and I need that to...

View Article


Login to websites in the excel column

I use the code vba below to login to the website.i need to change my url part.I have sites urls in column A of Excel.I have to enter and login to these links in order. can you help me create this...

View Article

Copy Filtered Data to another Workbook

I am trying to copy filtered data to another workbook and it is giving me Run-Time error '1004'.Please help.Sub DS() '' DS Macro ' Dim wb As Workbook Set wb = Workbooks.Open("H:\L\Roy\H AND E\2020\SAP...

View Article

Excel graphical glitches when moving between sheets with private subs?

I encountered an odd graphical glitch when running private subs on a sheet then using a macro to jump to another sheet with a private sub on it. Basically excel is getting slowed down (the drop down...

View Article

Image may be NSFW.
Clik here to view.

Strange-looking Workbook opened after BeforeClose

I'm testing some code, which should copy data to a global tracker whenever the user finishes their work and closes it. It's working fine when I test it with a button but when I use it with BeforeClose...

View Article


Issue naming worksheets after cell range

So I am trying to use the cell values (text) in cells O2:O29 to create worksheets. When I run the macro, it creates one new worksheet for each of the colors but does not name them accordingly. My goal...

View Article

Image may be NSFW.
Clik here to view.

Merging cell copy [closed]

Is this possible in VBA? How can I do it?(For security reasons I have obscured some of the headings).I have 18 merged cell in sheet1 you can see it on first image.And also I have 18 data in sheet2 on...

View Article


Calculate when is convenient taking advantage of sorting in filtering arrays

I'm trying to optimize my FilterArray function so I've thought to use the sorted column (when available).The original function loops through all items in the array, make comparison in various columns...

View Article

How to calculate the average correlation among stocks

So I´m wondering how I can calculate the average correlation among stocks whose correlations are between 20% (LB) and 70% (UB). I'm supposed to use this VBA function AvgRhoBounded(Ret, LB, UB)LB stands...

View Article


How to join two tables according to 3 columns?

Sorry, I'm new to Python. I need to join two tables from the experiment with eye-tracking (right now I show them in one table, see picture). They have to match on 3 parameters: Stimulus (B-O),...

View Article

Type mismatch when checking the value of a cell

I have this code hitting error 13 :Type Mismatchwhenever I enter or change the value in C59, C59 contains this formula =ROUNDUP(D59/C57,0). I am guessing its because of the different variable but do...

View Article

Programmatically Install Add-In VBA

I'm looking to create a macro that'll install an add-in for the user to the excel ribbon. I'm upto:Private Sub Workbook_Open() On Error Resume Next Application.AddIns("Name of Addin").Installed = False...

View Article
Browsing all 88066 articles
Browse latest View live


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