Paste Code no longer working

JBruner79

New Member
Joined
Nov 10, 2017
Messages
7
Hey everyone, I have a sheet, that we copy data from a website and then it gets pasted into the excel sheet.
I have plenty of lines to accept all the data, the rows that it gets pasted into are hidden except for the first row.

It was literally working 5 minutes ago on two different workbooks, and now i am getting a 400 error.

Any help is greatly appreciated.

Here is code that is used, it is attached to a button, so we select the cell, then click the button, its always worked fine until right now.


Sub PasteText()


ActiveSheet.PasteSpecial Format:="Text", Link:=False, _
DisplayAsIcon:=False


End Sub
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hey everyone, I have a sheet, that we copy data from a website and then it gets pasted into the excel sheet.
I have plenty of lines to accept all the data, the rows that it gets pasted into are hidden except for the first row.

It was literally working 5 minutes ago on two different workbooks, and now i am getting a 400 error.

Any help is greatly appreciated.

Here is code that is used, it is attached to a button, so we select the cell, then click the button, its always worked fine until right now.


Sub PasteText()


ActiveSheet.PasteSpecial Format:="Text", Link:=False, _
DisplayAsIcon:=False


End Sub

NEVERMIND, i figured out that I was doing something wrong.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,521
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top