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: check this out
Pingback: incontinence pads
Pingback: escort perth wa
Pingback: intangible
Pingback: payday loans
Pingback: gogo games
Pingback: buy list
Pingback: http://bestunderwatercameras.net/
Pingback: The Symbol MC1000 lightweight mobile computer
Pingback: security window film
Pingback: servis char
Pingback: klockor
Pingback: IM Lobby
Pingback: promoting and celebrating Virginia creativity
Pingback: cumming tree service
Pingback: success