How is an Excel session defined?

Excel_VBA

New Member
Joined
Dec 19, 2009
Messages
42
Please give many examples. If you have 3 workbooks open, how many sessions do you have? One or three?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
If you open them in the same instance of Excel (File > Open), you have one session.

If you start Excel again for each one (Start > Excel), you have three.

When you double-click a workbook, it will open in an existing Excel session unless you have Excel configured to Ignore other applications
 
Upvote 0
If you open them in the same instance of Excel (File > Open), you have one session.

If you start Excel again for each one (Start > Excel), you have three.

When you double-click a workbook, it will open in an existing Excel session unless you have Excel configured to Ignore other applications

That is pretty much what I thought. So then:

A. Double-clicking a workbook opens a workbook in an existing session.
B. Enabling Ignore other applications then double-clicking a workbook
opens a workbook in another session.

Which of the two (A or B), would consume more memory? If B consumes more memory, which is what I suspect, why would somebody want to do this and enable Ignore other applications?
 
Upvote 0
Where are you enabling 'ignore other applications'?
 
Upvote 0
Which of the two (A or B), would consume more memory?
You can answer that question for yourself. Try it both ways, and look in Task Manager.
 
Upvote 0
If you have no idea why someone would want to do this then you probably don't have any need for it yourself. I really don't have any idea myself, and generally don't like to use multiple sessions of Excel at once. However, I have come across one or two members that said they prefer to work with more than one session of Excel. I don't quite remember why - it may be that in once case there was something about having two monitors and each Excel instance could be on a different monitor that way. Sometimes it seems that someone is using a dedicated Excel app in some particular way and they want it to run by itself unaffected by any other Excel programs (one reason may be so that it won't be shut down if you quit the other Excel application(s) that are running). I suspect some folks run invisible Excel instances this way in the background.

More often, people have ignore other applications checked somehow by mistake and can't understand what's "wrong".

ξ
 
Upvote 0
something about having two monitors
That's the case I usually see, and then people spend weeks asking questions about how to cut and paste across instances and related issues.

The other reason is when people are running a hidden instance of Excel doing something they don't want interrupted. In that case, it seems the feature would be more useful if it applied only to the session in which it was applied (like AutomationSecurity), rather than the entire application.

It would be nice if Excel were changed to a Single Document Interface.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top