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

VBA to set Range/ Print area in consolidating the Master Sheet

I have this VBA code which is used to consolidate the different tabs to one single sheet.Now the issue here is its taking too long to copy each line item to one single sheet. Need an update so that i...

View Article


Cell Formulas Won't Read Unless I Hit Enter

I have a WB with multiple sheets, most sheets have a data-validation dropdown list in cell A4 (for whatever reason there are a couple that are just text). What I’m trying to do seemed relatively easy,...

View Article


Set series collection as range

I have a chart with a collection series. I would like to extend the range of the collection series by one column to the right. The code below works. However, it assumes that I know the range of the...

View Article

Win32com Module Problems

I want to convert .xls to .xlsx, so I use win32com modulethis is my code: import os import win32com.client as win32 address = address = os.getcwd() fname = address + "\\Bundles.xls" fname2 = address +...

View Article

Want to hyperlink to a certain cell

I am trying to build a dynamic hyperlink. My data validation has numbers 1 - 222. The row is 8, this does not change. When the user selects 57 from the drop down I want a link that takes them to Row 8...

View Article


How to Filter a range of Cells having a particular value [closed]

I need to filter and show only the range of cells having MAX value to all values between (MAX-15) values in a column.For example, if I there is a column having Nos to 1 to 100, I want to filter the...

View Article

Is there an easy way to set one cell's specially formatted contents equal to...

I would like to fill individual cells with "rich" text. By this I mean that the cells contain several newlines, bullet points, and individual words varying in font, color, size, italic, etc.I would...

View Article

Excel - bar chart w series overlapp

Currently I have a grouped bar chart with a value on the y-axis (total guest nights in an area), and the months on the x-axis. I have 2 series as of now: 2020 and 2019 - they are quite close to each...

View Article


How to send text to some HTML elements?

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


Create a Yes No list only if a cell is not empty in google excel sheets [closed]

I want my Yes/No list to show up in column C only if there is text in column A.In the attached image i don't want C6 to show the drop down list. Is it possible to achieve this in Google Sheets.Below is...

View Article

I have defined a number of variables and ranges inside a Sub, but the modules...

Like the title says. I have decided it would be easier to follow and diagnose issues with some code I am working on if I were to have a number of modules to split the code up so it would be easier...

View Article

I am trying to create a crossword generator algorithm/code. The...

Here are some specifications. This software/ program should automatically generate a crossword like the one in New York Times (the grid one and not the random octopus one). This should preferably be...

View Article

Excel copy(Destination:=) failed in VB.NET

I'm using copy(Destination:=) and would like to copy whole records in one excel to another excel file but failed to execute. Could it because of need to use range? Because there is not necessary to use...

View Article


Check if datetime is between two datetimes

Hi i am trying to create a macro with vba An example would beDATETIMEA is "20/11/2018 11:00:00 AM" DATETIMEB is "20/11/2018 08:00:00 AM" DATETIME is "21/11/2018 07:59:00 AM"I would like to check if the...

View Article

How to select just the year for dates older than 1900? [closed]

I need a function in Excel that can extract just the year from dates like 27.02.1872. I have read that YEAR only works from 1900 to 9999.

View Article


Subtracting a comma separated string from another [closed]

If I have A1= 1,2,3,4,5,6,7,8,9A2=2,6,9My desired result should be in cell A3 After substation (A1-A2) =1,3,4,5,7,8while it was very easy when A2=2,3,4 (serially) via substitute function.

View Article

Image may be NSFW.
Clik here to view.

Need to transpose the vertical data to horizontal format, but few cells in...

BeforeAfteri wrote the code, but the next items is starting from just below the 1st used cell. i need it to start where the first entered item list ends.Sub transposevbaaaa()...

View Article


Excel VBA: Copy, Paste and delete row from one worksheet to another

please can someone help me?? I have been trying lots of different codes for weeks and it seems as though I am getting no where as I don't know what I am doing. I have 5 worksheets. From worksheet1 I...

View Article

How to calculate rolling 3 day volatility of returns data using Exponential...

I have a dataset that consists of the closing price and date for 10 years. I want to calculate the rolling 3-day volatility of returns data using Exponential Weighted Moving Average. Please mention how...

View Article

Run Time Error '1004': Select method of Range Class failed VBA 2003

I am trying to copy a column from one sheet to another. The code I am using is a recorded macro and it works fine until I connect it to a button. When I do so, it gives a "Run Time Error '1004': Select...

View Article
Browsing all 88054 articles
Browse latest View live


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