Avatar of bill201
bill201

asked on 

rename a file name with vba access 2016

hi

how can i rename a file name with vba access 2016 ?

thanks
Microsoft AccessMicrosoft OfficeVisual Basic ClassicVBA

Avatar of undefined
Last Comment
bill201
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of crystal (strive4peace) - Microsoft MVP, Access
crystal (strive4peace) - Microsoft MVP, Access

in VBA, use the NAME commend
Avatar of bill201
bill201

ASKER

i tried but i get this error message

run time error 75
path/file access error
Avatar of Rgonzo1971
Rgonzo1971

What is your code?

Does the Destination Folder already exist if not
use mkDir
Avatar of bill201
bill201

ASKER

Now it's work thanks alot
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo