Results 1 to 6 of 6

Move EntireRow below Table1 if range in table contains specific word

Threaded View

  1. #1
    Registered User
    Join Date
    08-15-2014
    Location
    Denmark
    MS-Off Ver
    365 Pro
    Posts
    94

    Move EntireRow below Table1 if range in table contains specific word

    Hi all :-)

    I am completely clueless on how to do this one (my VBA skills are very limited)… For the attached sheet, I need a vba script that checks Range("B") inside "Table1" for any cells with the word "TEST", and IF (the word isn't always there) that specific word is there, then move the entire row of that cell below the table and create and add to a "Table2", and hereby exclude the "test"-row from Table1.

    If any help, the layout of Table1 is "fixed", and will always start with headers in A7:I7, but the length of the data is variable. Also, there will always be a number in A to the data.

    On the first row below Table1 - and also the first row below the newly created Table2 (if it is created), there must be a SUM([Field 1]), SUM([Field 2]) and SUM([FIELD 3])

    I attached two sheets, one with the basic data and one that looks like it is supposed to, after the VBA :-)

    I know it might sound confusing, so please just ask if anything :-)
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change vba from move EntireRow to moving 1 cell
    By C_P in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2019, 08:52 AM
  2. [SOLVED] Move ActiveCell.EntireRow to another sheet
    By chriskay in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-01-2019, 08:12 AM
  3. [SOLVED] Convert Table1 To Range and Edit Vba With Change
    By fredfarmer in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-25-2019, 03:45 PM
  4. If-Then copying specific data from Table1 to Table2 in a specific order
    By b4tmast in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2016, 04:28 AM
  5. Replies: 2
    Last Post: 10-30-2014, 01:49 AM
  6. Move row data to a specific sheet if column contains specific word
    By Kennethc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2014, 06:55 PM
  7. [SOLVED] Set the specific column range instead of entirerow
    By satputenandkumar0 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-17-2013, 07:45 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