+ Reply to Thread
Results 1 to 2 of 2

VBA Insert Row befor specific Column

  1. #1
    Registered User
    Join Date
    05-18-2021
    Location
    Switzerland
    MS-Off Ver
    365
    Posts
    8

    VBA Insert Row befor specific Column

    Hi

    I want to add multiple rows at once with a button click (makro)
    I want to add these rows always in the row before the value "Total" appears in row C. The value "Total" appears multiple times in row C.
    How do I need to implement that?

    I tried that, however this only adds a row the first the it finds "Total":

    Please Login or Register  to view this content.
    Thank you!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Insert Row befor specific Column

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Insert Data in Rows to Specific Column
    By zrs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2019, 10:54 AM
  2. Replies: 2
    Last Post: 02-10-2016, 07:42 AM
  3. Insert 0 into specific column and specific rows
    By csincava in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2015, 04:49 PM
  4. [SOLVED] insert rows at specific changes in a column
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-07-2015, 02:33 PM
  5. Insert Column before a cell with Specific value
    By Tryagainandagain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2012, 07:00 AM
  6. Search in every column for a value in a specific row, then insert a column before if match
    By manueslapera in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2012, 04:48 PM
  7. insert pagebreak after a specific column?
    By Macroman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2006, 07:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1