Be the first user to complete this post

  • 0
Add to List

VBA-Excel: Copy/Paste data - Copy the data from a call and paste it to another cell

In VBA-Excel, Copy and paste the data plays an important role, we can copy data from one place and paste it at some other place in the same way like how we do it manually, when you copy some data its goes to the Clipboard from there you can paste it at some other location.

Dim mainworkBook As Workbook

Set mainworkBook = ActiveWorkbook

Copy a data from a call and paste it to another cell

For example if you want to copy the data from cell “C6” of “Sheet1” and paste it to “B2” in “Sheet2”.

First copy the data present in cell “C6” from “Sheet1”


now the data has been copied to clipboard, you can check it by manually pasting it in a notepad.

Now select the cell in which you want to paste the data, in this example its “B2” in “Sheet2”


Now paste the data


Also Read:

  1. Excel-VBA : Prevent Changing the WorkSheet Name
  2. VBA-Excel: Modified Consolidator – Merge or Combine Multiple Excel Files Into One Where Columns Are Not In Order
  3. VBA-Excel: Copy/Paste data - Copy the Entire data from one sheet to another
  4. VBA-Excel: Convert Numbers (Rupees) into Words OR Text - Updated Till 1000000 Crore With Decimal Numbers
  5. VBA-Excel: Open a Excel WorkBook
  6. VBA-Excel: Create a WorkBook at Runtime.
  7. WorkBooks and WorkSheets
  8. Excel Macro - Visual Basic Editor