We can get an input from user using Input Box, but we also can use the Input Box to get the address of cell reference in Microsoft Excel.
Using simple Excel VBA procedure below we can ask user to select range of cells (as copy input) and where they want it paste.
Sub CopyPaste() Dim InputCells As Excel.Range Dim OutputCells As Excel.Range On Error Resume Next 'Show input box to get range of cells that want to copy Set InputCells = _ Application.InputBox(Prompt:="Block input cells/range", _ Title:="Copy Paste", Type:=8) 'Show input box to get where they want it paste Set OutputCells = _ Application.InputBox(Prompt:="Select cell where you want paste it", _ Title:="Copy Paste", Type:=8) 'Copy range of input cells InputCells.Copy 'Paste it into output cells reference OutputCells.PasteSpecial (xlPasteAll) End Sub
Run the excel macro, when the first input box show up, block range of cells that we want to copy, click OK, and when the second input box showed, choose destination cell and click OK, then the source cells will be copied into the destination cell.
Pingback: where can i buy unique hoodia
Pingback: san diego bankruptcy
Pingback: dallas bankruptcy attorney
Pingback: ukcb
Pingback: Hindi Stories
Pingback: buy hoodia
Pingback: Tamil Stories
Pingback: Masala Indian Stories