Skip i'r prif gynnwys

Sut i drosi cynnwys celloedd yn sylwadau yn Excel?

Efallai bod gennych chi ystod o gelloedd wedi'u llenwi â rhywfaint o wybodaeth, ac nawr rydych chi am drosi'r cynnwys celloedd hynny i sylwadau mewn taflen waith. A yw'n bosibl ichi orffen y dasg hon yn Excel? Dyma rai triciau cyflym i ddatrys y broblem hon.

Trosi cynnwys celloedd yn sylwadau gyda Cod VBA

Trosi cynnwys celloedd yn gyflym i sylwadau gyda Kutools ar gyfer Excel


swigen dde glas saeth Trosi cynnwys celloedd yn sylwadau gyda chod VBA

Gall y cod VBA cryno canlynol eich helpu i drosi cynnwys celloedd yn sylwadau, a gallwch gymhwyso'r cod gyda'r camau canlynol:

1. Dewiswch yr ystod o werthoedd celloedd rydych chi am eu trosi i sylwadau.

2. Cliciwch Datblygwr > Visual Basic, Newydd Microsoft Visual Basic ar gyfer cymwysiadau ffenestr yn cael ei harddangos, cliciwch Mewnosod > Modiwlau, a mewnbynnu'r cod canlynol i'r Modiwl:

Sub CellToComment()
'Updateby20140509
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    Rng.NoteText Text:=Rng.Value
Next
End Sub

3. Yna cliciwch doc-rhannu-5 botwm i weithredu'r cod. Ac mae deialog yn ymddangos i chi ddewis amrediad i'w drosi, yna cliciwch OK, yna mae'r holl gynnwys celloedd a ddewiswyd wedi'i drosi'n sylwadau. Gweler sgrinluniau:


doc-celloedd-i-sylwadau1 -2 doc-celloedd-i-sylwadau2

swigen dde glas saethTrosi cynnwys celloedd yn gyflym i sylwadau gyda Kutools ar gyfer Excel

Fel dechreuwr Excel, mae cod VBA ychydig yn anodd i chi. Felly, byddaf yn cyflwyno ffordd syml ichi ddelio â hyn.

Kutools ar gyfer Excel : gyda mwy na 300 o ychwanegiadau Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod. Get it Now

Os ydych chi wedi gosod Kutools ar gyfer Excel, mae'r Trosi Sylw a Cell of Kutools yn gallu'ch helpu chi i drosi cynnwys celloedd yn sylwadau yn gyflym ac yn gyfleus. Gwnewch fel a ganlyn:

1. Tynnwch sylw at yr ystod yr hoffech chi eu trosi'n sylwadau.

2. Cliciwch Kutools > Mwy > Trosi Sylw a Cell, gweler y screenshot:

3. Yn y Trosi Sylw a Cell blwch deialog, dewiswch Trosi cynnwys celloedd yn sylwadau opsiwn. Gweler y screenshot:

4. Cliciwch OK. Ac mae'r holl gynnwys celloedd a ddewiswyd wedi'i drosi'n sylwadau celloedd. Gweler y screenshot:

Gyda Trosi Sylw a Cell nodwedd, gallwch hefyd drosi sylwadau i gynnwys celloedd. Am wybodaeth fanylach am Trosi Sylw a Cell, Ewch i Trosi Sylw a Disgrifiad nodwedd Cell.


Erthyglau cysylltiedig:

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is there any plan to convert to Comments instead of notes for the functionality of the new Excel versions?
This would be very helpful

Here is a VBA that works but a Kutools shortcut would be nice as it would work in any file extension instead of only Macro compatible

Convert Cell Content to Comment
Sub ConvertToComment()
Dim C As Range
For Each C In Selection
C.ClearComments
If Len(C.Value) > 0 Then
C.AddComment
C.Comment.Text C.Value & ""
End If
'Optional: Delete cell content after converting
C.ClearContents
Next C
End Sub
This comment was minimized by the moderator on the site
hi! hi about new Excel comments option, not notes?
This comment was minimized by the moderator on the site
Hi, I use this macro to check old values in a range of cell. How can add comments to existing comments with a text. eg - first value is 1000. then I run the macro is must come as "was 1000" in comments. now I have changed value to 900. Next time I run the macro on same cell or cells it must show as "was900 was1000" now changed value to 800. so when I check cell comments I can see value actually dropped from 1000 to 900 and currently it is 800.
This comment was minimized by the moderator on the site
I need help to enter new row. However there are few condition . 1.> I need each row for Col A1(for ID# i.e. A1, A2..A25) as progressive addition when every time new row is entered. If , I'm entering new row after A20 then next row should have ID# as A21. It should always insert the row below last used row. 2.> Similarily, I need to add in progressive hyperlink cell value in the column "H1" onward. Is this possible, If yes, please advise.
This comment was minimized by the moderator on the site
I'm using Excel 2010 and facing same issue i.e. when char length is more than it skip to convert in comment. Please could you please advise as what change needs to be made in code to not limit the char length.
This comment was minimized by the moderator on the site
what is the string length limit for the conversion? It appears cells with Cell content longer than 255 are skipped. It would at least be better to get the first 255 characters converted
This comment was minimized by the moderator on the site
[quote]what is the string length limit for the conversion? It appears cells with Cell content longer than 255 are skipped. It would at least be better to get the first 255 characters convertedBy Darrel Stickler[/quote] Hello, please tell me the version information of your Excel. There is no such issue with Kutools for Excel 7.00. :) please contact me at jaychivo#extendoffice.com
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations