वीबीए फ़ंक्शंस चलाते समय आप माइक्रोसॉफ्ट एक्सेल के सीपीयू उपयोग को कैसे सीमित करते हैं?

विषयसूची:

वीबीए फ़ंक्शंस चलाते समय आप माइक्रोसॉफ्ट एक्सेल के सीपीयू उपयोग को कैसे सीमित करते हैं?
वीबीए फ़ंक्शंस चलाते समय आप माइक्रोसॉफ्ट एक्सेल के सीपीयू उपयोग को कैसे सीमित करते हैं?
Anonim
यदि आपके पास एक वीबीए फ़ंक्शन है जो माइक्रोसॉफ्ट एक्सेल को सीपीयू मर्चिंग जानवर में बदल देता है, तो क्या चीजों को कम करना संभव है ताकि आप एक्सेल खत्म होने पर अन्य गतिविधियों के लिए अपने कंप्यूटर का उपयोग जारी रख सकें? आज का सुपर यूज़र क्यू एंड ए पोस्ट एक निराशाजनक पाठक को एक्सेल को नियंत्रण में लाने में मदद करने के लिए बचाव के लिए आता है।
यदि आपके पास एक वीबीए फ़ंक्शन है जो माइक्रोसॉफ्ट एक्सेल को सीपीयू मर्चिंग जानवर में बदल देता है, तो क्या चीजों को कम करना संभव है ताकि आप एक्सेल खत्म होने पर अन्य गतिविधियों के लिए अपने कंप्यूटर का उपयोग जारी रख सकें? आज का सुपर यूज़र क्यू एंड ए पोस्ट एक निराशाजनक पाठक को एक्सेल को नियंत्रण में लाने में मदद करने के लिए बचाव के लिए आता है।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

विदेशी योद्धा क्लिप कला सौजन्य Clker.com.

प्रश्न

सुपर यूज़र रीडर लर्निंगएसिगो जानना चाहता है कि माइक्रोसॉफ्ट एक्सेल के सीपीयू उपयोग को सीमित करने का कोई तरीका है या नहीं, जबकि उसके कंप्यूटर पर वीबीए स्क्रिप्ट चला रहा है:

Is there a way to limit Microsoft Excel’s CPU usage when it is running? I have a VBA script that calculates a large amount of giant array formulas. The entire set of calculations takes approximately twenty minutes to complete and uses 100 percent of my CPU. I am unable to use my computer during this time and would rather have Excel ‘running in the background’ while using about 50 percent of my CPU’s capacity so that I can continue to do other things.

Any suggestions? My computer’s operating system is Windows 7 Enterprise 64-bit with a 2007 32-bit version of Excel installed on it.

वीबीए फ़ंक्शंस चलाते समय माइक्रोसॉफ्ट एक्सेल के सीपीयू उपयोग को सीमित करने का कोई तरीका है?

उत्तर

SuperUser योगदानकर्ता mtone का हमारे लिए जवाब है:

If a VBA function is called from several formulas or if your script generates or forces the recalculation of several formulas, then this should definitely make use of the multi-threaded calculation feature in Microsoft Excel. Respectively, this would either run multiple instances of your VBA function for each formula, or recalculate multiple cells simultaneously while your VBA script is running on a single thread.

You can limit the number of threads used by Excel to recalculate formulas by going to Options and selecting the Advanced Section, then scrolling down until you reach the Formulas sub-section.

Image
Image

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: