Automate task in vba

plutonik33

New Member
Joined
Dec 7, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi,

I don't have vba experience, but I really need to solve the following tasks:

First table has to be filtered by unique users.
Filtered table then needs to be stored in a new document and named after the name of the user.

Plus it would be amazing if I can then send the generated documents attached as an email with subject text and additional information like "Dear User, ...." (Using Outlook).

Appreciate any help!

Here is my Mini-sheet:

Filter by column 'User'.xlsx
ABCDEFGHIJKLMNOPQRSTUV
1ReihenfolgeEndSZSM-Auftrags-nummerPosition für Google MapsStraßePLZOrtPrioTausch gegenONONKZAsBRegion_PTIMaterial-nummerJahrKalender-wocheWartungs-fensterUserWartungs-fenster DatumBeginn Wartungs-fensterEnde Wartungs-fensterIP
2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS1xxxxxxxx
3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS1xxxxxxxx
4xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS2xxxxxxxx
5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS2xxxxxxxx
6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS3xxxxxxxx
7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS3xxxxxxxx
8xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS4xxxxxxxx
9xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxS4xxxxxxxx
Tabelle2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A9Expression=#BEZUG!="nein"textNO
H2:H9Cell Value="entfällt"textNO
H2:H9Cell Value="entfällt"textNO
B2:V9Expression=#BEZUG!="nein"textNO
B1Cell ValueduplicatestextNO
 

Attachments

  • Table.PNG
    Table.PNG
    37.1 KB · Views: 6
Since this is a new requirement, you should start a new thread.
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top