msg

  1. O

    Show msg box based on consecutive values

    Hi all, I'm struggling with one problem. I have a spreadsheet, where numbers are filled into columns A,B,C in values from 1 to 15. And I'd like excel to show msg box based on theese two conditions: 1. if 3 consecutive rows contain number lower than 5 2. if 3 consecutive rows contain number...
  2. S

    macro for msgbox

    In column B. I need to check cells in random order. If there is value then display msg box. For eg If cell B3 value = ABS then msg box "Please use ABS view" if cell b5 calue = 50% then msg box"value should be greater than 90%" The problem I am facing is the macro keeps on displaying msg box...
  3. A

    Msg Box Userform

    Hi Everyone, Hope all are fine. I have very basic knowledge about the VBA and looking out for some help. I have a combo box in excel userform (cmboxabc), which is depend on multiple options buttons and one textbox value. I want if all options buttons are unchecked and textbox value is blank...
  4. Ironman

    Noob error with simple formula within VBA

    Hi I have the following code: With Worksheets("Daily Tracking") MsgBox "You have now run " & MlsYTDLessLastYr & "miles " & _ If(MlsYTDLessLastYr < 0, "less", "more") & _ " than this time last year ", vbInformation, "Mileage Compared To This Time Last Year" End If End With...
  5. CatLadee

    VBA Count Number of Words in a String with 5+ Characters

    Hi friends, I am not sure how to answer this question for a VBA class i'm taking. How would I count only words with 5+ letters? Thank you! CatLadee :confused: msg = "Total words: " & UBound(arrWords) - LBound(arrWords) + 1 & vbNewLine & "Large words:" & ????? MsgBox msg
  6. D

    How to get a msg box showing a list of data?

    Hello, Facts: 1. Sheet contain 20 columns and 600 rows of data. 2. Data is changed dynamically every 1 min using a third party CSV. 3. For illustration purposes only, attached a screenshot of a mini-table so I could explain what needed based on that idea (I hope I attached the image...
  7. J

    Force VBA on open, save as *.xlsb help

    Hello All, I am trying to adopt the code below to allow for saving as *.xlsb Thanks in advance -------- Credit for the code below goes to XL-CENTRAL -------- 'Force the explicit declaration of variables Option Explicit 'Assign the name of the warning sheet to a constant Const Warning As...
  8. F

    Ranking with 2 criteria formula works but circular reference msg?

    A3 =VLOOKUP(D3,DISPLAY!$B$4:$C$26,2,FALSE) B3 =RANK.EQ(T3,$T$3:$T$25,0)+COUNTIFS($T$3:$T$25,T3,$A$3:$A$25,"<"&A3) <tbody> 9/16/2018 Handicap Rank Name 1 2 3 4 5 6 7 8 9 10 Points NewRank rank rank w handicap 7 1 1 Crall, Mike - w 30 23 31 29 33 30 22 26...
  9. J

    Date Picker - Validation to only allow workdays

    Hello, I have a User Form with a DatePicker. I want to Add validation so that only future workdays can be selected (excluding both weekends and Holidays). Date Picker name = DTPickerLaunch Validation occurs on command: Private Sub CommandButtonContinue_Click() List of Holidays is located...
  10. D

    VBA [sheet code] vs macro module?

    I have the below code embedded within my sheet. my need is to repeat the same type of process but with several different targets like (C4), and have a different MsgBox for each cell and. Not sure if this is still sheet code or macros? Also, this code was given to me and the LCase is not...
  11. C

    Know if the last char is a number

    Hello ! I need to know, in each cell in a range, if the last char of a cell is a number (the cell can contain text but i want to know only if the last char is a number), and if not, I want to show in a message box and highlight it. I have written this code by adapting another code I have, and...
  12. V

    Dynamic msgbox base on blank cell

    I've designed excel file for showing pending task. I want msgbox dimension to fit with only rows which have blank cell on column "F", but msgbox dimension is fit with 100 as i in my code Sub Pending() Dim r As Long Dim msg As String, i As Long, a As Variant msg = "" For i = 2 To 100 For Each...
  13. A

    Latest news msg box

    Hi all, I have an Excel document that I use to showcase upcoming events to other users. I'd like events that I've added recently to pop up in a message box when the document is opened. I have a recently added colum with the date that the event is added followed by a colum with the event details...
  14. J

    Userform DTPicker won't show correct date when feed to cell

    I have a Userform with a Date Picker field called "DTPickerLaunch" When the form is initialized code reads as below so it defaults to today + 30 days (this works fine). The issue is when I transfer the field value to my sheet. On one Userform (UserformScopeLodging) the date is transfer/display...
  15. J

    VBA Yes/no msg box will only do the yes option

    Ok this is probably a simple fix but I just can't see it. I have a Yes/No msg box with the below code. The problem is if you click Yes OR No it follows the No instructions. Can someone please help me figure out what is wrong? Private Sub CommandButtonContinue_Click() Msg = "Scope...
  16. H

    Macro to open Mulyiple Files and copy one below each other

    I have the following code to allow the user to select one file at a time and to copy and paste the data after the last row containing data I would like this amended so as to allow the user to select multiple files and the macro to copy and paste the data from each of these files your...
  17. V

    Copy data from a list of workbooks to another master workbook

    Hi everyone, Once again I find myself in a bind and need some help please. As mentioned before I am still a noob with VBA so be gentle. I have a list of workbooks in a range in Excel that I need to copy data from and paste it in a single worksheet (all new data to be appended at the bottom of...
  18. H

    Macro to open serveral files

    I have a macro that allows me to select files in a directory. I would like to amend the macro that if I select another file after the first file, the macro will automatically take the user to the last file selected. The reason for this is that I have many files in this directory and the next...
  19. H

    The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe a

    Dear All, I used office 32-bit but our PC changed to 64-bit. I need your help and code is below. If you put additional code, it will be good. I appreciate your help in advance. <colgroup><col></colgroup><tbody> Private Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA"...
  20. J

    If Cell Begins with Text, Msg box

    hi, I'm trying to create a line in my macro to show a msg box if cells in a give range begin with a certain text. For example, if any cell in column O begins with "ES", msg box "Spain Trades"(no action if not). Thanks!

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top