Hello,
I'm having trouble pasting from the Windows Clipboard into the Active Cell in Excel.
I've tried a few variations online but none of them work.
The one that looks like the simplest is:
However, this throws a run-time error '1004'
NOTE: I'm copying a value from a web page and trying to just Paste it into the active cell.
I'd like to Tab (key) which should move to the next row in my case within the Table.
Microsoft's information on Worksheet.Paste method is not very helpful. Their EXAMPLE:
I'm not using their COPY line because I'm trying to PASTE from the Clipboard, and they indicate the Destination is optional and that it defaults to the active selection.
Thank you...
I'm having trouble pasting from the Windows Clipboard into the Active Cell in Excel.
I've tried a few variations online but none of them work.
The one that looks like the simplest is:
VBA Code:
Sub PasteValues()
ActiveSheet.PasteSpecial Paste:=xlPasteValues
End Sub
However, this throws a run-time error '1004'
NOTE: I'm copying a value from a web page and trying to just Paste it into the active cell.
I'd like to Tab (key) which should move to the next row in my case within the Table.
Microsoft's information on Worksheet.Paste method is not very helpful. Their EXAMPLE:
VBA Code:
Worksheets("Sheet1").Range("C1:C5").Copy
ActiveSheet.Paste Destination:=Worksheets("Sheet1").Range("D1:D5")
Thank you...