边框将从网页上复制下来的文章中的表格边框去掉(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"

pacificrack:超级秒杀,VPS低至$7.2/年,美国洛杉矶VPS,1Gbps带宽

pacificrack又追加了3款特价便宜vps搞促销,而且是直接7折优惠(一次性),低至年付7.2美元。这是本月第3波便宜vps了。熟悉pacificrack的知道机房是QN的洛杉矶,接入1Gbps带宽,KVM虚拟,纯SSD RAID10,自带一个IPv4。官方网站:https://pacificrack.com支持PayPal、支付宝等方式付款7折秒杀优惠码:R3UWUYF01T内存CPUSS...

2022年腾讯云新春采购季代金券提前领 领取满减优惠券和域名优惠

2022年春节假期陆续结束,根据惯例在春节之后各大云服务商会继续开始一年的促销活动。今年二月中旬会开启新春采购季的活动,我们已经看到腾讯云商家在春节期间已经有预告活动。当时已经看到有抢先优惠促销活动,目前我们企业和个人可以领取腾讯云代金券满减活动,以及企业用户可以领取域名优惠低至.COM域名1元。 直达链接 - 腾讯云新春采购活动抢先看活动时间:2022年1月20日至2022年2月15日我们可以在...

A400互联37.8元/季,香港节点cn2,cmi线路云服务器,1核/1G/10M/300G

A400互联怎么样?A400互联是一家成立于2020年的商家,A400互联是云服务器网(yuntue.com)首次发布的云主机商家。本次A400互联给大家带来的是,全新上线的香港节点,cmi+cn2线路,全场香港产品7折优惠,优惠码0711,A400互联,只为给你提供更快,更稳,更实惠的套餐,香港节点上线cn2+cmi线路云服务器,37.8元/季/1H/1G/10M/300G,云上日子,你我共享。...

网页边框为你推荐
ps抠图技巧请教PS抠图技巧!!!天天酷跑刷金币天天酷跑如何刷分刷金币?宕机何谓宕机?机械键盘轴机械键盘什么轴好,机械键盘轴有几种bluestackbluestacks下载的东西在哪虚拟专用网虚拟专用网 有什么用处?如何快速收录如何让百度快速收录分词技术搜索引擎采用的是什么技术?系统分析员系统分析师是什么职业?主要做什么工作?虚拟机软件下载求一个免费虚拟机软件!!!请发送下载网站给我
哈尔滨服务器租用 域名备案只选云聚达 qq云存储 美国主机评论 omnis 512av godaddy域名转出 免空 吉林铁通 如何建立邮箱 无限流量 创建邮箱 联通网站 东莞idc 江苏双线 register.com websitepanel winserver2008r2 web服务器有哪些 卡巴斯基免费版下载 更多