empty rows

  1. N

    Macro to insert 2 empty rows and row of heading after subtotal row

    Hello, I would like to create a macro, which will insert a subtotal after each change in either column B (Employment Status) or C (Type of Leave), bold the entire subtotal row, change the background of the subtotal row to grey, insert 3 rows after the subtotal and insert a line of headers...
  2. E

    VBA Spreadsheet - What have I done wrong?

    What am I doing wrong?
  3. R

    Excel 2003 Pivot Table - Hide Empty Rows Below Subtotal

    I am currently working with a Pivot Table in Excel 2003 and am trying to find a solution to hide all of the empty rows that appear below the Subtotals in column A. I suspect this likely needs to be done through a macro (maybe on Worksheet_Calculate), but don't have the knowledge to build it...
  4. Z

    delete empty rows & columns

    I have a massive spreadsheet, with data range starting from C3. The first 2 rows and columns are the headers. I want to create a macro to delete the rows and columns that are empty at the data range. I appreciate all the help. Thanks, Fan
  5. M

    Help deleting empty rows in all sheets

    Just a beginner with VBA, trying to get this code to work in all sheets. Right now in only works in the active sheet. Ultimately it's supposed to delete all empty rows in all the worksheets. Public Sub DeleteCompletelyBlankRows() Dim as worksheet For each WS in Worksheets Dim R As...
  6. K

    can't delete rows?!?

    Hi, In many cases when I get a file from someone else and it is unreasonably big (in size), I check whether or not there are worksheet with extra lines being formatted....which cause the file to be big. then I mark the rows / columns and right click delete them. That usually will re size the...

Some videos you may like

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top