check Excel version to run code

hmk

Active Member
Joined
Jun 8, 2004
Messages
423
Hi there

IF I install two versions of Excel App one is 9 and the other is 11
Dos this code work......


Code:
IF val(Application.Version) =11 Then
My Code
Else
Exit Sub

Do u think i need to use search method to search for version 11 first and open it then run the code..........if yes, would u pls what is the code to search for the excel version?

------------------------------------
Another problem : when i post a thread and got an answer, i do not receive an email notification that there is a reply on my thread
how can i solve it ?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
THank u Oaktree

what is the problem in the second quiry ? (Thank u)
 
Upvote 0
There is a checkbox for "notify me when a reply is posted" when you submit a post.
 
Upvote 0
Oaktree, thank u..............but i did checked it with no result

in fact when posting this thread 2 u , it was checked

any idea why ut does not work? :confused:
 
Upvote 0

Forum statistics

Threads
1,203,619
Messages
6,056,325
Members
444,860
Latest member
Daz511

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