Hidden HTML Forms getting in the way

u742884

Board Regular
Joined
Jun 23, 2002
Messages
126
I have built a fairly simple spreadsheet where you copy/paste data from a website. With a macro, I copy down some formulas to clean up the pasted data and then the user copies from one of the "clean" columns to another tool. Works fine.

However, apparently everytime you paste from the website, it is pasting in some sort of hidden HTLM form along with the data. You only see them when you go into Design Mode. When you select one it shows:

=EMBED("Forms.HTML:Hidden.1","")

in the formula bar. After copying/pasting several times, I ended up with over 1000 of these little hidden forms and eventually my macro buttons stopped pulling their respective code and when I ran the macro from the VB editor, I got an error message essentially saying it was not recognizing the Sheet anymore. Even stranger, if I went into Design Mode again and double-clicked on my command buttons, it would not show any code for them on that sheet in the VB Editor. Again, it would not recognize the sheet. (For any retailers out there, I am pasting from the QRS Keystone website).

I eventually had to rebuild my file and as long as I do not copy too many of these hidden forms, the process works fine. Does anyone know anything about these forms? Is there a way to select and delete them all?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,215,024
Messages
6,122,729
Members
449,093
Latest member
Mnur

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