+ Reply to Thread
Results 1 to 5 of 5

copy data based on cell entry to different spreadsheet

  1. #1
    Registered User
    Join Date
    10-29-2008
    Location
    texas
    Posts
    6

    copy data based on cell entry to different spreadsheet

    i tried searching but not luck
    i am trying to find a way to automatically copy information from a worksheet on my computer([list.xls]-List of accounts) to a worksheet on a shared folder([summary.xls]- accounts that have paid)
    example:[list.xls]Sheet1!A:A has account numbers, C:C has account balance and D:D has notes on account.
    If D:D is "paid", copy acc# to [\\folder\summary.xls]Summary!A1, balance to B1 and notes to D1.
    If D:D is "payment pending" do same as above but in row 2 and so on.
    Thanx in advance
    Last edited by kinad; 11-13-2008 at 11:44 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Here's a couple of links

    Here

    Here

    Here

    Hope these get you started....


    rylo

  3. #3
    Registered User
    Join Date
    10-29-2008
    Location
    texas
    Posts
    6
    Quote Originally Posted by rylo View Post
    Hi

    Here's a couple of links

    Here

    Here

    Here

    Hope these get you started....


    rylo
    thanx for the reply, but not really what I am looking to do
    Here is an example of what the[list.xls] looks like:
    \1
    In the status column agents enter status/notes of account. What I am trying to accomplish is to have the account #, balance, and date copy over to a [summary.xls] on a shared folder based on the notes entered in the status column. the result should be something like this:
    \1
    Also, once they start back at the beginning of the list and they change the account status from "payment pending" to "paid" to overwrite the previous entry. Sorry, I know it is pretty complicated and I am still searching for the solution.

  4. #4
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    Hi
    Open both kinad and summary files and run the macro from kinad. If you are satisfied with the result, you can add the filepath in the macro code to summary file so that it gets updated in the shared folder
    Ravi
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-29-2008
    Location
    texas
    Posts
    6
    Quote Originally Posted by ravishankar View Post
    Hi
    Open both kinad and summary files and run the macro from kinad. If you are satisfied with the result, you can add the filepath in the macro code to summary file so that it gets updated in the shared folder
    Ravi
    thanx, only difference is that i did not need to copy the rows that have "no contact"
    i used this to copy into a 'summary' sheet
    PHP Code: 
    Sub cond_copy()
             
    Sheets("Sheet1").Select
        rowcount 
    Cells(Cells.Rows.Count"q").End(xlUp).Row
        
    For 1 To rowcount
                    Range
    ("q" i).Select
            check_value 
    ActiveCell
            
    If check_value "paid" Or check_value "payment plan" Or check_value "payment pending" Then
                ActiveCell
    .EntireRow.Copy
                Sheets
    ("Summary").Select
                rowcount 
    Cells(Cells.Rows.Count"a").End(xlUp).Row
                Range
    ("a" rowcount 1).Select
                ActiveSheet
    .Paste
                Sheets
    ("Sheet1").Select
            End 
    If
        
    Next
    End Sub 
    i will use part of your code to copy the a 'summary' sheet into the 'summary.xls' worksheet in the shared folder

+ 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