Macros of transferring data from one document to another. VBA

Veganfox

New Member
Joined
Mar 8, 2020
Messages
1
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Mobile
Hello to everyone! ;)

I am actively thinking(and working) on transferring data from the "Schedule" to the "Tabell" document. I have a sketch of a macro, but fine-tuning is required.

I need your help in:
1. Remove hard link to the file names.
2. In the macro, specify the path to the "Tabell" file that will open when the macro is started and where the data will be transferred.
3. There are holidays in the chart that are labeled "RV" above the column. It is necessary to specify a condition, if there is such a mark "RV" in the "Schedule", then the employee's working hours are transferred to a new line in the " Tabell" document .
4. Configure the selection and transfer of all employees from the "Schedule" document instead of binding them to the document lines.

The attachment contains my current version of documents . The macro is now sewn into "Tabell", in the future , according to point 2, it will be transferred to "Schedule".

files are available by clicking here)?‍?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,214,963
Messages
6,122,484
Members
449,088
Latest member
Melvetica

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