insert a row

  1. C

    Inserting rows when value's are input into cells

    So I have a worksheet that has entry's for data for every day of the month. The layout repeats every 6 rows for the entire month. My goal is that when a value is entered into the last formatted cell in column E for a day then a row would be inserted below it copying the formatting of the row...
  2. S

    Adding a row after last instances of dates

    Hello again all. My brain hurts trying to figure out this one. I have a spreadsheet of all open orders, listed by date. I'm trying to find the last instance of a workday date, insert a row, format the row, and add text to the first cell. I can get the formatting part pretty easily, the tricky...
  3. J

    VBA Insert Row & Copy/Insert Specific Range From Row Above

    Currently using this simple "insert row and fill down" macro. I'd like to limit the fill to rows A-K of the row being copied down. Any help is appreciated, thanks! Sub InsertCopyOfPart() Application.ScreenUpdating = True Dim r As Long r = ActiveCell.Row With ActiveCell...
  4. L

    VBA Code to add in blank rows at a specific point, then do a formula in that blank row

    Hello - I'm looking for some help to create a VBA code macro. I have a report that I can export from our project/finance system that I need to manipulate a bit. This is a sample of what the raw data looks like (have of course modified some of the data for privacy) -...
  5. F

    Insert Copied Repeated rows under each Row - can it be done using a tool or vba?

    Hello, i have a column as seen below and another Column as seen below I need each row from Column A to have all possible values from criteria 2 to show as follows: Can we do it using an excel tool or VBA? since i will need to do this for 300 criteria 1 and 300 criteria 2 Thank you in...
  6. B

    Vba/macro. I know nothing help me

    hello I have a spreadsheet created by someone else that has a lot of codes etc . It is an invoice tracker that team members are INSERTING A NEW ROW when imputing a new invoice. This is done so that the new entry will have formulas applied like the other entries. A- I need to create a onetime...
  7. T

    Insert Lines Every nth Row

    Hello, I year ago I asked this question and I got a great answer but now I need some help creating a conditional statement within the code: The code below will in its current state insert "x" amount of rows dependent on the specified "row interval." Sub InsertRowsAtIntervals() 'Updateby...
  8. Q

    "If not intersect" question

    I have a line of code to trigger a macro when a cell in specified column range is selected: If Target <> "" And Not Intersect(Target, Range("D6:D1048576")) Is Nothing Then Is there a simple modification I can make so the macro will not be triggered when I insert a new row?
  9. H

    Problems Inserting Rows

    Hi I am creating a spreadsheet where people will fill in details for certain things, my idea is to have them add rows as they go to each of the tables within the worksheet. However, when they add rows to the first table, this now means that the insert point I chose for the following tables is...
  10. B

    Need program to move to insert row

    Hey new to macros. My issue, I want my macro to loop through a number of cells on sheet1 and then transfer the entries into specific cells onto sheet2. On sheet2 column A, I want specific headings to be printed based on whether or not the values in sheetA1 are different. Visual aid: Sheet 1...
  11. J

    Copy and Paste dynamic range

    I've got a workbook with 48 used columns. Of those 48 used columns I need to select and copy a range covering the contiguous first 29 columns. I need to be able to select which row to start the range on by using an inputbox and a find/match loop until the given string is found and a cell address...
  12. T

    VBA to insert rows based on cell value compared to array

    After commenting on this thread, I was advised to post a new question. I am writing a macro to insert rows in a sheet based on whether the first part of the value in colA corresponds to a certain value in an array. Initially, I had the array fill into G3:G15 as text, then the sub compared the...
  13. S

    Inserting Row to Table Using VBA

    I have a code that inserts an entire new row and copies the contents from above row. I was hoping to edit the code to insert a row and have it be apart of a table, not just a new row under the table. Any suggestions on how to do this? Private Sub Worksheet_BeforeDoubleClick(ByVal Target As...
  14. S

    VBA: Insert row + keep formulas

    Hi all, I already read some threads in this big forum but didn't find what I am looking for. I hope it is ok to ask for some help on this: I have a table and a button to click in A1. If I click this button, a new row shall be inserted below the current active cell including only the above used...
  15. N

    Excel Power Query dynamically inserting rows

    Hi all, I need to dynamically insert a row into a table based on a cell value. I'm able to insert the row, but I haven't figured out how to make it dynamic. The row will always go above the row with the value "2270PBAKE" in the STAGE column. I'm using the Table.InsertRows function. For the...
  16. K

    VBA code to insert a variable # of rows between each existing row matching certain criteria. Help please!

    Hello, I need some help on VBA, please. I've inlcuded an short example below of what I am trying to achieve. I am trying to figure out the VBA to insert a variable number of rows (based on the value in Settings!C13) between existing rows on the worksheet 'UNIT_PRICE_COMP'. Some rows are...
  17. D

    Simplify Repetitive Code

    I have the following code: Selection.End(xlDown).Select Selection.ListObject.ListRows.Add AlwaysInsert:=True Selection.ListObject.ListRows.Add AlwaysInsert:=True Selection.ListObject.ListRows.Add AlwaysInsert:=True Selection.ListObject.ListRows.Add AlwaysInsert:=True...
  18. J

    adding subquery in insert into

    "insert into temp_cost(RecordID,ClassID, Classtype, ClassName, TypeOrder, CreateDate) values('" & strRecordID &"','"& strClassID &"','"& strClassType & "', '" & strClassName & "', '" & strTypeorder & "', '" & strCreateDate & "')" This code works, but I am trying to add a subquery to auto...
  19. J

    Unable to insert a row with two active tables

    Hello, I am having an issue with inserting a row into my worksheet. I believe it's because I have two tables a few columns apart from each other. I say this because I was originally able to insert rows when there was only one table present. I have tested it and when I convert the second...
  20. T

    Copy formula when inserting row in specific columns

    Hi all, On a specific sheet (for example "sheet ABC") in a specific workbook (for example "Workbook ABC"), I have formulas in the columns D, E, G, J and I. Is there a possibility, when inserting row(s), to automatically copy the formulas down in the inserted rows in the specific columns? Thanks!

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