xnumber

  1. H

    Macro works in Debug mode but not in Runtime

    Sub Create() Dim i As Long Dim xNumber As Integer Dim xName As String Dim xActiveSheet As Worksheet On Error Resume Next Application.ScreenUpdating = False Set xActiveSheet = ActiveSheet xNumber = InputBox("ENTER NUMBER OF TIMES TO COPY THE CURRENT SHEET") For...
  2. H

    auto color each tab when a macro is active

    The below code will allow me to type the number of times to copy a sheet. Dim I As Long Dim xNumber As Integer Dim xName As String Dim xActiveSheet As Worksheet On Error Resume Next Application.ScreenUpdating = False Set xActiveSheet = ActiveSheet xNumber =...
  3. L

    vlookup, handling wrong lookup value - vba

    Hi I want to improve the code below so if a user entered a wrong name, then vba will give error message. I tried with IfError() as below but got error message. Thank you so much. Sub mylookup() Dim xname As String Dim xnumber As Integer xname = InputBox("name") xnumber =...
  4. J

    Help wtih Macros/Auto Name/Copy Conditional Formats

    I have a workbook that I want the worksheets to auto name with the date and copy the conditional formatting to the next worksheet. My problem is that the name of the worksheet isn't naming correctly but the conditional formatting is working. I have two macros. I am not sure if the second macro...
  5. A

    Sequential Sheets Issue

    Hi Guys. I have workbook that has numbered sheets in the format 001|002|003 etc... I am trying write some VBA to duplicate the last sheet, formulas included, and continue the numbering of the sheets in the same format. For example, the user has 30 sheets (001 - 030) and adds a new sheet. the...

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