1,503 questions with Office Visual Basic for Applications tags

Sort by: Updated
0 answers

Outlook (Word) object hangs when terminating as of Office version 2412

Good day! I've encountered an issue when testing in VBA wheter an instance of Outlook (or Word) is available on a PC or not: Whenever I run the subsequent code using CreateObject while Outlook is not up and running, termination of the Outlook object…

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-05-08T19:35:25.36+00:00
H-Dieter 0 Reputation points
1 answer

Actionable Message Action.Http not working with schema 1.4

When using version 1.4 of the Adaptive Card schema for creating an actionable message in outlook, the action.Html action button does not show in the email. It works fine in version 1. Does anyone know of an example of using action.Http successfully…

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,908 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-08-01T20:48:17.49+00:00
Rick Putnam 16 Reputation points
commented 2025-03-29T19:24:32.71+00:00
Parikh, S. (Saurabh) 0 Reputation points
4 answers

VBA automation with Edge IE mode

I have been using VBA to automate IE in the past and I understand that IE with be demised soon. I heard that ActiveX can be used in Edge IE mode until 2029. May I know how can I do so? Do I have to change any of my old code? My code which worked with IE…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,575 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-04-28T01:47:11.177+00:00
J710 11 Reputation points
edited a comment 2025-03-23T22:35:01.73+00:00
AHRION GALLEGOS 21 Reputation points
3 answers

run time 76 error in excel

in excel while running the utility its shows error of run time 76 path not found kindly solve the error as soon possible.

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-03-18T09:15:43.3066667+00:00
Chandak Karera 0 Reputation points
commented 2025-03-19T10:49:48.6833333+00:00
Viorel 121.6K Reputation points
0 answers

All of my VBA custom macros disappeared from MS-Project? What happened? Did the global get replaced?

I have written VBA for over 25 years, and about 3 weeks ago, it all just disappeared out of my .mpp files except for Deployment Macros. What happened to VBA? It's just gone! and none of my buttons work anymore because the programs have disappeared. …

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-03-04T22:08:28.6766667+00:00
edited the question 2025-03-05T01:33:00.18+00:00
Jack J Jun 25,296 Reputation points
0 answers

Can't add fields to a table in Access.

Error is to many designed fields. There's only 155 fields and I should be able to have 255.

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-02-28T13:44:13.3866667+00:00
Steve browning 0 Reputation points
commented 2025-03-04T02:22:44.1433333+00:00
Jim J 0 Reputation points
0 answers

References: Microsoft Forms 2.0 Object Library for MSForms.DataObject, Microsoft Scripting Runtime for FileSystemObject.

In References in Access I am missing and need to Add Microsoft Forms 2.0 Object Library for MSForms.DataObject (clipboard handling). Add Microsoft Scripting Runtime for FileSystemObject. I have registered the modules suggested in prior help pages…

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-03-02T15:48:51.81+00:00
D Brown 0 Reputation points
commented 2025-03-02T17:30:00.8+00:00
Viorel 121.6K Reputation points
0 answers

¿Cómo solucionar error 657 rx al iniciar sesión?

No puedo utilizar ninguna aplicación de Office ya que al iniciar con mi cuenta institucional me aparece este error, necesito solucionarlo urgente. Correlation Id: 7516f689-c8d7-4aa7-837f-bb51cb9dd3b1 Timestamp: 2025-02-27T14:27:44.000Z DPTI:…

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-02-27T14:32:32.32+00:00
Juan Agustin Olivetti 0 Reputation points
0 answers

Every time I click on Visual Basic, Excel becomes unresponsive

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-02-24T07:35:12.29+00:00
卜包 萝 0 Reputation points
0 answers

i need to download office 2019 office pro plus

my office icons will not open uninstalled as directed , I have a lifetime key purchased form a subsidary of Microsoft how do I get reinstalled

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-02-21T22:06:11.57+00:00
james nations 0 Reputation points
0 answers

Can Excel VBA identify numbers stored as text, and can it change them to numbers automatically?

Excel identifies numbers stored a text, with a green mark and an associated error button If you tick the error button, you can Excel to change the numbers to be stored as numbers Can this happen automatically?

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2025-02-21T14:43:13.2833333+00:00
Alastair Ching 0 Reputation points
edited the question 2025-02-21T14:48:08.01+00:00
simo-k 9,000 Reputation points Moderator
3 answers

Migrate VB.NET Windows Desktop App to Azure

I have created a VB.NET Windows Form desktop application in Visual Studio 2019. The application accesses an Azure SQL DB for retrieval of data only. I would like to migrate the application to Azure such that it could be accessed by multiple subscribed…

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
866 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2021-09-30T22:20:54.197+00:00
Kenneth Lavallee 1 Reputation point
commented 2025-02-17T14:08:40.5866667+00:00
Joseph Winters 0 Reputation points
3 answers

Word 365 - Hide/ Disable Auto Save Toggle button, Comment Menu, Share Manu

Hi, I am working on customizing Word 365 UI using VSTO Add-in and Custom Ribbon / CustomUI.xml approach. I want to hide or disable following elements on Word 365 UI. Auto Save Toggle button, idMso = AutoSaveSwitch Comment Menu on the…

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,355 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-12-09T23:56:55.237+00:00
Hafeez Saleh Muhammad 6 Reputation points
answered 2025-02-10T09:41:11.6033333+00:00
Mustafa Kanorwala 0 Reputation points
1 answer

Please help on Pivot Table Refresh online

Hello, I'm having issue with refreshing pivot tables using Excel Online. The pivot tables are built using data model with data source from the tables in existing workbook. When I refresh manually using "Refresh Selected Connection"…

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,355 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,902 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-07-29T16:58:13.097+00:00
PBIX MM 1 Reputation point
commented 2025-01-31T21:18:21.2933333+00:00
Michelle Ran 346 Reputation points Microsoft Employee
3 answers

Datestamps in Excel when a cell value changes

I've already looked up adding datestamps in Excel. Not a problem. I already have a table with data in it. I don't want to display the current date if there is already data in the cell. I only want the datestamp to update when the other cell value…

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,902 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-12-20T17:21:58.08+00:00
Daniel Checkman 16 Reputation points
edited a comment 2025-01-28T22:42:56.62+00:00
Paul 25 Reputation points
0 answers

Microsoft Slideshow to create a lottery screen to add macro specified lottery number

As shown in the slides of Microsoft, the scrolling display of lottery numbers can be realized in the specified interface of participating lottery numbers. Now we have a question to ask:

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2021-12-31T01:01:33.437+00:00
刚 朱 1 Reputation point
commented 2025-01-18T12:35:15.8533333+00:00
kalert23 0 Reputation points
1 answer

How to Fix Run-Time Error "5852"

I just completed a mail merge using Microsoft Word. But what I want done after the merge is to save each letter to a pdf individually. I copied the following from a tutorial online and I'm getting a Run-Time Error "5852". I am NOT a VBA…

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-03-10T03:35:05.22+00:00
Charlotte Simpson 1 Reputation point
commented 2025-01-16T10:11:47.3033333+00:00
M.Argirova 0 Reputation points
1 answer

Correspondence Generator with MS Word

The U.S. Navy requires all official correspondence to be within very specific parameters and formatting standards. Is there way to generate a UserForm via Word VBA that could prompt a user to prepopulate an intended letter via the form and have it create…

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2021-04-20T20:15:46.493+00:00
commented 2024-12-17T07:22:51.5133333+00:00
CLaw21 0 Reputation points
2 answers

MS365 Word VBA Selection.Paste Word Table Run-time error: 4605, but not debug

MS 365 Word VBA Macro Copies table at beginning of macro for use later, then changes original table for desired output. Several sub-routines later, it copies the table from the clipboard. Prior to MS365, this worked without an issue. Now, we get…

Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
1,005 questions
Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2021-09-20T12:48:08.11+00:00
Glenn Sasscer 11 Reputation points
commented 2024-12-16T14:13:48.87+00:00
Eugen Dusca 0 Reputation points
1 answer

Can't change Column Width in code in Access datasheet

I thought I've done this before, but it doesn't seem to work now. I'm trying in code to reset the widths of columns in an Access datasheet (based on a query). I can set the .ColumnOrder and the .ColumnHidden properties just fine, but any change I make…

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,503 questions
asked 2022-03-08T20:05:38.05+00:00
Mark Liquorman 16 Reputation points
commented 2024-11-19T17:09:47.1166667+00:00
Sami 0 Reputation points