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

Apply IRibbonUI.ActivateTab in Excel 2019

I have existing VBA code (mine) working in Excel 2010 that activates a custom ribbon tab: IRibbonUIObjectName.ActivateTab "tabID"The code exists as a standard operation in a sub that handles changes of...

View Article


Image may be NSFW.
Clik here to view.

Show text if multiple cell values are True

I want a formula for column E3 depend on column A3,B3,C3 and D3. If multiple columns show yes or single column show yes I want show as below in pink. Need to combine shctin names which show...

View Article


Merging Multiple Workbooks into Single Sheet

I'm trying to merge multiple Excel workbooks into a single sheet.I found code to choose the folder and merge all the Excel files in the folder into current active workbook.The target workbook consists...

View Article

Excel pie chart bug?

I haven't come across any questions posted on the forum with the same problem, but the pie chart in excel is not filling the pie chart properly. I have tried repairing the program but to no avail. Any...

View Article

How do i use more than one delimiter?

So, i'm trying to create a way to convert a tsv file to csv, but already with tab "\t" and delimiter= '', there is a way of doing that?from xlsxwriter.workbook import Workbook tsv_file = '1.tsv'...

View Article


How to determine length of day time and length of night time in a time range?

I have two dates with time in YYYY-MM-dd hh:mm:ss format.I have a time range in 24H standard. From 5:30 to 21:00 is day and from 21:00 to 5:30 is night.I must check how much time (in seconds) in this...

View Article

How to handle the InputBox cancel button?

I type in the start date and the end date and execute a code of export from Outlook.Sub ExportFromOutlook() Dim dteStart As Date Dim dteEnd As Date dteStart = InputBox("What is the start date?",...

View Article

Downloading file from url hyperlinks

I have 300+ hyperlinks listed on an Excel worksheet.I want to download everything from each link to my computer.This code is not downloading the Excel file or the pdf file on the link.Sub test() Dim...

View Article


Combine multiple formulas

I need to be able to calculate results in an Excel spreadsheet and have written 5 separate formulas to cover the possible number of selections. In short, the technique is known as Dutching, whereby if...

View Article


Insert row below based on cell value

I found a macro at Insert copied row based on cell value.The macro inserts a blank row above any row that has a value of "0" in column E.Instead of the empty row appearing above, I need it to appear...

View Article

VBA - Get checkbox position from cursor coordinates as cell address

I am trying to get the cursor position, as a cell adress, using a macro I found on this site. However, this macro will not run if assigned to a checkbox.Declare Function GetCursorPos Lib "user32"...

View Article

Image may be NSFW.
Clik here to view.

Excel chart and vba

There is a sheet and several pie charts on it. How could I catch the event when series are selected by Chart Filter in VBA? How and where to put the code? I need to get the index of selected one and...

View Article

R download.file, downloading excel file does not work

I try to download an excel file using download.file().If I go directly to the link using the browser, I can download the file without problems.However, using download.file does only download a broken...

View Article


How do I return an address from a range of cells in Excel, based on...

I am trying to return a specific cell address from a range of cells, where the cell address I need contains specific data.So in my range (A1:O15) my user types in a number. I check to see if that...

View Article

How to automatically update formatting in Excel using VBA

I have found multiple similar questions on the internet but I believe that each one is specific so here is my problem.I am transfering data from my Access DB to my Excel sheet. The data that I am...

View Article


Image may be NSFW.
Clik here to view.

Convert UDF that Parses TIme-Starts to an Array formula

I created a UDF to parse time-starts from a delimited string. - Returns an Array(0 to 23) that represent hours in the day - Each time-start is separated by a comma - @ is used to signify multiple...

View Article

How to assign keydown events to a userform?

I want specific keys (Enter, Right Arrow, Esc) to execute different procedures.I have the following code but nothing is working. I tried setting KeyPreview = True, but that did not seem to change...

View Article


Exporting as PDF in VBA

I would like to create an automated certificate issuing process that allows me to "save as" an existing documents with a new title, and creates a PDF of it.The problem I'm facing this is in the PDF...

View Article

Check if multiple records of a worksheet exist in a SQL table using Excel Vba

I am new to Vba and trying to pull data records from SQL table if it matches to the cell value in Spreadsheet. The record should be printed in another tab if it's matched. I have wrote the below code,...

View Article

Image may be NSFW.
Clik here to view.

How to convert column Year as YYYY in VBA

I have a column Year in my excel sheet in the format YYYY and initially it is of type Text. I am trying to change the column format to Year but the value is getting modified after formatting. I am...

View Article
Browsing all 90189 articles
Browse latest View live


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