If you do not press Cancel in the dialog that appears when the macro is executed, the process will not proceed.

Asked 2 years ago, Updated 2 years ago, 52 views

This is a question about Excel VBA.
When you run the macro you created, the Downloading and Saving dialogs appear, and you must press the Cancel button to proceed.(See attached image)

I would like to know about the following two points.

  • Why does the Downloading, Saving dialog appear (not listed in the source)?
  • Why can't I proceed without pressing the cancel button

The following is the processing and execution environment for the created macros:

* Comparison source and comparison new files are located on the network drive.
It also specifies that the destination should be saved to a network drive.

Operating System: Windows 7 32-bit Memory: 4G Software: Excel 2013 32-bit

Regarding the cause of the dialog display,
Comparison source files, new comparison files are placed on the network drive, so
The Downloading dialog appears.
However, after several macro runs, the Downloading dialog may not appear.
The Saving dialog also appears because you have saved the comparison results file on your network drive.
After several macro runs, the Save dialog may not appear.

Downloading Dialog

Enter a description of the image here

Saving Dialog

Enter a description of the image here

I'm sorry for the long sentence.
That's all.
Thank you for your cooperation.

excel vba

2022-09-29 22:04

1 Answers

Is there any problem with the path name when saving?

·Path name is too long
·Forbidden characters are used
·There is a problem connecting to the server, etc.

Try
on your PC to eliminate server problems and path name length. Why don't you finish it?


2022-09-29 22:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.