Hello,
I've been struggling with this for hours now.
I believe the solution is simple, but I can't figure it out.
The complete steps being taken are as follows...
I've noted below which line is producing this error.
Is anybody able to help me quickly see what I'm doing wrong here?
I've tried multiple ways of addressing this issue, but none have worked, so I'm starting over.
Please let me know if I need to provide more information to help create a clearer picture of the issue at hand.
Thank you in advance to anybody that is able to assist. ?
I've been struggling with this for hours now.
I believe the solution is simple, but I can't figure it out.
The complete steps being taken are as follows...
- Open external workbook
- Manually select range (which varies often)
- Press Ctrl+C or right click select Copy, to copy selected range to windows clipboard
- Open workbook where VBA button resides to paste values from clipboard into
- Press button
- Get error
I've noted below which line is producing this error.
VBA Code:
Sub PstFlatBtn_Click()
Application.ScreenUpdating = False
Application.Calculation = xlManual
Range("FlatsPaste").PasteSpecial xlPasteValues 'getting the 1004 error here
Range("FlatsAutoFit").Columns.AutoFit
Range("EwpAutoFit").Columns.AutoFit
Range("SidingAutoFit").Columns.AutoFit
Range("CustomerAutoFit").Columns.AutoFit
Application.Calculation = xlAutomatic
Application.ScreenUpdating = True
End Sub
Is anybody able to help me quickly see what I'm doing wrong here?
I've tried multiple ways of addressing this issue, but none have worked, so I'm starting over.
Please let me know if I need to provide more information to help create a clearer picture of the issue at hand.
Thank you in advance to anybody that is able to assist. ?