I'm still reasonably new to VBA and I'm trying my best to learn, but this one has stumped me. I have a Userform where one of the textboxes is for a user to ente
I want to find mail in the olFolderSentMail folder, using the domains of the email addresses, with VBA. When I make an advanced filter in Outlook, the result co
What I am trying to achieve is as follows, I have "Workbook A" and "Workbook B", within Workbook B there is a worksheet "SheetB2" which I would like to be inclu
I can't figure out how to prompt the user for a folder path and the save name. Below is the code I have gotten to work. Sub PrintToPDF ThisWorkbook.Sheets("Sh
I have a routing sequence for a set of machines on an assembly line. Each route has to go through the entire line (that is, if you only run the first and second
I made a PQ append query, send reults to Data Model and then uploaded the pivot table to the excel sheet. Now I'm trying to apply filter based on the cell value
I am getting a Runtime error 1004 and when I debug it, it takes me to this sub, this sub works fine in another sheet, I don't know whats wrong, can anyone help?
I am trying to automate file upload on chrome, getting error here :method run object iwshshell3 failed" please help: Dim Customer_rates As String Dim WshShell
I'm trying to add a toolbar control on a sheet. I get this error. It does add the toolbar, but that error is not skippable with On Error Resume Next, so it stop
I achieved resolving Names with this code from an example: Function MailSuchen(strSuchen As String) Dim objEmpfaenger As Outlook.Recipient Dim objExchBe
I have several signatures in html format. I need to choose one of the signatures according to the domain included in To: and CC: label. The code below merges t
I am using this code: Function wrksht() as Variant wrksht = Application.Caller.Parent.Name End function I am continuously being thrown run time error '424' ob
Is it really not possible to declare a 0-length array in VBA? If I try this: Dim lStringArr(-1) As String I get a compile error saying range has no values. I
I would like to restrict emails which have recipients outside our organization using my domain. Is there a way to restrict emails using NOT LIKE condition? I am
I have a little problem with VBScript. There is how it should work. It is a simply code that should go through all emails in particular folder, get particular e
Is there a way to create a search folder in Outlook, that returns only conversations where not all emails in the thread/conversation have been flagged as comple
I go into a shared inbox and forward an email as myself, to my boss, using HTML formatting. I wrote VBA code that works on every step except changing the From l
User has a column with names (or name, surname) to send email. When there are several with the same name and surname the macro is selecting the first matching.
I need dynamically set via VBA NumberFormat to imported txt file values, as just below : Imported values number type is "General" so I want to
I have a sheet called "Scores" where I have Column D and J with values from 1-9 in both columns. In this same sheet I have a Column A with the corresponding nam