vbok

  1. R

    Sub Exiting Without Moving Through Completely

    For some reason, the code below isn't moving on to the Else statement when the value of R26 isn't > 0. Can someone help me understand where I went wrong in my code please? Sub Assign_MD1() Application.ScreenUpdating = False Dim mTP, mSumm, mMD1 As Worksheet Dim Response As VbMsgBoxResult Set...
  2. I

    Sorting a range alphabetically after input box adds new value

    I'm creating a worksheet that has one column and one header for the column. There is a button that prompts an input box and creates a new row in the column for the inputted value. I am trying to create a procedure that sorts the column alphabetically after the input box value has been added as a...
  3. S

    Msgbox Automatic OK In VBA

    Hi All, I have a macro in my main workbook that runs before I get to work in the AM that opens several workbooks and runs macros within those workbooks. The macros within the other workbooks call msgbox's on open that ask the user if they want to refresh click ok or cancel. I am having issues...
  4. dukeofscouts

    MsgBox question

    Here is my plan, I've got a msgbox in VByesno format. What I'd like to do is set the next action to be as follows If Yes then MsgBox 1 (VBokonly) If No then MsgBox 2 (Vbokonly) Run rest of sub how can I get this result?

Some videos you may like

This Week's Hot Topics

Top