Shaxda tusmada
Mararka qaar, waa in aan ka dooranaa xaashi gaar ah xaashiyo shaqo oo badan oo ku jira Excel buugga shaqada. Waxaan u wici karnaa xaashida sida caadiga ah Cod Name ama annagoo adeegsanayna Magac la beddeli karo . Si aad u dooratid xaashi adigoo isticmaalaya magaca doorsoomiyaha ah, waa in aan marka hore dejinaa magaca doorsoomiyaha. Maqaalkan, waxaan ku tusi doonaa siyaabaha waxtarka leh ee fudud ee loo Dooro a Sheet adigoo isticmaalaya Magac is-beddeli kara oo leh VBA gudaha Excel .
Si aan u sharaxno, waxa aanu tusaale ahaan u isticmaali doonaa xog-ururin. Tusaale ahaan, xogtan soo socotaa waxay u taagan tahay Iibiyaha , Alaabta , iyo Iibka saafiga ah ee shirkad lagu muujiyey xaashiyo kala duwan.
>
Soo deji Buug-hawleedka Shaqada
>Soo deji buug-shaqeedka soo socda si aad naftaada ugu tababarto.
> VBA Dooro Magaca Bedelka leh ee Sheet.xlsm >5> 2 siyaabood oo lagu xusho xaashida magac is bedbeddela leh oo leh VBA gudaha Excel > 1. Dooro xaashida firfircoon ee magac beddelan oo leh VBA gudaha Excel
Qaabkayada ugu horreeya, waxaan dooran doonnaa xaashida firfircoon iyadoo la isticmaalayo magac doorsooma. Sheet Firfircoon , waxaanu ula jeednaa xaashida aanu ku shaqaynayno. Sidaa darteed, raac tillaabooyinka hoose si aad ku doorato xaashida Firfircoon by Magac kala duwan oo leh VBA gudaha Excel .
>>TALAABOOYINKA:
>- >
- Marka hore, dooro Visual Basic ee hoos yimaada Developer tab.
> 3>
- Natiijo ahaan, VBA daaqada ayaa soo bixi doonta. >Kadib, ka dooro Module Geli tab Halkaa, koobiye koodka soo socda oo ku dheji sanduuqa.
2179
- Hadda, xidh VBA daaqadda
- Intaa ka dib, dooro Macros hoosta Developer tabka
>
>- >Natiijo ahaan, , Macro sanduuqa wada hadalka ayaa soo bixi doona.
- Halkan, dooro ActiveSheetSelect oo tabo Run .
>
>2. Excel VBA si loo dejiyo Magaca beddelka ah ee xulashada xaashida
Qaabkayagii hore, waxaan codsanay VBA code si aan u soo celinno xaashida aan markii hore ka shaqaynaynay. Habkan, waxaan u dejin doonaa Magaca Isbeddeli kara xaashida shaqada ee aan doonayno oo aan dooranno xaashidaas annaga oo adeegsanayna Magaca beddelmi kara oo leh VBA . Haddaba, baro habkan soo socda si aad hawsha u gudato.
TALAABOOYINKA:
- Marka hore, waxaanu dejin doonaa Magaca beddelmi kara Sheet2 oo isticmaal magacaas doorsooma si aad u dooratid xaashida >
- Marka, tag Home-sare ➤ Visual Basic . >Marka xigta, dooro Geli sanduuqa wada hadalka ayaa soo bixi doona >
- kadib koobi code-ka hoose oo ku dheji halkaas 1>VBA daaqadda. >Hadda, fur Sheet3 . >Kadib,ka dooro Macros ka Developer taabka sanduuqa wada hadalka ayaa soo bixi doona.
- halkaas,guji SelectSheet oo tabo Run .
- >
- Kadib marka aad riixdo Run , waxa aad heli kartaa cilad sanduuqa wada hadalka sida ka muuqata sawirka soo socda 12>Si aad u xalliso arinta,taabo Dhammaadka . >kadib, tag Faylka ➤ Options . >Kadib , laga bilaabo Trust Center tab, ka dooro Xarunta Aaminaada .
> 3>
- Sidaa awgeed, Xarunta Aaminaada sanduuqa wada hadalka ayaa soo muuqan doona >Halkaas, dooro Macro Settings tabka >Ka dib, calaamadee sanduuqa Aaamin gelitaanka Qaabka shayga mashruuca VBA oo taabo OK . >
- Markale, dooro Developer ➤ Macros . >
- Riix SelectSheet oo taabo Run .
>
- 12>Ugu dambayntii, waxay soo celin doontaa Sheet2 inkasta oo aanu ka shaqaynaynay Sheet3 .
>
Read more Waxay awood u yeelan doontaa in ay doorato a Sheet adigoo isticmaalaya Magaca beddelmi kara oo leh VBA gudaha Excel addoo isticmaalaya kan sare- hababka lagu tilmaamay. Sii wad isticmaalkooda oo noo soo sheeg haddii aad hayso siyaabo kale oo aad hawsha u qabato. Ha iloobin inaad tuurto faallooyinka, talooyinka, ama weydiimaha haddiiwax ayaad ku haysaa qaybta faallooyinka ee hoose.