Skip to main content

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.

Auto copy and paste cell in current sheet or from one sheet to another with formula
Auto copy and paste cell in current sheet with VBA
Copy and paste multiple ranges in current sheet or from one sheet to another with Kutools for Excel


Auto copy and paste cell in current sheet or from one sheet to another with formula

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.


Auto copy and paste cell in current sheet with VBA

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.


Copy and paste multiple ranges in current sheet or from one sheet to another with Kutools for Excel

If you have multiple ranges to be copied at the same time, you can try the Copy Ranges utility of Kutools for Excel.

Before applying Kutools for Excel, please download and install it firstly.

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.

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Copy and paste multiple ranges in current sheet or from one sheet to another


Related articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hi if i want to just copy a particular cell automatically and paste the value some where else(not in excell sheet) ???
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations