Category "vba"

Connecting Edge / Chrome to VBA

I have a code in VBA that I've always used to open Internet Explorer, copy the information on an specific website and than paste in a cell. The issue now is tha

Need help on Array VBA

I don't understand some parts in the following code: For i = 2 To UBound(a, 1) txt = Join$(Array(a(i, 3), a(i, 4)), Chr(2)) If Not dic.exist

How to name sheets in loop based on FilePath variable using VBA to process tables from Word doc(s)? [closed]

The context is that I have a boatload of data dictionaries for various data bases strewn across multiple Word document files. Those files hav

How does IntelliJ IDEA implement an interrupt mechanism like Visual Basic?

Is it necessary to develop an interrupt mechanism for IDEA?

How do I put double quotes in a string in vba?

I want to insert an if statement in a cell through vba which includes double quotes. Here is my code: Worksheets("Sheet1").Range("A1").Value = "=IF(Sheet1!B1=

Moving files to a folder, Error 13 Type mismatch

I want to move files to created folders. I got a mismatch error every time. The aim is to create a folder named after the file prefix if it doesn't exist and co

Look at the file name before it saves file into a folder

My goal is to add a icon to my toolbar in the quick access section. I wish this code could look at the file that is open, check if the file name contains or rat

how to write from an array in Access to an Excel Range

I have a data structure (array) in Access - 6 columns and 10 rows. I'm trying to write to a range in Excel ie B3:G12. I'm getting tied up in loops, literally. F

How to determine the current week number?

My goal is to put the current week number in the subject of outgoing mail. Below gives me this week + 1. I used to have 2016, now have 365. Problem is still her

Load image to fit in merged cell

I have a table that contains the file path, when the button is clicked the macro will display an image according to the url path. Here is my code (sourch : Link

VBA Excel Range Copy and Function Loop

I'm looking for help with some VBA Excel code to do some merging of various sheets into a workbook and during the copy perform some worksheet functions (e.g.).

Merging 2 Worksheet change events (Multiple selection drop down and changing value in dropdown to a number)

I'm trying to merge these 2 codes together. I'm very new to VBA and I can't figure out if it is even possible. I know I can't have the number change before the

Extract words that have colored characters (even single colored character)

Having UDF that extracts the words in sentences that have any colored character. The code is working but too slow. I tested the code at only 300 rows and it too

Find() returns "object variable or with block variable not set"

This block of code was working fine but I deleted some lines above Find() that broke it. Any ideas? Sub CopySheet() Dim TotalRow As Integer

How to get text from wrapped text show on different columns using VBA

I have a vba script that copies and paste data from one workbook to the other. The data that is being pasted over are wrapped text. I need my vba script to take

Loop numbered variables in Excel VBA - [duplicate]

How can I loop through a set of variables which are numbered consecutively (Bay1, Bay2, Bay3, etc.)? I have 10 variables and I need to examine

Find duplicate column values across multiple workbooks, and extract columns row data to new sheet

I have multiple Excel workbooks some having multiple worksheets. I'm trying to export the duplicates across the workbooks into a new workbook using Column A of

How to query a user name by a email address in Jira Rest API

I want to create issues in Jira based on Outlook emails received using VBA. However, when setting the assignee/reporter via the REST API it appears that users c

Is it possible to copy, paste, and delete data from one sheet to another in office scripts?

I have a document saved on SharePoint that documents testing. Once testing has been completed I would like to move the tests (entire row) to a separate sheet to

Deleting duplicate values

I'm trying to delete all duplicate rows based on Column B and leave only the unique rows. It will leave one of the duplicate entries. I tried with > 1 and =