+ Reply to Thread
Results 1 to 5 of 5

Move columns To Another Sheet Based On Cell Value Excel vba

  1. #1
    Registered User
    Join Date
    12-19-2018
    Location
    copenhagen
    MS-Off Ver
    2016
    Posts
    3

    Move columns To Another Sheet Based On Cell Value Excel vba

    I have a sheet with some fictional personal data: phone numbers, addresses etc. I have around 200 different persons, So i have made an vba that automatically creates sheets based on the names of the people. And i and quite new to vba and know how to copy data by using

    Sheets("Sheet1").Range("A1:O10").Copy Destination:=Sheets("Ark1").Range("A1")

    But this only accounts, for that specific sheet destination. How do i based on their names from sheet ("Ark1"). move the data that belongs to the specific persons, from "Ark1". As shown in the linked image, column B is one persons data, C is another etc. The search criteria should be their names, because that is what i define the different sheets as, and their names is in "row2" in the data file "Ark1".

    here is the sheet

    docs.google.com/spreadsheets/d/1eDm2abizog2akTi3io8WjybyiFu3aKS3oYWwt-9yXaU/edit?usp=sharing


    and the code, it does only do well with sorting on columns, were i need soring on rows by names

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by askemeyer; 01-29-2020 at 10:27 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,309

    Re: How do i move person data to the sheets that it is linked with VBA.

    Missed the yellow banner at the head of the page.
    A lot quicker for us to work with a 'workbook' than a 'picture'

  3. #3
    Registered User
    Join Date
    12-19-2018
    Location
    copenhagen
    MS-Off Ver
    2016
    Posts
    3

    Re: How do i move person data to the sheets that it is linked with VBA.

    i can add the code, but i can not attach the file by some reason. i tried attachment.

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,309

    Re: Move columns To Another Sheet Based On Cell Value Excel vba

    you must 'Go Advanced' not 'Quick Reply' then 'Manage Attachments' follow instructions to 'upload file'
    most of us will not download from sharing sites.

  5. #5
    Registered User
    Join Date
    12-19-2018
    Location
    copenhagen
    MS-Off Ver
    2016
    Posts
    3

    Re: Move columns To Another Sheet Based On Cell Value Excel vba

    cant share links, add this "https" in front
    1drv.ms/x/s!Am-yl3YfiCstiFVnXFCqPttd0Yjr

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Requesting help with filtering data in linked sheets?
    By Elijah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-15-2018, 04:39 PM
  2. Help please with drop down menu linked to other data on other sheets?
    By nimv1 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-07-2015, 12:26 AM
  3. [SOLVED] How to data sort two linked sheets?
    By kellyfirth in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2015, 10:42 AM
  4. Replies: 0
    Last Post: 01-24-2014, 09:10 AM
  5. Need data to move with rows when updated from linked sheet
    By lisanoe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 11:45 AM
  6. [SOLVED] collecting all data associated with a certain person from multiple sheets
    By chemteacher in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-25-2013, 06:54 PM
  7. move data from first column into multiple columns(prob simple for right person)
    By TeeJayShelton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2013, 06:17 AM

Tags for this Thread

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