Avatar of Fi69
Fi69
 asked on

Does directory exist in French/German Windows installation? If not what is the equivalent?

Hi experts

I have a template currently based on an English installation of Windows 7 that is going to be used in France and Germany.  Part of my code saves files to the following directory (creating if it doesn't exist)

strFilePath = "c:\users\" & Environ("Username") & "\Documents\ANZ Posters"

Does "c:\users\" & Environ("Username") & "\Documents" exist in France and German installations of Windows 7?
If not, does anyone know what the equivalent is?
Visual Basic ClassicMicrosoft WordMicrosoft ExcelVBA

Avatar of undefined
Last Comment
Qlemo

8/22/2022 - Mon
Rgonzo1971

Hi,

on my German speaking version even if the name displays differently

C:\Benutzer\Username\Eigene Dokumente

 it uses
C:\Users\UserName\Documents

to save it

Regards
Fi69

ASKER
Uh oh, I didn't hear back from anyone straight away so I've sent it off after googling the web.
will c:\users\username\Dokumente work? That's what I put in.
ASKER CERTIFIED SOLUTION
Rgonzo1971

THIS SOLUTION 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
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Fi69

ASKER
Ok, thanks!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SOLUTION
Qlemo

THIS SOLUTION 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
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.