Results 1 to 10 of 10

Transfer Data Macro

Threaded View

Loisw Transfer Data Macro 06-01-2009, 09:18 AM
royUK Re: Transfer Data Macro 06-01-2009, 09:24 AM
royUK Re: Transfer Data Macro 06-01-2009, 09:26 AM
Loisw Re: Transfer Data Macro 06-01-2009, 09:37 AM
royUK Re: Transfer Data Macro 06-01-2009, 10:23 AM
royUK Re: Transfer Data Macro 06-01-2009, 10:30 AM
Loisw Re: Transfer Data Macro 06-01-2009, 10:38 AM
royUK Re: Transfer Data Macro 06-01-2009, 11:31 AM
Loisw Re: Transfer Data Macro 06-02-2009, 02:55 AM
royUK Re: Transfer Data Macro 06-02-2009, 04:02 AM
  1. #1
    Registered User
    Join Date
    05-29-2009
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2007
    Posts
    78

    Transfer Data Macro

    Hi

    i have the following macro which transfers credit control data from an outstanding tab to a paid tab:
    Option Explicit
    Sub transfer()
    Dim x As Integer
    Dim y As Integer
    y = 13
    Do While Left(Worksheets("paid").Cells(y, 20), 1) = "P"
        y = y + 1
    Loop
    For x = 13 To 42
        If Left(Cells(x, 20), 1) = "P" Then
            Worksheets("paid").Range(Worksheets("paid").Cells(y, 1), Worksheets("paid").Cells(y, 20)).Value = Range(Cells(x, 1), Cells(x, 20)).Value
            y = y + 1
        End If
    Next x
    End Sub
    I was wondering if it can be modified so that any macros that are transfered from outstanding to paid tabs are deleted from the outstanding tab & the same amount of new rows added to the outstanding tab as were deleted?

    Also, there is a total on row 41 of the paid tab. Can it be set so that it doesnt paste the rows over the top of the total?

    Your help would be greatly appreciated!

    thanks
    Last edited by royUK; 06-01-2009 at 09:24 AM.

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