What is an infinite loop in Excel VBA?

Asked by Last Modified  

Follow 3
Answer

Please enter your answer

Microsoft Excel Mentor - Basic and Advance including MACROS and VBA

An infinite loop in Excel VBA, keeps repeating the process endlessly, deue to the exit condition is never met. It makes excel unresponsive. You need to stop manually. Typical Example: Sub InfiniteLoopExample() Dim x As Integer x = 0 Do Until x = 2 x = 0 ' Resetting x every time Loop End Sub Regards, Prabhakar...
read more
An infinite loop in Excel VBA, keeps repeating the process endlessly, deue to the exit condition is never met. It makes excel unresponsive. You need to stop manually. Typical Example: Sub InfiniteLoopExample() Dim x As Integer x = 0 Do Until x = 2 x = 0 ' Resetting x every time Loop End Sub Regards, Prabhakar Srinivasagam, A 25+ Year experienced Expert [MS Office] read less
Comments

C language Faculty (online Classes ) HAVING 10 YEARS EXPERIENCE

An infinite loop in Excel VBA is a sequence of instructions that repeats indefinitely because its exit condition is never met. When a macro enters an infinite loop, Excel typically freezes, becomes unresponsive, and consumes high CPU processing power until the execution is manually forced to stop.
Comments

Related Questions

Which course can be related to MIS executives, Since I have past experience in data base related job I want to try for MIS profile. So kindly suggest me which course suits me for the same profile.
Hi, You can check our course - Analyse and Visualize with Excel. Excel is the most popular tools used by analyst and MIS manager for getting insights from data. Create powerful Dashboards to enable data driven decision making.
Profile Photo
Martin
What is use of VBA? Can you explain it?
Hi Venkat, As per my opinion and experience, we are using VBA for reducing the repetitive task in excel. For example: Suppose every day you are preparing an attendance tracker in which you will mark present/absent...
Profile Photo
Venkat
0 0
View Comments5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Cell Properties
G

Gagan G.

0 0
View Comments0

Basic excel required for MIS position
Dear Students, Today we will know about the mis and its importance in business world. In Business world, organisation's have many business problem related to process are exists. For taking any decision,...
Profile Photo

Concatenate Function
Concatenate , one of the text functions, to join two or more text strings into one string. The Excel Concatenate function joins together a series of supplied text strings or other values, into one combined...
Profile Photo

Multiple rows selections
G

Gagan G.

0 0
View Comments0

VBA Tip: Print Random Numbers In A Selected Range
Let’s say you want to print some random numbers in a selected range then you can use below Macro. Sub Print_Randomnumbers() Dim myrng As Range For Each myrng In Selection myrng.Value = Application.WorksheetFunction.Int(Rnd...
Profile Photo

Recommended Articles

Microsoft Office is a very popular tool amongst students and C-Suite. Today, approximately 1.2 billion people across 140 countries use the office programme. It is used at home, schools and offices on a daily basis for organizing, handling and presenting data and information. Microsoft Office Suite offers programs that can...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for Microsoft Excel Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you