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

How to extract data from web page to excel using Power query where the...

I would like to extract the data tables to excel from the below two sites, but need to change the time period from the default of hourly to Daily. I can extract the hourly fine with Power Query but the...

View Article


Image may be NSFW.
Clik here to view.

Power BI: Custom Min/Max values into Visual (Line chart)

I am trying to do some reporting stuff (engineering field), and I am stuck on some "simple" thing, how to insert/add custom Min/Max values so that I can have on the certain visual (like on the picture)...

View Article


Highlighting Column cells between values

I am trying to write an excel Macro with the purposes of highlighting each cell in column E with values between 1000 and 1300. The sheet is 500 long and has columns A through Z. Does anyone have any...

View Article

Highlighting PDF with Javascript

I am trying to write a batch file which has html with javascript for a gui. The goal would be the batch file runs VBA gets a TSV file from excel and then highlights some data on a pdf based on the TSV...

View Article

Userform initialize without rewriting data in the cell

I have been wondering about this one for a while now. Let's say I have a formula in A1, Worksheet("Main")=IF(B2="English";"Good morning";"Guten Morgan") Then I have userform with code:Private Sub...

View Article


Unable to read in a excel XLSM file to bind to datagridview

Trying to read in a XLSM file and pull data from 2 columns. I have the below code in my c# application and it doesnt seem to work, the datagridview never shows any data and when i step thru the code, i...

View Article

VBA Excel Mac Dictionary Class on Mac Get Keys() Attribute

The Get Keys() attribute is slow with a decent sized data set. Is there a way to assign keys without looping through each record individually?I can only find examples of for or do loops to assign keys...

View Article

Copy from one workbook to another workbook for a range where the last cell in...

I am trying to copy data from one workbook to another for specific ranges where the last row varies.I have tried a few different expressions for where 'H', but have defaulted for now as a workaround to...

View Article


excel vba define and enter data from range in another worksheet

I have two sheets first sheet gets data from SQL table so the range always changes depending on data size I have determined what the range is for cell A2: endxldownIn sheet 2 I have a date form which...

View Article


Convert HEX to RGB in Excel

I have a column "HEX" and three columns "R", "G", and "B".How can I convert a HEX to RGB, e.g. ff0000 to R=255, G=0, and B=0?I know that the first 2 characters ff belongs to "R", the next 2 00 belongs...

View Article

MS Excel:Select only cells of numbers containing meaningful decimal points

I have a spreadsheet with two kinds of elements: these include real numbers that aren't integers and integers. I want to select all numbers with decimal points i.e. 3.1415. I don't want to highlight...

View Article

Image may be NSFW.
Clik here to view.

Offset in JavaScript UDF? VBA for Example

I asked the same question before here (For Loop JavaScript? VBA for Example) but I was not specific enough so I did not get the feedback I was looking for. How can I create a similar code in...

View Article

VBA Excel Matching value's in sheets and copy rows

Im pretty new into programming with VBA in excel I got my code working but its just too slow.Could you guys help me speeding up my task.Sheet2 has around 42.000 items and sheet1 varies from 100 to...

View Article


If a checkbox is checked on a userform, how do I change the value shown in a...

I am trying to write code for a userform in VBA that takes the input of checkboxes and pushes the value to a worksheet with the value "Yes/No" instead of TRUE/FALSE. This userform is meant to be able...

View Article

Offset not working down columns but instead pasting first cell combination...

Sub Beef_Cake() 'Little Beef Cake loop 'Elev 1 Do Until Sheets("Cover Sheet").Cells(21, 2).Offset(i1 + 1, 0).Value = "0" Sheets("Cover Sheet").Cells(21, 2).Offset(i1 + 1, 0).Copy Sheets("Cover...

View Article


I need to edit my VBA code to start from a Chrome tab that is already open...

What functions can I use to execute my VBA code from a chrome tab that is already open instead of opening a new one? I dont have my code at the moment I can post it tomorrow as it is in my other computer.

View Article

Copy columnwidth from workbook x sheet i to workbook y sheet i

I'm trying to get the column widths of my master workbook into a target workbook. Everything else I've got to work like sheet protection, exception ranges etc. (note I apply sheet protection at the...

View Article


Listbox updated

I am working in a userform that has a listbox when i open excel sheet by searching (Dim xName As String Dim xfound As Boolean xName = InputBox("Enter sheet name to find in workbook:", "Sheet search")...

View Article

Image may be NSFW.
Clik here to view.

How to change/Set Background color of a cell [Row-based] in Power BI

I have a table report in Power BI. I need to change/Set background color of a Cell based on another cell value as follows.Eg: Row1 - Individual Cell's background color changes to green if corresponding...

View Article

How to download Html table nto Excel usn python?

How to download "http://www.hkexnews.hk/reports/bmn/ebmn_c.htm" into excel using python? is Python the best for don such task?My codes:import requests import pandas as pd import io url =...

View Article
Browsing all 90209 articles
Browse latest View live


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