Category "excel"

Convert Calendar Days to Working Days (and Vice Versa) | 4 Day Work Week

I have values corresponding to 'Calendar Days.' I'd like to convert this to 'Working Days.' In this example, a 'Working Day' is defined by Monday through Thurs

Get text from alert message from web with Selenium and VBA

I am currently creating an automation to fill-in field in the browser (Chrome) with VBA and selenium. Which is currently doing fine. (the site is internal) How

How to convert a given ordinal number (from Excel) to a date

I have a Value 38142 I need to convert it into date format using python. if use this number in excel and do a right click and format cell at that time the value

Using a collection to check if Names exist

I am trying to create a subroutine that will take a collection of a bunch of strings, step through it, and check for the existence of a named range or formula t

Loop through filtered criteria only once

The goal of this script is to loop through each criteria filtered in Column C, starting from C8 where my header is located. The information below will be a list

vba how do not count rows (or count only once) if they have the same parameter

I need to count rows in column "rating_status2" with value "unclear" and if they have the same "customer_nbr" only once. How it can be done? The structure of th

is there a way to add a word to a specific column?

The code I'm currently using only allows me to filter then replace certain values. Is there a way for me to filter for lets say column M filter for 0 and replac

Get location of the workbook calling the script

I am trying to execute the following Python script from Excel using Sub MacrosTrigger() RunPython ("import MacrosTrigger") End Sub MacrosTrigger.py conta

Python: How to create multi line cells in excel when exporting a pandas dataframe

I have the following pandas Dataframe df = pd.DataFrame([ [['First Line', 'Second line']], [['First line', 'second line', 'third line']], [['first l

If Cell Contains Specific Text Then Return Value and Sum Row for Scoresheet

I am trying to create a formula that takes a selection of choices from a cell and turns it into a "score", then at the end of the row it adds the score up. I kn

Choosing a drug for a patient ( according to contraindications)

Can anyone please help me in choosing the suitable drug the case: patient A is suffering from hypertension & Kidney disease Drugs: Classified according the

Excel code crashes after a couple of uses, opening a connection to Access

We have an Excel 2016 quoting tool that uses VBA code to compare the product codes entered against an Access database and then update another sheet with the det

workbooks.add fails when vbs-script is called from Task Scheduler

I have some code in VBscript that creates an excel object and adds a workbook to it Dim oExcel, oWB Set oExcel = CreateObject("excel.application") Set oWB =

It is possible to create a click button in VBA Excel that opens the VBA editor? [duplicate]

I was just wondering: It is possible to create a click button in VBA Excel that opens the VBA editor when the button is clicked? UPDATE: The p

Getting "object variable not set" error when trying to write to new sheet

I am trying to simultaneously read from one sheet and print to another sheet, with additional format. I think my issue has to do with improperly referencing the

Send Outlook Meeting Invitation using Excel

I am looking to send meeting invitations for each row in a worksheet. I am able to create an item that when displayed shows as an appointment, not a meeting re

Copy & Paste Values in Same Location

I am new to macros and am having trouble creating a macro that will copy a range of cells and then paste just the values back into the same cells. Basically I

Excel column header problem when we export data from c#

I have an exported xlsx file from c# (through angular).The Properties name which I want to be the columns header change in excel!( the first letters are changed

Data Connection between Excel and SQL Server

I have a dataset in Excel which I have imported in SQL Server. Is there a way in which when I make any change in the Excel data set like add/remove/edit rows or

How to find and replace the first occurrence of any single text character (Excel)

I need to replace or substitute the first instance of a single text character in an excel row. current: B01 TEST TEST TEST A W B 0 A expected result where first