create a module that copies info from one sheet to another

geno32080

Board Regular
Joined
Jan 23, 2020
Messages
107
Office Version
  1. 2013
Platform
  1. Windows
Hello all.
I'm trying to figure out how I can have info transposed from one sheet to another without having to click a button.
When the user fills in the form (Source Sheet12) I need those select cells to be filled into select cells on the (destination Sheet7) Once the info Form is entered, saved and emailed, the form gets cleared and the process starts over. I need the info that was transposed onto the summary sheet (Sheet7) to remain, as its a cumulative summary sheet that runs for a year.
I was thinking a module? I would need it to initialize, but I'm not that good at the dim codes.

COPY source Sheet12 Cell B3 to destination Sheet7 next available row starting with B6
COPY source Sheet12 Cell C17 to destination Sheet7 next available row starting with C6
COPY source Sheet12 Cell C14 to destination Sheet7 next available row starting with D6

I need help writing the code to perform this. Anyone?

I always get the best help here, I thank everyone.
 
Its a work in progress. I took the =now() code out and made it manual, what triggers your code? If I need to assign it a button to make it a Private sub its not a problem. I could incorporate it to the vaca time button, that button take the user to the summary sheet.
1647543005114.png
1647543059876.png
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Its a work in progress. I took the =now() code out and made it manual, what triggers your code? If I need to assign it a button to make it a Private sub its not a problem. I could incorporate it to the vaca time button, that button take the user to the summary sheet.
View attachment 60333View attachment 60334
my code is triggered by a change in any of the cells C14:c17 etc.
If you want the time to be the time C14:C17 is completed then just do as i said above and remove the requirement for B3 and make that equal to now()
 
Upvote 0
my code is triggered by a change in any of the cells C14:c17 etc.
If you want the time to be the time C14:C17 is completed then just do as i said above and remove the requirement for B3 and make that equal to now()
Okay, I'll work on it. I really appreciate your help, You got me steering in the right direction.
Thanks alot!.
geno
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,823
Members
449,049
Latest member
cybersurfer5000

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