Tsim kev loj hlob kom paub ua haujlwm nrog Microsoft Word

Pin
Send
Share
Send

Lub macro yog kev teeb tsa ntawm cov kev nqis tes ua, cov lus txib, thiab / lossis cov lus qhia uas tau faib ua pawg ib pab pawg uas cia li ua ib txoj haujlwm. Yog tias koj yog tus neeg siv nquag ntawm MS Word, koj tuaj yeem ua haujlwm automate nquag ua haujlwm los ntawm kev tsim cov macros uas tsim nyog rau lawv.

Nws yog hais txog yuav ua li cas suav nrog macros hauv Lo Lus, yuav ua li cas tsim thiab siv lawv los ua kev yooj yim, kho kom nrawm dua rau cov haujlwm ua haujlwm thiab yuav tau tham hauv tsab xov xwm no. Thiab tsis tau, rau cov neeg pib, nws yuav tsis yog qhov nkag siab ntxiv kom paub meej ntxiv vim li cas lawv xav tau txhua lub sijhawm.

Siv Macro:

    1. Kev ua kom sai ntawm kev ua haujlwm nquag. Cov no suav nrog kev ua hom thiab kho kom raug.

    2. Ua ke ntau pab pawg los ua qhov "ntawm thiab rau" tes hauj lwm. Piv txwv li, siv macro, koj tuaj yeem ntxig ib lub rooj ntawm qhov loj me nrog cov naj npawb uas yuav tsum muaj ntawm kab thiab kem.

    3. Kev yooj yim ntawm kev nkag mus rau qee qhov kev txwv thiab cov cuab yeej nyob hauv ntau lub thawv ntawm cov program.

    4. Kev ua haujlwm tshwj xeeb ntawm cov nyom ua cov nyom.

Ib kab zuj zus ntawm macros tuaj yeem sau lossis tsim los ntawm kos los ntawm kev qhia cov lej nkag mus rau Visual Basic editor hauv cov lus programming ntawm tib lub npe.

Pab kom Macros

Los ntawm lub neej ntawd, macros tsis muaj nyob hauv txhua hom ntawv ntawm MS Word, ntau dua qhov tseeb, lawv tsuas yog tsis suav nrog. Txhawm rau ua kom lawv, koj yuav tsum qhib tus txheej txheem tsim tawm. Tom qab ntawd, ib lub tab yuav tshwm nyob rau ntawm txoj kev tswj hwm ntawm txoj haujlwm “Tus tsim tawm”Cov. Nyeem seb yuav ua li cas hauv qab no.

Nco tseg: Hauv cov khoos kas uas qhov macros muaj pib ua ntej (piv txwv li Word 2016), cov cuab yeej los ua haujlwm nrog lawv tau nyob hauv tab “Saib” hauv pawg “Macros”.

1. Qhib cov zaub mov “Cov ntaub ntawv” (“Microsoft Office” khawm ua ntej).

2. Xaiv "Xaiv" (yav tas los “Lo Lus Xaiv”).

3. Qhib lub qhov rai "Xaiv" qeb “Yooj Yim” thiab mus rau cov pab pawg "Kev ua haujlwm tsis yooj yim".

4. Khij lub thawv nyob ib sab "Qhia Tus Tsim Tus Tsim tab hauv xov".

5. Ib qho tab tshwm ntawm lub rooj tswj hwm “Tus tsim tawm”, nyob rau hauv uas cov khoom yuav tsum tau nyob “Macros”.

Cov Ntaub Ntawv Macro

1. Nyob hauv kab “Tus tsim tawm” los yog, nyob ntawm seb tus version ntawm Lo Lus siv, hauv kab “Saib”nias lub pob “Macros” thiab xaiv “Macro Teev”.

2. Qhia lub npe rau macro yuav raug tsim.

Nco tseg: Yog tias koj tsim macro tshiab thiab muab nws lub npe zoo ib yam li cov tsim ua hauv macro, cov yeeb yam koj tau sau rau hauv cov macro tshiab yuav tau ua es tsis txhob siv tus qauv. Txhawm rau saib cov ntawv loj hauv MS Word los ntawm lub neej ntawd khawm “Macros” xaiv “Lo Lus Qhia”.

3. Hauv kab lus “Macro muaj rau” xaiv qhov nws yuav muaj rau: ib daim qauv lossis ib daim ntawv kom txuag nws.

    Tswv yim: Yog tias koj xav tau cov macro uas tsim muaj nyob hauv txhua cov ntaub ntawv uas koj ua haujlwm nrog tom qab, xaiv qhov kev xaiv “Li qub.dotm”.

4. Hauv daim teb “Hauj lwm lawm” sau cov lus piav qhia rau daim macro yog yuav tsim.

5. Ua ib qho ntawm cov hauv qab no:

  • Pib sau - kom pib sau cov macro tsis tas yuav koom nrog nws nrog lub pob ntawm cov tswj tuav lossis ib qho tseem ceeb ua ke, nias “OK”.
  • Tsim khawm - txhawm rau koom nrog cov tsim macro nrog khawm nyob ntawm lub tswj vaj huam sib luag, ua cov hauv qab no:
      • Nyem “Khawm”;
      • Xaiv cov ntawv lossis cov ntaub ntawv uas koj xav kom ntxiv qhov tsim macro rau cov ntawv nkag mus ceev (seem “Customizing Quick Access Toolbar”);

      Tswv yim: Txhawm rau ua tus tsim macro tuaj yeem siv tau rau tag nrho cov ntaub ntawv, xaiv kev xaiv “Li qub.dotm”.

    Nyob rau hauv lub qhov rai “Macro ntawm” (yav tas los "Xaiv cov pab pawg los ntawm") xaiv cov ntawv loj uas koj xav kaw, nyem “Ntxiv”.

      • Yog tias koj xav hloov lub pob nyem no, nyem "Hloov";
      • Xaiv lub cim tsim nyog rau lub pob los tsim hauv qhov chaw “Cim”;
      • Sau lub npe macro, uas yuav muab tso rau tom qab dab tsi “Tso Npe”;
      • Txhawm rau pib sau cov macro, nyem ob lub pob nyem “OK”.

    Lub cim koj tau xaiv yuav tshwm rau hauv cov ntawv nkag ceev nrawm. Thaum koj yuj dua lub cim no, nws lub npe yuav tshwm.

  • Cob txoj kev ua lag luam keyboard - Txhawm rau cob rau qhov tseem ceeb ua ke rau kev tsim macro, ua raws li cov theem no:
      • Nyem rau feem khawm "Yuam sij" (yav tas los “Keyboard”);

      • Hauv seem “Pab pawg” xaiv cov macro koj xav sau;

      • Hauv seem “Shortcut tshiab keyboard” sau ib qho kev sib xyaw ua ke yooj yim rau koj, thiab tom qab ntawd nias lub pob "Tso";

      • Txhawm rau pib sau cov macro, nyem "Kaw".

    6. Ua txhua qhov yeeb yam koj xav ua nrog loj heev, ib zaug ib zaug.

    Nco tseg: Thaum sau cov macro, koj tsis tuaj yeem siv tus nas los xaiv cov ntawv sau, tab sis koj yuav tsum siv nws los xaiv cov lus txib thiab kev txwv. Yog tias tsim nyog, koj tuaj yeem xaiv cov ntawv sau uas siv keyboard.

    Tshooj: Hotkeys Hauv Lo Lus

    7. Txhawm rau nres cov ntawv sau loj, nias “Tsis sau cia”, cov lus txib no tau nyob hauv lub khawm khawm “Macros” ntawm cov tswj vaj huam sib luag.

    Hloov cov keyboard shortcuts rau macro

    1. Qhib lub qhov rais "Xaiv" (ntawv qhia zaub mov “Cov ntaub ntawv” los yog khawm “MS Chaw Haujlwm”).

    2. Xaiv “Teeb”.

    3. Nyem rau ntawm khawm “Teeb”nyob ze rau tom tshav pob “Keyboard shortcut”.

    4. Hauv seem “Pawg” xaiv “Macros”.

    5. Hauv daim ntawv qhib uas, xaiv qhov macro uas koj xav tau pauv.

    6. Nyem rau ntawm lub tshav pob “Shortcut tshiab keyboard” thiab nias cov yuam sij lossis sib txuas tseem ceeb uas koj xav kom cob rau ib qho macro tshwj xeeb.

    7. Nco ntsoov tias qhov sib xyaw ua ke tseem ceeb uas koj tau muab rau siv tsis yog coj los ua lwm yam haujlwm (teb “Tam sim no ua ke”).

    8. Hauv seem “Txuag Hloov” xaiv cov kev xaiv tsim nyog (chaw) kom txuag tau qhov chaw uas tus macro yuav khiav.

      Tswv yim: Yog tias koj xav tau cov macro kom muaj siv rau hauv txhua cov ntaub ntawv, xaiv qhov kev xaiv “Li qub.dotm”.

    9. Nyem "Kaw".

    Macro khiav

    1. Nias lub pob nyem “Macros” (tab “Saib” lossis “Tus tsim tawm”, nyob ntawm seb tus nqi ntawm qhov kev pab cuam siv).

    2. Xaiv cov macro koj xav khiav (sau “Macro Npe”).

    3. Nyem "Khiav".

    Tsim kev loj dua tshiab

    1. Nias lub pob nyem “Macros”.

    2. Qhia kom meej ib lub npe rau daim ntawv loj tshiab hauv daim teb.

    3. Hauv seem “Macros ntawm” xaiv ib tus qauv lossis cov ntawv rau cov tsim uas loj yuav tau txais kev cawmdim.

      Tswv yim: Yog tias koj xav tau macro muaj nyob hauv txhua cov ntaub ntawv, xaiv qhov kev xaiv “Li qub.dotm”.

    4. Nyem "Tsim"Cov. Tus editor yuav qhib Siv qhov muag pom, nyob rau hauv uas koj tuaj yeem tsim dua tshiab macro hauv Visual Basic.

    Yog txhua yam, tam sim no koj paub dab tsi macros yog nyob hauv MS Word, vim li cas lawv xav tau, yuav ua li cas tsim lawv thiab yuav ua haujlwm li cas nrog lawv. Peb cia siab tias cov ntaub ntawv hauv tsab xov xwm no yuav muaj txiaj ntsig zoo rau koj thiab pab tiag yooj yim, ua haujlwm kom sai nrog kev ua haujlwm ntawm chaw ua haujlwm tau zoo.

    Pin
    Send
    Share
    Send