R
RITCHI
I'm trying to clear a range and then paste data from the clip board
into the worksheet.
The data on the clip board is copied from another application.
Ive tried the script below without success.
Sub ClearAndPasteImportedData()
'Select top left cell of data input range and paste contents of clip
board
Dim RangeToFormat As Range
Set RangeToFormat = Range("a6:f3000")
RangeToFormat.Select
Selection.Clear
Range("a6").Select.Paste
End Sub
Any help would be appreciated.
Ritchi
into the worksheet.
The data on the clip board is copied from another application.
Ive tried the script below without success.
Sub ClearAndPasteImportedData()
'Select top left cell of data input range and paste contents of clip
board
Dim RangeToFormat As Range
Set RangeToFormat = Range("a6:f3000")
RangeToFormat.Select
Selection.Clear
Range("a6").Select.Paste
End Sub
Any help would be appreciated.
Ritchi