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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hello,

You could test following:

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

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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