Results 1 to 11 of 11

Insert Rows, Copy & Pasting on VBA

Threaded View

  1. #1
    Registered User
    Join Date
    07-26-2016
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    18

    Insert Rows, Copy & Pasting on VBA

    Hi guys,

    I was wondering if you can help me with this problem. I would like to solve this in VBA. Attached is an excel file where Sheet1 is the current state and Sheet2 is what I would like to achieve. Basically, in column A, for each cluster of rows with similar Numbers I will need to insert the same cluster of rows below. The Number will subsequently change to reflect a new starting digit before "-". All digits after "-" is similar to before. In column B, the Value in the inserted rows will be the same as previously, but all to be negative. Finally, in column C, I would just like the exact copy of the Description in the above cells to be pasted in the inserted rows in the same column. You can refer to the excel if I am not doing a good job in explaining my problem. It will be nice to be able to program the highlighting colour for the inserted cells as well. Thank you in advance.
    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. Copy and Pasting Rows given a cell value
    By dbryson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2016, 11:12 PM
  2. [SOLVED] Copy and pasting (through vba) specific rows to new sheet
    By JPSIMMON in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 08-30-2015, 11:29 PM
  3. [SOLVED] Copy & pasting at random number of rows using VBA
    By aoni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2015, 08:52 AM
  4. [SOLVED] VBA codes to insert the rows and copy the first entire row text and insert sheet
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2013, 05:05 AM
  5. Replies: 1
    Last Post: 10-31-2012, 05:17 AM
  6. [SOLVED] Copy and Pasting multiple rows of containing certain data
    By samel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2012, 03:09 PM
  7. Copy and pasting auto-sorted rows in sequence
    By PaulEku in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-23-2008, 12:25 PM

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