+ Reply to Thread
Results 1 to 3 of 3

Copy and paste to new workbook macro

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Copy and paste to new workbook macro

    Hi all,

    I have a macro in a template workbook (jobprogress) that once run, updates another workbook (summary) by adding the data to the next free line.

    However, A3 in 'jobprogress' is the project number. Everytime that particular 'jobprogress' is updated (by filling in different columns from B3 to Z3) it sends the data to 'summary' and I end up with multiple rows of the same project - not very useful for a summary sheet! Basically, I would like "before sending data, check if same project number exists in 'summary', if it does then delete that row and insert new data". Is this possible?

    Here is the code I have put together with the help of the internet!:
    Please Login or Register  to view this content.
    and the function:

    Please Login or Register  to view this content.
    Any help would be greatly appreciated

    Threads also open:
    http://www.mrexcel.com/forum/showthread.php?t=569573 & http://www.ozgrid.com/forum/showthread.php?t=157022
    Last edited by knigget; 08-10-2011 at 08:16 AM. Reason: Cross post links added

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: Copy and paste to new workbook macro

    Hi and welcome to the forum.

    Unfortunately:

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this, and then please edit your first post here to include links to any and all cross posts in other forums.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    08-10-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Copy and paste to new workbook macro

    My apologies - links added as requested.

    Awaiting your replies, Excel gurus!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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