Userform only on specific days
I just want to be able to open my userform only on specific days of the week. Let's say I want to open it on a Monday, I got a msgbox "You can only use this on Fridays" And then I can open my userform...
View ArticleExcel or Google formula to count occurrences of an 8-digit number within a...
I hope that you can help me.I have a data set which includes a free text comments field; within that field there are work order numbers entered which I want to count - the WO numbers are ALWAYS 8...
View ArticleIs there a way I can increment the column reference while going down a single...
So I have a range that is B2:B20. In this range I have strings, which include, 'I strongly agree,''I strongly disagree,' etc. I have multiple columns with each representing a question and which answer...
View ArticleExcel - Generate INSERT Statements and Handle Single Quote
I have the following formula in an Excel spreadsheet:="INSERT INTO #dreams...
View ArticleDynamic tab colours issue
I have attempted various iterations of the below and some have worked first time around, then not after, some not at all. In short cell b2 on all sheets can be one of 6 text entries, (complete, in...
View ArticleConditional Page Break on Excel range
Hopefully this qualifies as a programming issue given I don't think I can achieve this without VBA.I have an Excel 2016 range, fixed in size and contents (x amount of rows), but given there's an...
View ArticleDisable form control button w/ VBA unless a condition met on Excel sheet
I've searched for the answer before asking my question but all the answers were from 2009-2011 and they are not working the same way as Office 2019.I have a form and a button which pops up a new...
View Article"_" underscore in Excel Formula
I'm getting a problem, when I try to run these commands. Problem come from the formula expresion, since "_" is a syntax error, but I need exactly that formula in my Excel cells,How could I solve it...
View ArticleVBA - XML Mappings are not exporting when using VBA code
I am using a macro wrote in VBA to export all my work sheets in my workbook to XML at the same time, but I have created Mappings for the header on the columns but they are not exporting with the...
View ArticleVBA code to copy cell content to input message (validation)
I’m not a technical person at all, but I need help on copying cell content to an input message in data validation in Excel. I know there’s a limit to the text string in the input message, happy to trim...
View ArticleCopy data from multiple workbooks into master workbook / Crash-Performance...
Here is the macro that I am using as copying data from 6 workbooks into master workbook. Problem is it takes so long to copy all the data and resulting in a momentary screen flash.I have exact same 5...
View ArticleHide the lines in my pivot table in my field “vendor” which contain the word...
I have a pivot table and I would like in my field called “vendor”, all vendor which contains the word “JVPDLM” are hidden… I saved this macro below but I can still have more vendor in future subject to...
View ArticleHow can i let the user work on an excel sheet while a message box is...
Dim strMsg As String strMsg = "Preperation completed. SAP Logon will open in 5 seconds! Please follow the instructions below to retrieve the ART file from SAP"& vbNewLine & vbNewLine strMsg =...
View ArticleHow to control KeyPress method of TextBox in Excel VBA
I have a code that will create TextBoxes inside a Multipage:Private Sub CommandButton1_Click() RowChar = 70 MultiPage1.Pages.Clear For i = 0 To TextBox1.Value - 1 MultiPage1.Pages.Add...
View ArticleCannot extract data from a span itemprop
I have the following to extract some prices and availabilities from a webpage. But I get Object Required at:Set price = ie.Document.querySelector(".price-cont .final-price")Why? Sub getMetaDataInfo()...
View ArticleWhy is the file getting corrupted?
This is my python script, to write data to an excel file and also add a macro. The macro will just launch adobe readerimport xlsxwriter from win32com.client import Dispatch import os Filename =...
View ArticleI am not getting the desired value using on error resume next
I am writing a VBA Code to move files from one share point path to another. Once the file is moved I want to show "File Moved" in the next column to the actual filename. Please find my code below....
View ArticleWorksheetFunction.Average returns incorrect answer
Given the data in B2:D10 I wanted to find the average in each row use VBA array formula. Following a book example VBA Queue by Bill Jelen.Name A B C Answer Manual Avg A2 4 34 59 31.5 32.33333333 A3 45...
View ArticleCannot save Excel file in Rstudio after binding data
I am trying to save an Excel workbook from Rstudio, in which new data was added, the way I am saving it is with saveworkbook from openxlsx library, but it gives me the following error:Error in...
View ArticleScript If and match formula between two sheets
What I am trying to do is make this formula =iferror(if(match($A2&F$1,arrayformula(Transpose!B$3:B&Transpose!B$1),0),"P"),"") into a script for google sheets. I would need the formula to run...
View Article