Excel VBA provide options on how to pass value from worksheet to worksheet or from workbook to another workbook. To optimize or make the VBA code run faster is to make the worksheet interaction lesser. Recording an Excel VBA macro to copy and paste a value will have a similar output to the code below. Sub Macro1() ' ' Macro1 Macro ' ' Range("A2").Select Selection.Copy Sheets("Sheet2").Select Range("A3").Select ActiveSheet.Paste End Sub what the code does is to select the cell on the active sheet for copying and select another worksheet and select the cell where the value will be placed and paste the copied cell value. Steps are: a. Select the cell and copy the value b. Select the worksheet where the value is to be copied c. Next step, is select the cell on the selected worksheet d. Paste the value on the cell Steps are absolutel...
Make the world a better place by sharing knowledge, ideas and anything that you can give that comes from the heart.