Sideen u hagaajin karaa Runtime Error 1004 gudaha Microsoft Excel?

Microsoft Excel waa mid ka mid ah xaashiyaha ugu caansan ee loo isticmaalo adduunka oo dhan ujeeddooyin shaqsi iyo ganacsi labadaba. Waa halka hal-joojin ah ee kaydinta, abaabulka, iyo wax-is-beddelka xogta si habaysan. MS Excel wuxuu inta badan ku yimaadaa laba kordhin sida XLS iyo qaabka XLSX . Si kastaba ha noqotee, marka laga reebo caannimadeeda cajiibka ah, khaladaadka runtime waa dhib caadi ah dad badan oo isticmaala Windows - mid ka mid ah kuwa ugu caansan waa Runtime Error 1004 .

Cilada Runtime 1004 ee Excel

Hagahan, waxaanu kaga hadli doonaa khaladkan Runtime(Runtime error) ee caadiga ah 1004 iyo qaar ka mid ah hagaajinta ugu fiican ee lagu xaliyo dadaalla'aan.

Waa maxay Runtime Error 1004 ee Excel ?

Cilada Runtime(Runtime) 1004 waa koodka khaladka ah ee la xidhiidha Microsoft Visual Basic kaas oo lagu yaqaanay inuu dhibo isticmaalayaasha Microsoft Excel . Ciladaan waxaa soo food saartay nooc kasta oo MS Excel ah sida Excel 2007 , 2010, 2013, 2016, 2019 sidoo kale. Ma jiro nooc ka mid ah Microsoft Excel oo ka badbaadsan khatarta Runtime Error 1004 .

Ciladan waxaa inta badan la kulma isticmaalayaasha marka ay ku shaqeynayaan faylka Excel ama ay isku dayayaan in ay abuuraan Macro dukumeenti Excel ah. Waxay keeni kartaa dhibaato halis ah markaad la shaqaynayso Visual Basic Applications waxayna si buuxda u burburin kartaa barnaamij, ama xitaa nidaamka oo dhan; Mararka qaarkood waxaa laga yaabaa inay qaboojiso nidaamka ka mamnuucaya isticmaalayaasha inay wax ku sameeyaan nidaamkooda.

Noocyada fariinta qaladka

Farriimaha khaladka ah ee inta badan la xidhiidha khaladkan runtime waa sida soo socota:

  • VB: qalad run-time '1004': Qaladka codsiga-qeexay ama shayga-qeexay
  • Cilada Runtime VBA ee Excel(Excel VBA Runtime) 1004 " Xulashada(Select) habka fasalka Range waa guuldareystay"
  • qalad runtime 1004 habka kala duwan ee shayga _global fashilka muuqaal aasaasiga ah
  • Macro Excel "Ciladka Run-waqtiga '1004?
  • Qaladka Runtime(Runtime) 1004 Habka furan ee buugaagta shaqada shay waa guuldarraystay
  • Khaladka Run-Time '1004': Habka 'Ranger' of Object' Xaashida shaqada' wuu fashilmay
  • " Qaabka(Method) barnaamijka Furaha (Key)U Codsiga waa fashilmay(Object Program APPLICATION Failed) . "

Haddii aad la kulanto mid ka mid ah khaladaadka kor ku xusan, markaa waxaad hagaajin kartaa qaladka adigoo isticmaalaya hagahayaga.

Maxaa sababa?

Khaladka 1004 waa kood guud oo la xidhiidha MS Excel laakiin maaha mid gaar ah sabab sax ah. Sidaa darteed(Hence) , kiiskan, sababta saxda ah ee uu qaladkani u soo bixi karo way ku kala duwanaan doontaa kiis ilaa xaalad iyo xaalad ilaa xaalad. Laga soo bilaabo arrimaha qaabeynta ilaa dhibaatooyinka software, hoos waxaan ku taxnay dulucda sababaha caadiga ah ee qaladka runtime 1004 ee excel:

  • MS Excel Desktop Icon waa la kharribmay
  • VBA Excel File waxay isku dhacayaan codsi kale
  • Sababo la xiriira codsiga ama shay khalad la cayimay
  • Faylka ku-tiirsanaanta maqan awgeed
  • Sababo la xiriira Virus, Trojan ama malware
  • Sababo la xiriira Furayaasha Diiwaangelinta aan ansax ahayn(Invalid Registry Keys) iyo wixii la mid ah.

Kuwani waxay ahaayeen dhowr ka mid ah sababaha ugu badan ee ka dambeeya helitaanka qaladka runtime 1004 ee MS Excel ; hadda aynu fahamno hagaajinta kala duwan.

Hagaaji qaladka Runtime 1004 ee Excel

Halkan waxaan ku faahfaahiyay xalalka gacanta iyo si toos ah labadaba si loo hagaajiyo Error Runtime 1004(Runtime Error 1004) . Waxaad raaci kartaa mid ka mid ah hababka soo socda si aad u xalliso arrinta.

  1. Samee template Excel cusub
  2. Samee iskaanka fayraska
  3. Wixii VB ah: cilad-waqtiga orodka '1004', wax ka beddel gelinta halyeeyada

Aynu si faahfaahsan u eegno mid kasta oo hababkan ah.

1] Samee template Excel cusub

Xaaladaha qaarkood, hagaajinta arrintan waxay noqon kartaa mid fudud sida gelinta warqad shaqo cusub oo ka timid template halkii laga abuuri lahaa nuqul ka mid ah warqad shaqo oo hadda jirta. Waa kuwan waxaad u baahan tahay inaad sameyso:

1] Ku fur MS Excel nidaamkaaga

2] Taabo ' CTRL + N ' si aad u abuurto xaashi cusub oo Microsoft Excel ah ama si fudud uga dooro ' buug-shaqo maran(Blank workbook) ' shaashadda kowaad.

Khaladka Runtime 1004

3] Marka(Once) la dhammeeyo tirtir dhammaan xaashida buugga shaqada marka laga reebo hal.

4] Hadda, qaabee buugga shaqada, kaas oo laga tagay. Sidoo kale, ogow, buug-shaqeedkan waa la beddeli karaa si uu ugu habboonaado baahidaada gaarka ah.

5] Dhammaadka, u tag ' File > Save As ' si aad u kaydiso xaashida shaqada cusub ee qaabka faylka Excel(Excel Template) (.xltx ama .xlt).

6] Marka aad si guul leh u abuurto template, waxaad gelin kartaa barnaamij ahaan adigoo isticmaalaya xariiqda koodka:

Sheets.Add Type:=path\filename

Fadlan ogow -(Please note – ) Ha iloobin inaad ku beddesho faylka cusub magaca dhabta ah ee dukumeentiga.

2] Samee iskaanka fayraska

Aad bay muhiim u tahay in laga baadho nidaamka kombiyuutarkaaga malware-ka iyo fayrasyada maxaa yeelay kuwani waxay kharribi karaan faylasha iyo dukumentiyada muhiimka ah waxayna muujinayaan qaladka runtime 1004 ee MS Excel . Mararka qaarkood isticmaalka barnaamij ka hortag wanaagsan ayaa wax badan ka caawiya.

la xiriira(Related) : Run-time qalad 1004, Ma wadi karo Macro ee Excel(Run-time error 1004, Cannot run the Macro in Excel) .

3] Wixii VB ah: cilad-waqtiga orodka '1004', wax ka beddel gelinta halyeeyada

Haddii aad la kulanto Runtime Error 1004 markaad wado Microsoft Visual Basic for Applications ( VBA ) macro, markaa waxaad isticmaali kartaa habkan si aad u shaqeyso.

Guud ahaan, waxa aad helaysaa qaladkan marka aad isku daydo in aad maamusho VBA macro kaas oo isticmaala habka LegendEntries si uu isbeddel ugu sameeyo halyeyga shaxanka Microsoft Excel . Waqtigaas, waxa aad heli kartaa fariinta khaladka ah ee soo socota:

Cilad-wakhti-u-dhimista '1004': Qaladka codsiga ama shayga qeexan

Ciladani waxay dhacdaa marka jaantuska Excel uu ka kooban yahay gelinta halyeeyo ka badan inta ay jirto meel bannaan oo lagu soo bandhigo halyeyga jaantuska Excel . Marka habdhaqankani dhaco, Microsoft Excel waxa laga yaabaa inay gooyso gelinta halyeeyada.

Si aad ugu shaqeyso habdhaqankan, samee makro kaas oo yareynaya cabbirka font ee qoraalka jaantuska Excel ka hor inta uusan VBA -gaagu isbeddel ku samayn halyeeyga jaantuska ka dibna dib u soo celi cabbirka font ee halyeeyga jaantuska si ay ula mid noqoto tusaalaha soo socda .

Sub ResizeLegendEntries()
With Worksheets("Sheet1").ChartObjects(1).Activate
      ' Store the current font size
      fntSZ = ActiveChart.Legend.Font.Size
'Temporarily change the font size.
      ActiveChart.Legend.Font.Size = 2
'Place your LegendEntries macro code here to make
         'the changes that you want to the chart legend.
' Restore the font size.
      ActiveChart.Legend.Font.Size = fntSZ
   End With
End Sub

Waxaan rajeyneynaa in maqaalkani uu kaa caawiyo inaad hagaajiso qaladka runtime 1004 ee Microsoft Excel . Hagahan waxa uu ku siinayaa buug-gacmeed iyo sidoo kale xal toos ah si aad uga takhalusto khaladkan; waxaad isticmaali kartaa xal kasta oo ku salaysan baahidaada.

Akhri soo socda(Read next) : Furayaasha fallaadhaha oo aan ka shaqayn Microsoft Excel.



About the author

Waxaan ahay horumariye mareegaha iyo injineer maqal ah oo leh khibrad 10 sano ka badan. Waxaan ku takhasusay horumarinta barnaamijyada Chrome/Web Audio, iyo sidoo kale codsiyada Discord. Xirfadayda labada dhinacba waxay ii ogolaataa inaan abuuro alaab tayo leh oo ay fududahay in la isticmaalo lana ilaaliyo. Intaa waxaa dheer, waxaan ahay isticmaale khibrad leh oo Discord waxaanan ka shaqaynayay abka in ka badan laba sano hadda.



Related posts