I ‘think’ I’m just looking for a yes/no answer here. {ETA: so the “you” in the header just means the ‘general’ “you”}
I’m way beyond the age of needing you to “do my homework for me”, so if the answer is “yes, you can”, then I appreciate that and I’ll dig into it more and figure it out on my own (or hire some online help) ******.
For the teams that I’ve worked with in my career, I’ve usually been known as the “Excel guy” (though if you put me against the “best of the best” on this forum, I’d probably be around a 3 on a scale of 1 to 10). But I can certainly work with macros / pivot tables / crazy complex array formulas, etc - all within the umbrella of Excel.
My conundrum is this - I got into some hot water at work recently by sending out company-wide expense-report detail in an Excel file. In my mind there wasn’t anything covert about it. People at work spend money on what they need to spend money on, the company reimburses them, and that’s that.
{paraphrased example here} I sent one Excel file to Pam Beesly, Jim Halpert, and Michael Scott. That one file had Pam’s, Jim’s, and Michael’s expense-report detail all included in it. It had radio-buttons at the top that they could click next to their name, and their own expense-report detail would (via macro) automatically filter in Excel, ready-to-print.
Unfortunately, Pam got pissed that Jim could manipulate it to see what she was purchasing; Jim got pissed that Michael could see what he was purchasing, etc., on down the line. I hid the column that contained the names (as a token gesture for privacy, but you and I both know that anyone with a working knowledge of Excel could easily get around that).
The feedback I got was that I should have sent one file to each individual with just* their individual* expense-report detail. OK, fair enough.
But in my case, we’re talking about 30 - 35 people (so of course we’re getting way down into Bob Vance and Todd Packer territory now, but I digress).
Is there a way in Excel to write a macro that takes this one huge file on my screen with Pam’s / Jim’s / Michael’s / Bob’s / Todd’s expense-report detail, and with me pushing one single button it:
– filters out and deletes all the rows of everyone but Pam, and goes to Outlook and sends Pam that file
– returns to Excel and restores the file to include everyone, all rows
– filters out and deletes all the rows of everyone but Jim, and sends Jim that file
----- lather, rinse, repeat on down the line {end of my paraphrased example}
Again, if you tell me that “yes there is a way”, then it’s game on. I’ll try and figure it out. I’m not asking you to write me out any VBA script, or anything like that. I’ve tried watching a couple of Youtube videos, but they weren’t quite what I’m looking for.
****** All that being said, aren’t/weren’t there websites out there where you can “hire” someone for projects like this? It’s not worth my time if I have to send out 35 emails manually - we’ll come up with a work-around. And it’s not worth my money if we’re talkin’ 3-figures to hire someone to do this. (This was more a “process-improvement” thing, and it’s definitely not a hill that I need to die on).