myvalue

  1. J

    myValue from Inputbox carries into next sub

    Hello, how do I ensure myValue when entered in the inputbox in the first sub below, carries through to the section without being asked again? Many thanks. Sub D42_Forecast_Macro() Dim myValue As Variant myValue = InputBox("Enter the railway period, e.g. 1804") End Sub Public Sub...
  2. J

    VBA from Input Box select file

    Hello, I'd like to select the file from the value I have already inputted into my input box previously, this codes doesn't seem to work. Workbooks.(" & myValue & ".xlsx").Select Can anyone help please? Many thanks.
  3. R

    Use inputbox to send email note

    Hello, I use email subs routinely to pass WS/WB information around all the time. A request was generated that I add in a function so that users could send me a note about comments or suggestions on how certain WB's are working for the users; kind of like a "contact the webmaster" kind of thing...
  4. J

    VBA: Input Box, on Error another chance, on cancel exit

    Sub Clean_Data() Dim myValue As Variant Dim myValue2 As Variant Application.ScreenUpdating = False Application.DisplayAlerts = False Dim FP As String, FN As String myValue = InputBox("Enter the railway period, e.g. 1804") myValue2 = InputBox("Enter the date you wish to clean the data in...

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