Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
67 views

I want a MsgBox that displays the names of the "Named Ranges" in the active worksheet, along with the "RefersTo" field. I created a macro that I thought would work, but when I ...
EmmaAleixa's user avatar
0 votes
2 answers
166 views

I have a VBA program which performs a sequence of tasks and takes many 10s of minutes to run. I'd like to keep the user apprised of the program's progress. Each task has VBA code running the Excel ...
Christopher Paul's user avatar
1 vote
1 answer
83 views

Is it possible to allow Excel users to stop MsgBox messages from VBA error handlers popping up and also re-allowing MsgBox messages? Or is it possible to programmatically control their frequency, for ...
pps's user avatar
  • 58
0 votes
2 answers
120 views

I'm using a simple code to find values in a range and if that value is found, all instances of it are cleared with a "". The code: Sub Clear() Range("A1:R34").Replace What:=...
Craig Coope's user avatar
-1 votes
2 answers
66 views

I want my macro to continue if the yes no msg box is not triggered. currently i have set a yes no msg box in my macro. for example if the value in cell A1 is more than 100 then the msg box pops up and ...
Samy Somy's user avatar
1 vote
1 answer
61 views

So we have a legacy spreadsheet that isn't going anywhere anytime soon. I've maintained two of them because there are times when we need different code to import a job. Upon opening the sheet, it ...
Brian's user avatar
  • 73
1 vote
2 answers
103 views

I have a range (merged cell) M5:O5 that needs to trigger a MsgBox as follows: If range is edited and is not null If range is deleted to a null value then no MsgBox If range is selected and box is ...
CapnBrownShoes's user avatar
0 votes
2 answers
162 views

All language settings (Windows 10, Office 2021) are set to French. MsgBox does not display the accents. In the VB Editor: At run time: In the Project Object list: Where is the setting if existing? ...
Jean-Paul's user avatar
-1 votes
2 answers
2k views

I have a procedure that should only start if a condition is met. In this example the condition is ActiveWindow.Zoom = 200 Trying to use a MsgBox with vbOkCancel to say: check the window zoom level: ...
user23636411's user avatar
-3 votes
2 answers
166 views

I want MsgBox shows me msoPictureAutomatic instead of 1. Because I want to get a enum name not a enum value. Please note that 1 means msoPictureAutomatic Sub Macro1() Sheets(1).Pictures.Insert("...
Danny Coleiro's user avatar
0 votes
2 answers
76 views

Run the following macro. Sub Macro1() MsgBox "Hello" End Sub When the MsgBox pops up, press Ctrl+C keys on your keyboard. Open a NotePad file and press Ctrl+V keys on your keyboard. ...
Danny Coleiro's user avatar
1 vote
1 answer
58 views

1 I open one stored document, store it, call MsgBox, close de document. 2 I open a new document and call MsgBox again and get object has no attribute getCurrentController I thought that after closing ...
Daniel Hernandez's user avatar
0 votes
1 answer
131 views

The following code checks if a file starts with te right name, after that in checks what the user wants. Most of the code works fine but if the users presses "Cancel", the messagebox re-...
R. Prinsen's user avatar
1 vote
2 answers
99 views

I have a workbook with various improvements (macro, formulas). By default, the workbook opens in full screen mode. Private Sub Workbook Open () Application.DisplayFullScreen = True End Sub ...
Grzegorz's user avatar
1 vote
2 answers
75 views

I am working on an archive system where a user lists information about a machine using data validation. This information gets transferred to a table that looks like this: | Unit | Machine | PC | ...
heiavieh's user avatar
1 vote
1 answer
297 views

I have a fairly easy question that I think there should be an easier way to do it, but I haven't been able to find the answer that I want. Pretty simple, I have a MsgBox with +vbYesNo, But my end user ...
Jorge Rangel's user avatar
0 votes
1 answer
462 views

[EDIT BELOW : The problem was not the MsgBox] I got a problem : my MsgBox works fine when I run the code from ISE but does not show up when I execute it by double clicking on .ps1 file. I tried all ...
Rom's user avatar
  • 1
1 vote
1 answer
239 views

How to make installer to ask a question before opening the installer? For Example: It will ask "Are You Over 18?" then user can select whether "Yes" or "No". If user ...
AzureKnight's user avatar
-1 votes
3 answers
281 views

All is in the title... In VBA, is it possible to get the UserForm Object from its Handle retrieved with the API function GetActiveWindow in order to create a MsgBox-like function that works well in a ...
Jean-Paul's user avatar
0 votes
1 answer
102 views

If InStr(currentoption,"INTUM")>0 Or InStr(currentoption,"SHIM")>0 Then MsgBox "INSTALLER SHIM ET/OU INTUMESCENT ( VOIR W.O. ET CARTABLE INSTRUCTION INSTALLATION DE ...
Deepesh Kumar's user avatar
0 votes
1 answer
488 views

I need to open a MsgBox that closes itself automatically after a certain amount of milliseconds, regardless of user input. How can I achieve this? Using most recent version of VB.NET Attempted to use ...
shoopdawhoop574's user avatar
1 vote
1 answer
342 views

I have the attached userform. Whenever I click on the "Proceed!" button, I have it check if the sum of batches weight is more than the first assigned weight in the Product Details frame; if ...
Taher Alaa's user avatar
0 votes
1 answer
178 views

I want to create a script that sends a msg box at a specific time on a specific day of the week. eg every Monday at 10am. Sub Reminder() Dim time As Range Set time = Sheets("Main&...
Amatuer's user avatar
  • 13
1 vote
1 answer
98 views

I have written a script in the workbook that sends a msgbox warning users not to copy and paste cells whenever they do so. Target.PasteSpecial xlPasteValues If Application.CutCopyMode = xlCopy ...
Amatuer's user avatar
  • 13
0 votes
0 answers
231 views

I tried to add an icon to the title of the messagebox. I researched at web, but I can't find a good answer. How do I add an icon to the title of the messagebox? Look to this messagebox: I tried ...
user32's user avatar
  • 1
0 votes
2 answers
357 views

How do I “Call” Vba’s MsgBox function? Is this the same as just using the actual function itself? I want to make a MsgBox function that returns the date and time.
buddy's user avatar
  • 11
1 vote
1 answer
873 views

I have a message box that appears when the workbook is opened. It finishes with a question asking if help is needed. If the answer is "No" I want to Exit Sub and allow normal usage. If the ...
David Hylan's user avatar
0 votes
1 answer
464 views

I need to position the popup boxes towards the top right corner but just below the close minimize and maximize buttons. Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Do set ...
qhqwun2398ru3fjuwi's user avatar
1 vote
6 answers
198 views

First I selected "Yes" to the question "Change Worksheet Name?". Then the message "Type new Worksheet Name" appears. Instead of typing in a new name and selecting "...
JasperX99's user avatar
0 votes
1 answer
110 views

I'm writing a macro on excel. Every time a value is typed in a specific range, if the calculated result is too low, I need a message box to appear saying ""Sample volume too low! Please ...
Marina 's user avatar
0 votes
0 answers
90 views

jQuery.msgBox is a plug-in to make it smarter to display messages. I use jQuery.msgBox in my code. It works fine, but I need to add an HTML select/option element to the displayed message. How can this ...
bzc0fq's user avatar
  • 729
1 vote
1 answer
333 views

I have the below code that creates a pop-up when new data is pasted into the specified range (A15 : E33). What I would like is when the user attempts to paste data into the range the pop up shows up ...
RBRN1231's user avatar
0 votes
1 answer
144 views

I write a VBA CODE that's filter a column and return the result in msgbox. The problem is: the msgbox does not show me all the values because the column contains more than 100 values. My question is: ...
Anazom Store's user avatar
0 votes
1 answer
716 views

I am trying to insert Optionbuttons into a msgbox in VBA. However, I cannot find the Optionbutton in the object browser. Below is my current Incomplete code: MsgBox(ActivePresentation.Slides("...
Marcel Vanlandingham's user avatar
0 votes
0 answers
43 views

I want to output a long error (> 200 words) to a user of an vb.net admin app. The user should be able to copy the message and analyze it. the msgbox function doesn't allow me to do that. What ...
Tom McDonald's user avatar
  • 1,982
0 votes
2 answers
1k views

How do I check if I click on a button in a MsgBox? x = msgbox("Test", 0+16, "Test") I meant check, not how to make a message box!
hahaly's user avatar
  • 33
2 votes
2 answers
14k views

I am creating an new Google Apps Script about GDrive/New/More/Google Apps Script. The script is running perfect and on the end my intention is to send a Info on the Desk. When I am using this line: ...
J. Doe's user avatar
  • 273
1 vote
2 answers
108 views

I am trying to make my input message box a bit more sophisticated by using a formula to generate a default date in an input message box in excel. Currently, it just gives a default value of "dd-...
Jennifer Abraham's user avatar
0 votes
1 answer
193 views

I have multiple pivot tables on one same worksheet (from left to right : PvtTable 1, Pvttable 2, Pvttable3). I have introduced a iterator (i) to call them one after the other (msgbox their name). ...
Ali's user avatar
  • 1
0 votes
0 answers
93 views

I need to put an alert on my teams planner on Google Sheets to remind people to do something. Someone told me is unusable to see this popup any time the file opened. How can I fix my code for showing ...
A M's user avatar
  • 1
0 votes
3 answers
515 views

I'm struggling with this basic piece of code : If Dir(LocationAddress & "\" & chart & " Complete.pdf") = "" Then MsgBox("The file ...
James Well's user avatar
1 vote
1 answer
281 views

So my code starts on a different sheet with a button click. The code below stops the user from continuing with an error message if the user does not put in a value in cell "B38" on the "...
MisterBeans's user avatar
0 votes
1 answer
32 views

Im looking to compare all entries in column B of WB1 (can vary in amount up to 300,000), versus a master listing in WB2,tab "Guide", column A (circa 500 entries). If there are new entries in ...
coyner's user avatar
  • 3
0 votes
1 answer
868 views

Would someone be able to advise on the below Is it possible for a MsgBox text to display multiple messages dependent on the criteria met. I am looking to get the Msgbox "Not enough Monitors in ...
Steve's user avatar
  • 19
0 votes
1 answer
233 views

Please help to delete msgbox after if statement is met with vbYes. The code also has to stop running so that the user can free type after msgbox disappears. Here is my code: Response = MsgBox(“Are you ...
Susan Smit's user avatar
1 vote
2 answers
72 views

Sub Process_A() \<some code here\> MsgBox "Process completed." End Sub Sub Process_B() \<some code here\> MsgBox "Process completed." End Sub Sub Process_C() \<...
Scotty's user avatar
  • 11
2 votes
3 answers
162 views

I am tracking payments made on a large excel file. In column C, I have the date we received the payment, in column I, I have the date paid. I'd like to calculate how many months between column C (when ...
Vee's user avatar
  • 21
0 votes
0 answers
222 views

In Book1.xlsb in ThisWorkbook module I have a simple code: Public Sub Workbook_Open() ThisWorkbook.Activate MsgBox ThisWorkbook.Name End Sub which activate Book1 workbook after opening. If another ...
Andrei's user avatar
  • 13
0 votes
4 answers
2k views

I have a message box that asks for user input, Yes or No, but need to give the user a chance to cross check another tab if their guess is correct, e.g. answer = MsgBox("Confirm Deletion?", ...
West's user avatar
  • 2,629
0 votes
0 answers
156 views

I am trying to create a macro that asks the user the side of a triangle and that displays its properties. We may control the validity of the parameters, displaying the error messages when needed. I ...
A.S's user avatar
  • 9

1
2 3 4 5
9