Office Script to Copy Rows From One Worksheet To Another.

SlightlyClueless

New Member
Joined
Dec 10, 2018
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello All!

I have a shared excel workbook on SharePoint that is being used by a few users. This sheet tracks reach outs to counties across the United States. When a reach out turns into a lead it then gets copied to a separate worksheet to expand on from there. I attempted to write a script that would accomplish this but failed miserably. What I am trying to accomplish with this script is in the "US Counties" worksheet, column O will have the option to move that row to the "RSR" worksheet. The script would then copy data from that row and place it in a new row in the "RSR" worksheet. There is a little shift in the columns between sheets which I have mapped out in the table below. Any help or direction is greatly appreciated.

RSR Worksheet CoulmnsABCDEFGHIJKLMNOPQRSTUVWXYZ:AL
Column Letter From US Counties WorksheetABGHLMNPQRST:AE
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Office Script to Copy Rows From One Worksheet To Another
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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