边框将从网页上复制下来的文章中的表格边框去掉(Remove the border of the form from the article copied from the web page)

网页边框  时间:2021-02-15  阅读:()

将从网页上复制下来的文章中的表格边框去掉Remove the borderof the form from the article copied from the web pageHow do you remove the border of the form in WORD from an articlecopied from the web page?

How do you remove the border of the form in WORD from an articlecopied from the web page?

Word macro: a key to delete the document, all blank spacesBy copying and pasting the cyber source Word document to getmany useless spaces and blank lines, delete them verytroublesome, if you create a related function of word macros,and then turn on the toolbar additive a button when the buttonwe click in the toolbar, through the implementation of the wordmacro can achieve a key to delete all spaces and blank linesin the word document.

Start word and then close the default open word document, andthen click the menu"tools -macro command, VisualBasic editorregulator" VisualBasic editor "in the VisualBasic editorwindow, right click on the"Normal ", select" insert "commandmodule, insert a module.

After you insert a module, enter the following code (code) inthe window that opens automatically on the right side of theVisualBasic editor. Here' s the following:

Sub, KongGe ()

Dim, I, As, Paragraph, N, As, Long

Appl ication.ScreenUpdating = False

For, Each, I, In, ActiveDocument.Paragraphs

If Len (i.Range) = 1 Then

I.Range.Delete

N = n + 1

End If

Next

Appl ication.ScreenUpdating = True

Options.AutoFormatAsYouTypeDeleteAutoSpaces = TrueSelection.Find.ClearFormatting

Selection.Find.Replacement.ClearFormatting

With Selection.Find

.Replacement.Text =""

.Wrap = wdFindContinue

End With

Selection.Find.Execute Replace:=wdReplaceAll

End Sub

When the code is finished, you exit the VisualBasic editor, whenthe code you just entered is not saved automatically.

Right click anywhere in the toolbar, select "custom" in the menu,open the "custom" window and switch to the commands tab inoptions, the categories list boxbelow the "macro" option, thenthe Commands list box below will appear a "normal 1.kongge"option module this option is selected, press the left mousebutton, drag it to any location on the toolbar.

This toolbar will appear on a"normal 1.kongge"module commandbutton, right click the command button, there will be a rightmenu in the menu, we mainly do the following.

1. replace the contents of the text box behind the command with'delete spaces' and' empty lines' ".

2. perform the change button image command, and select afavorite Icon (such as the red heart icon) in the submenu thatappears.

After you complete the action of the above two steps, close thecustomize window finally.

So far, we have completed the Toolbar "delete the blank andblank lines" button to add, after the need to delete a WORDdocument in the spaces and blank lines, simply open the worddocument, and then click on the Toolbar "delete the blank andblank" button and wait for a moment in the word document spacesand blank lines it was all deleted.

Tip: when we put a "save as a text file and all the content ina text file is copied to the word editor, because of thecomplexity of the blank, click Delete spaces and blank lines"button may one cannot delete all blank lines, then click thebutton again. You can delete all. When you enter and apply thismacro, adjust your word macro security settings.

Other methods are introduced:

Download things on the Internet, to get the WORD out there someannoying spaces, and some do not need to form a blank line or,if a little to remove too much trouble, try under way, is notvery easy, very easy?

First, remove the form and format

In order to make the page tidy, the web documents are in theform of tables, but in general the colors of the table are setto colorless or the table width is set to 0, so we can't seethe form on the page. In addition, line breaks are used in Webdocuments for manual line breaks, as well as formatting forfonts.

If the text copied from the page is pasted directly into the

Word, they are also pasted in, which poses a great deal oftrouble with re layout.

From the edit menu, click "select all", then click "cut", andthen clickpaste". In the open"paste paste" dialogbox, select"format" as "plain text". In this way, the table and variousformats are gone, and the manual line break becomes a carriagereturn (paragraph mark) . In addition, you can choose "save as"from the "file"menu, save the document as plain text, and thenopen it with Word. The effect is exactly the same as the methodabove.

If you have just copied text from a web page, then you candirectly implement the "selective paste" step in Word, whichwill be much easier.

Two, delete spaces

There are a lot of empty sections and spaces in the text of thepage that need to be removed when composing in Word. So why doyou want to delete the space instead of deleting the emptysection first? The reason is that there may be spaces in theparagraphs that appear to be nothing, and paragraphs withspaces are not really empty segments, and there is no way todelete them in Word.

First, open the Replace dialog box from the edit menu (do notturn off after opening, and do all the subsequent action here) .Move the cursor to the find what text box, press the space keyenter a space (the default is half spaces) , "replace" what donot fill in the text box. Click "replace all", and Word will

delete all spaces. You might say, "what? I still have a lot ofspace here. "Don't worry, if so, it is because of this documentand the other two spaces: the entire space and tab spaces. Ofthe two kinds of space, space is not semiangle themas one family,so the replacement to ignore them. Open Chinese input method,press Shift+spacebar, switch to the full state, and then entera full width space in the find what box, press the space key,"replace" is empty, then replace all, all of the entire spacealso deleted. In the dialog box and then click the "advanced"button, and then click the "special characters", select "tab"in the find what box will appear "^t" (of course, can also bemanually input) , "replace" is empty, and then click replace alltabs, spaces are not.

Three 、 delete empty segment

The time to delete the empty paragraph is finally mature. Inthe find and replace "dialog" advanced "mode, two click"special characters "in" paragraph marks ", " search "box willappear in the two" ^p "(you can also manually enter the ^p^p) ,and then move the cursor to" replace "box, click the paragraphenter a"marker"^p", and then click replace all, empty all thedocuments in all disappear.

What' s the point? Think about how the empty segments withoutspaces are generated No, exactly. Did we even have to returnthe car two times before entering? Now replace the twoconsecutive carriage returns to one, just to eliminate thatempty segment.

If you have a continuous empty segment, you can replace it

several times until you can' t find the replacement object.In this way, you copied from the Internet will certainly loseweight, so you are very satisfied.

Four, pure text content (delete hand line characters)If a copy of the content is pure text, no tables and pictures,and willing to retain and link in the HTML document format,click on the Toolbar "paste" button, the page of text on theoriginal properties are retained. But at this point, documentstend tobe cluttered andneed tobe edited and typeset to resettheir font size, font, font, line spacing, alignment, and soon.

In many cases the document will appear in a large number of"manual newline (down arrow symbol)", if the delete enter plusthe method to deal with the paragraph mark, for long documentsis very time-consuming, and can be applied to the Word "search/ replace" function to solve easily. In the "search / Replacedialog box, open the" advanced "options in the find what boxto add" ^I "(manual newline) , in the" replacement for "box toadd" ^p "(paragraph) , just click Replace All" button, andinstantly complete replacement. For. In some documents, thereare two "hand line breaks", then you can just add "^I^I" (twohand line breaks) in the find content box, and then perform the"all replace" operation.

If you do not need to retain the original format and links, clickEdit paste ", open the" paste "dialog box, in the" paste"choose" plain text "can be determined. This way, the copied

text does not have any formatting and can be processed slightly.If Word2002 is used, it is more convenient, direct click Pasteon the toolbar button, the text is copied with the format, butin the lower right corner of the copy of the text there is a"paste"button, click the buttonmenu"keep text only" command,immediately into the text no text format.

After the above processing, there are many useless spaces inthe document, you can use the "find / replace" function toremove the clean.

Five, text with a form

Sometimes we copy the content from the web page with a form,which poses a lot of trouble for typography, and then we canremove the form. As long as the cursor will move to any positionwithina table, clicktable to convert table to text conversion,"a pop-up" convert table to text dialog box, and then selectthe paragraph mark "or" tab "text delimiter, after the tabledisappeared, and the text preserved intact, and text format andlinks are preserved. If you only need to have text content, donot want to retain the format and links, etc. , using the "pastepaste" command can solve the problem.

How do you remove the border of the form in WORD from an articlecopied from the web page?

Method 1:

Don' t paste to word after the click operation and so on, movethe mouse to the block of text (usually come after the paste

is a block of text at the end) , there is a small icon with theleft mouse click, select the text can only keep

Method 2:

Select the text in the web - copy it into Notepad - and copyit from Notepad to word so that all forms, pictures, and otherinformation are not available

The following are the pictures and text. If you copy method:first to word, then the selection table ("are of the form, youcan click an octagon, the upper left corner of the table, thetable menu selection) - conversion table to text - ok. So theform is removed.

If the table, you will have more.

Method 3:

Select the text in the table - cut - paste it below the table,and then cut out the empty form box,

Another method is to select the content to be copied from theweb page, open the WORD, do not paste it directly, but select"Edit" - "selective paste" - plain text, and there is no tableMethod 4:

Select the table that is copied to the web page, and then openthe table menu, and select the "convert" command to convert thetable to text. . . . . . " Command, open the "convert form to text"

10gbiz($2.36/月),香港/洛杉矶CN2 GIA线路VPS,香港/日本独立服务器

10gbiz发布了9月优惠方案,针对VPS、独立服务器、站群服务器、高防服务器等均提供了一系列优惠方面,其中香港/洛杉矶CN2 GIA线路VPS主机4折优惠继续,优惠后最低每月仅2.36美元起;日本/香港独立服务器提供特价款首月1.5折27.43美元起;站群/G口服务器首月半价,高防服务器永久8.5折等。这是一家成立于2020年的主机商,提供包括独立服务器租用和VPS主机等产品,数据中心包括美国洛...

提速啦(24元/月)河南BGP云服务器活动 买一年送一年4核 4G 5M

提速啦的来历提速啦是 网站 本着“良心 便宜 稳定”的初衷 为小白用户避免被坑 由赣州王成璟网络科技有限公司旗下赣州提速啦网络科技有限公司运营 投资1000万人民币 在美国Cera 香港CTG 香港Cera 国内 杭州 宿迁 浙江 赣州 南昌 大连 辽宁 扬州 等地区建立数据中心 正规持有IDC ISP CDN 云牌照 公司。公司购买产品支持3天内退款 超过3天步退款政策。提速啦的市场定位提速啦主...

Megalayer(159元 )年付CN2优化带宽VPS

Megalayer 商家我们还算是比较熟悉的,商家主要业务方向是CN2优化带宽、国际BGP和全向带宽的独立服务器和站群服务器,且后来也有增加云服务器(VPS主机)业务。这次中秋节促销活动期间,有发布促销活动,这次活动力度认为还是比较大的,有提供香港、美国、菲律宾的年付VPS主机,CN2优化方案线路的低至年付159元。这次活动截止到10月30日,如果我们有需要的话可以选择。第一、特价限量年付VPS主...

网页边框为你推荐
伪装微信地理位置用软件 伪装微信地理位置 在相册上传图片显示所在城市还是我目前的位置?网站运营网站运营的工作做什么数码资源网安卓有没有可以离线刷题的软件?godaddygodaddy域名怎样使用xv播放器下载除了迅雷看看播放器还有什么播放器支持xv格式的视频?人人逛街为什么女人都喜欢逛街?谢谢了,大神帮忙啊免费免费建站我想建一个自己的免费网站,但不知道那里有..云挂机快手极速版后台云挂机辅?助各位用了吗?在哪找的?分词技术搜索引擎采用的是什么技术?什么是云平台什么是云系统?
顶级域名 locvps cve-2014-6271 优惠码 国外空间 100m免费空间 老左正传 赞助 hkg 爱奇艺vip免费试用7天 cdn加速是什么 免费测手机号 重庆双线服务器托管 免费外链相册 上海电信测速网站 中国电信网络测速 cxz 论坛主机 阵亡将士纪念日 广东服务器托管 更多