How to auto copy and paste cell in current sheet or from one sheet to another in Excel?
For automatically copying and pasting cell value within current sheet or from one sheet to another without using the shortcut keys, this article can help you.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
You can use formula to copy and paste cell automatically. Please do as follows.
1. For copying and pasting cell in current sheet such as copy cell A1 to D5, you can just select the destination cell D5, then enter =A1 and press the Enter key to get the A1 value.
2. For copying and pasting cell from one sheet to another such as copy cell A1 of Sheet1 to D5 of Sheet2, please select the cell D5 in Sheet2, then enter =Sheet1!A1 and press the Enter key to get the value.
Tips: The destination cell is linked to the copied cell, and it will be changed as the original cell changes.
The following VBA code helps you copy a cell or a range of cells and paste to specified cells in current worksheet.
1. Press Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window.
2. In the Microsoft Visual Basic for Applications window, click Insert > Module. Then copy and paste the below VBA code into the Module window.
VBA code: Auto copy and paste cell in current sheet
Sub RangeTest() On Error Resume Next Dim xRg As Range Set xRg = Application.Selection Range("A1 ").Copy Range("D5") xRg.Select End Sub
Note: In the code, A1 is the cell you will copy, and D5 is the destination cell of placing the value of cell A1. For auto copy and paste cell range, please replace the cell with range, such as replace A1 with A1:A10, and replace D5 with D1:D10.
3. Press the F5 key to run the code, then the certain cell (range) will be copied and pasted to a specified cell (range) automatically as well as the cell formatting.
If you have multiple ranges to be copied at the same time, you can try the Copy Ranges utility of Kutools for Excel.
1. Select multiple ranges you need to copy with holding the Ctrl key. Then click Kutools > Copy Ranges. See screenshot:
2. In the Copy Multiple Ranges dialog box, you can see the selected ranges are listed in the Ranges to be copied box. Then specify an option in the Paste special section, check the Including row height or the Including column width box as you need, and finally click the OK button. See screenshot:
3. In the second Copy Multiple Ranges dialog box, specify a blank cell for pasting the selected ranges, and then click the OK button.
Note: if you want to paste the selected ranges to another sheet, please select the cell in that sheet and click the OK button in the second Copy Multiple Ranges dialog box.
Now the selected ranges are copied and pasted to the specified location.
Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now!
- How to auto populate other cells when selecting values in Excel drop down list?
- How to autocomplete when typing in Excel drop down list?
- How to auto populate date in cell when adjacent cell is updated in Excel?
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 3 years agohi if i want to just copy a particular cell automatically and paste the value some where else(not in excell sheet) ???