Home > MS Access > Change MS Access application title and icon using VBA

Change MS Access application title and icon using VBA

December 15th, 2009 Leave a comment Go to comments

Here is a code to change MS Access application title and icon using VBA. This code also sets the application icon as form and report default icon.

Dim db As Database
Set db = CurrentDb
db.Properties("AppIcon").Value = CurrentProject.Path & "\Bee.ico"
db.Properties("AppTitle").Value = msgMainTitle
db.Properties("UseAppIconForFrmRpt").Value = True
Application.RefreshTitleBar

Click here for list of all properties exposed by CurrentDB.Properties().

Categories: MS Access Tags: , ,
  1. April 1st, 2013 at 09:10 | #1

    Usefull. Thanx

  2. April 22nd, 2013 at 05:08 | #2

    Nice & simple :)

  3. donno
    May 10th, 2013 at 06:17 | #3

    This code was very useful. Thanks.

  4. Ramon
    October 22nd, 2014 at 06:18 | #4

    Where I have to write down that syntax
    Thanks

  1. No trackbacks yet.