ameedoo3000
IS-IT--Management
hi every body
how can i rename my current database after close it automaticly with vba code
how can i rename my current database after close it automaticly with vba code
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim AccessApp As Access.Application
Set AccessApp = New Access.Application
Dim AccessApp As [blue]New[/blue] Access.Application
@echo off
cd \data\access
REN Wordle.xxx Wordle.accdb
START /wait "C:\Program Files (x86)\Microsoft Office\root\Office16\MSACCESS.EXE" "c:\data\access\Wordle.accdb"
REN Wordle.accdb Wordle.xxx
If the file is critical, just password protect the database, so the file will be useless without knowing the password. You will also need a secure copy, to restore data if the file was destroyed/deleted.ameedoo3000 said:But there is a possibility that this file () will be stolen and run on another computer.