Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
154 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
0 votes
2 answers
113 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 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
0 votes
2 answers
159 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
-3 votes
2 answers
161 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
1 vote
1 answer
56 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
1 vote
2 answers
97 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
1 answer
292 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
1 vote
1 answer
234 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
0 votes
1 answer
95 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
1 vote
1 answer
341 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
1 vote
1 answer
91 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
2 answers
352 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
0 votes
1 answer
453 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
0 votes
1 answer
108 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
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
715 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
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
1 vote
2 answers
107 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
0 answers
91 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
1 vote
1 answer
279 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
867 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
1 vote
2 answers
66 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
0 votes
0 answers
221 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
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