An implementation of Visual Basic that is built into Microsoft products.
1,643 questions with Developer technologies | Visual Basic for Applications tags
how to input data from a spreadsheet into a macro
What's the simplest way to pass a number (such as a month number) in a cell of my EXCEL spreadsheet into a macro? I have Excel 24, not 365.
Developer technologies | Visual Basic for Applications
download VBA library
Need to download VBA Library to work with macros in excel.
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Having a VBA problem when writing an EXCEL macro
Tell me how I can send you an EXCEL file which details the gist of my problem.
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
KB5094123 update causes RDS.DataSpace Optional parameter to reset to default value after COM+ function call
After installing Windows Server 2019 KB5094123 (June 2026 Patch Tuesday), we are experiencing an issue where Optional parameters passed to a COM+ DLL via RDS.DataSpace are being reset to their default values after an internal sub-function call…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Want: cross hair highlit in my excel sheet
Hello - I want to install or cretate VBA for cross hair highlit in my excel sheet. please provide me the ways to do that i can see cross hair highlights when i open my ecel sheet.
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Edit/Customize Birthday Report
Is it possible to edit/customize reports? For example, telephone numbers are not listed on the birthday report.
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Excel vba public variable not storing in do loop after update
For the below VBA code. We've been using this code for several years. Presently, the (below) code is not storing the Mrow data or (it forgets the value of the SEC-ID line) as soon as the code executes it leaves the SEC-ID line and the variable is…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Change color of Hebrew cantillation characters
Word options (Advanced) allow me to change color of all diacritics. I would like to change all diacritics to green and then change cantillation marks to red. Cantillation marks are Hex 0591-05AE, or Dec 1425-1454. I wonder if this can be done by ctrl-H,…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
How to fix Run-time error '424;: Object required
Sub SaveC11s() Dim objAttachment As Outlook.Attachment Dim saveFolder As String Dim targetSubjectKeyword As String ' CONFIGURATION: Set your target folder path and subject keyword saveFolder = "\ComptonJenn\Downloads\Current Month…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Run-time error "53" window pop out when I use WORD
Why is there a window pop out saying Visual Basic for Application, Run-time error "53" when I open WORD.Ru
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Excel VBA Like Operator Question
To the Community: Need a little clarification on the VBA "Like" Operator for the below snippet. From reading the language reference, I do not understand why statements "#1. - #4." below returns FALSE when variable "a"…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Cannot set FontName and/or FontSize in an Excel Comment with Visual Basic for Applications
Dear Team, I have Microsoft 365 Personal License I am using macOS Tahoe 26.5, Microsoft® Excel for Mac, Version 16.109.1 (26051717) In a Visual Basic for Applications I am trying to put the font name and text size in a comment block. Translating the code…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
I cannot get VBA in Excel to make the Userform Calculator i created to perform operations on numbers with decimals right
Private Sub cmbdecimal_Click() If InStr(txtDisplay.Text, ".") = 0 Then txtDisplay.Text = txtDisplay.Text + "." End If End Sub ^This is the code i used on the command button for "." I can type a decimal, but the answer the…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
marcros in excel has been blocked please help
Dear Team, I cannot disable my marcros in excel has been blocked and i can't disable this and unblock option is also not showing therefore i can't use my vba excel project please help for disable my macro setting so that i can use my vba in excel
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
please fix the issue
this error was showing
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Update of another workbook with a vba macro
Since last version of excel it is impossible from a workbook to open another one ,make changes and save them and then close the workbook. The process works, but when the workbook is closed the version before changes is back again (file with the initial…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
How to access Properties of objects in Excel VBA
Things seem to have changed in VBA since I last wrote any code. I am designing a small project for home use, using Excel and VBA. I find I can add controls to a userform but I cannot change their properties at design time. For example, I have a…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
How can I read an excel sheet from AccessCan I
Can I open and read an excel sheet from a VB procedure in Access
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Application.Wait
give me an example of Application.Wait in VBA code.
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Word Complete the whole Document
Hello from Steve Can the below script please to the whole document as it stops after finding the first instance. Sub Horse_Above_10() With Selection.Find .ClearFormatting .Text = "\) [0-9]{2,} [A-Z]" ' wildcard pattern …
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.