Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

VBA - Fichier VB???.tmp inexistant

1 réponse
Avatar
Patrick
Bonjour,

Parfois certains utilisateurs ont une erreur quand ils exécutent une macro :
"Fichier VB???.tmp inexistant" (les ??? remplacent un numéro qui n'est jamais
le même). Savez-vous à quoi cela est dû ? Cela arrive quand des feuilles sont
copiées d'un classeur à un autre.

Merci pour votre aide.

--
Patrick

1 réponse

Avatar
michdenis
Ceci peut t'aider à comprendre ce qui se passe :

A description of the way that Excel saves files

http://support.microsoft.com/?id4068" l "appliesto#appliesto
SUMMARY
This article describes how Microsoft Excel saves files.
MORE INFORMATION
When you save an existing file in Excel, Excel creates a temporary file in the destination
folder that you specify in the Save As dialog box. The temporary file contains the whole
contents of your workbook. If Excel successfully saves the temporary file, the temporary
file is renamed with the file name you specify in the Save As dialog box.

This process of saving files makes sure that the original file is not damaged. The
original file is useful if the save operation is not successful.

When Excel saves a file, Excel follow these steps:
1. Excel creates a randomly named temporary file (for example, Cedd4100 with no file
nameextension) in the destination folder that you specified in the Save As dialog box. The
wholeworkbook is written to the temporary file.
2. If changes are being saved to an existing file, Excel deletes the original file.
3. Excel renames the temporary file. Excel gives the temporary file the file name that you
specified (such as Book1.xls) in the Save As dialog box.
Important Points About Saving
After Excel creates and saves the temporary file, all the changes are written to the
temporary file.
If Excel cannot delete the existing file, you receive an error message. The original
file and the temporary file both remain in the destination folder.
If Excel can delete the existing file, but Excel cannot rename the temporary file, you
receive an error message. Only the temporary file remains in the destination folder.
If Excel saves a new file for the first time, Excel does not create a temporary file.
Excel saves the file with the file name that you specified in the Save As dialog box.





"Patrick" a écrit dans le message de groupe de
discussion :
Bonjour,

Parfois certains utilisateurs ont une erreur quand ils exécutent une macro :
"Fichier VB???.tmp inexistant" (les ??? remplacent un numéro qui n'est jamais
le même). Savez-vous à quoi cela est dû ? Cela arrive quand des feuilles sont
copiées d'un classeur à un autre.

Merci pour votre aide.

--
Patrick