Vba Version Tracker

dannyok90

Board Regular
Joined
Aug 30, 2016
Messages
115
Hi All,

I'm in need of some Vba help (As usual) :)

Id like to implement a version tracker into my spreadsheet.


Basically,


I have a workbook with multiple sheets,


when I update any cell on the "communication plan" sheet
id like a box to pop up that says something like "Changes will create a new version"
update the version number in cell P2
save the spreadsheet to a file path on sheet 1 cell a1
with the name in cell c1 on "communication plan" sheet.


The code needs to understand that any changes after that are part of the new version.. essentially the code would reset once the workbook is closed and opened again.

Any help would be greatly appreciated :D
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hello,

You could test following:

Code:
Sub TestVBAVer()
  MsgBox Application.VBE.Version
End Sub

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,284
Members
448,885
Latest member
LokiSonic

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