inputboxenter

  1. L

    using variables from other macro

    Hi How can I make the second marco print out the values from the first macro? for example I want to use the second marco to msg out x and y which are variable in first macro. Thank you so much. Sub myinputbox() 'to use msgbox Dim x As Integer Dim y As String x = InputBox("enter...
  2. M

    error code 424

    Hello I'm new to VBA and I've put the following code in the VBA editor which I've got from a tutorial: Public Sub Mijneersteprogramma() Range("B2").Select ActiveCel.Value = InputBox("Enter Waarde") Range("B3").Select Actievcel.Value = InputBox("Enter Waarde") Range("b4").Select ActiveCel.Value...
  3. L

    copy sheet from one wb to another

    Hi The code below opens the other workbook but does not copy the sheet. I got run-time error 9 message. Thank you so much. Sub sheet_copy_diff_wb() 'to copy sheet to different wb Dim x As Integer Dim s As String x = InputBox("enter sheet# you want to copy") s =...
  4. R

    Hide each row in a range with a 0 sum.

    I'm attempting to look at a user defined range to see which rows sum to zero and then hide those rows. It hides the first row, but doesn't move on to the next rows. Where did I go wrong? Using Excel 2016. Dim rng As Range Dim row As Range Dim cell As Range Dim FRow As Integer Dim LRow As...
  5. H

    vba to copy/paste using user input for index/match variable location

    im trying to create some code which will request input from the user for the day and shift (i have this much done). then copy data from another page and paste it in the appropriate variable location based on those inputs sent through an index/match function. Ex: If user inputs 2 for day and 1...

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