rowcnt

  1. M

    Hide Rows Macro

    My macro hides all rows that have the number 3 in the first column. I would like to make it so that it hides rows that have 3,4 or 5. How would I do that here? Sub HideMaddie() BeginRow = 4 EndRow = 141 ChkCol = 1 For RowCnt =BeginRow To EndRow IfCells(RowCnt...
  2. M

    help in macro_newbie

    this is from the macro that i am using for optimization. need help because when i start the macro it would count 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12 and so on. i cannot find out how number 10 is not showing, thanks for the help. *macro 'Stampanje oznake sipke npr.A, B, C...itd. slova =...
  3. T

    Marco Works... then does not.

    Hello Everyone, Question for you. I have been using the following code to hide rows based on a cell value. The macro has worked wonderfully, but today it crashes. Any thoughts would be much appreciated! Sub Hide_All_Rows() Dim sht As Worksheet Application.ScreenUpdating = False For Each sht In...
  4. D

    Run a VBA Code before printing in excel

    Hi to all. I am using a VBA code to hide all the lines that have 0 value in column 2. The trick is to run this VBA code when someone wants to print the worksheet. Would like to do this automatically so the code runs before worksheet is being printed instead of running VBA code manually and then...
  5. J

    run macro on non active sheet

    Hi All I have this bit of code Sub HideOut() Sheets("RDC_OB").Select BeginRow = 208 EndRow = 244 ChkCol = 10 For RowCnt = BeginRow To EndRow If Cells(RowCnt, ChkCol).Value = 0 Then Cells(RowCnt, ChkCol).EntireRow.Hidden = True Else...

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