Senin, 04 Februari 2019

Re: [ExcelVBA] Macro to copy info from one shet to another

 

Hi Sharron,


Have you tried using the autofilter.

Select the titles at the top of the columns.
On the Home Tab over on the right in the editing group you should see Sort and Filter.
Click that and then click filter.
The headings will then have a drop down on them.
Click the drop down and UN tick Select all.
Tick/select one of your three sales persons.
Click OK and then only that sales person will be shown.
Copy those cells and paste them to your new sheet.
Only that salespersons details will be copied.

HTH
Lisa



-----Original Message-----
From: Sharron Puryear sheizageek@yahoo.com [ExcelVBA] <ExcelVBA@yahoogroups.com>
To: ExcelVBA <ExcelVBA@yahoogroups.com>
Sent: Mon, Feb 4, 2019 5:15 pm
Subject: [ExcelVBA] Macro to copy info from one shet to another



I have created a workbook with 4 worksheets in it.  The first worksheet is a report updated every day with sales from 3 sales people as well as "house".  The company has changed policy so that a salesperson can only see his/her sales.  So, I need to be able to have an individual sales person's worksheet and have all of the sales for that particular person copy to that sheet so that totals etc., could be given to that individual only.

I would just sort, copy and paste, but there is a lot of formatting and formulas on the original sheet that I don't want to get messed up.   The original columns are pretty much in stone or I would use VLookup.

The fields are:  Date, Sales person, amount, name, item, source, email

I am at a total loss. This was put in my lap Friday and I watched a dozen tutorials on VBA however, none of them addressed this.

Any help is appreciated.  I love this group.

Sharron Puryear


__._,_.___

Posted by: Green <1z@compuserve.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA
------------------------------------

SPONSORED LINKS
.

__,_._,___

Tidak ada komentar:

Posting Komentar