Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that downloads files off a FTP to a local directory and
then processes those files. These files are ".rpt" (basically text files). I am using the OpenText() function to process these files. After all my code runs through successfully and the macro is finished, I get dialog boxes telling me that: "File Now Available" 'report_name.rpt' is now available for editing. Choose Read-Write to open it for editing. The macro will eventually be ran as an automated script, so I cannot have these dialogs displaying at the end of my script. I would like to find a fix for this other than just suppressing all dialog boxes. Any suggestions greatly appreciated!! thnx |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Never seen this situation but for most dialog boxes you can use the code
Application.DisplayAlerts = False Whatever your code is Application.DisplayAlerts = True " wrote: I have a macro that downloads files off a FTP to a local directory and then processes those files. These files are ".rpt" (basically text files). I am using the OpenText() function to process these files. After all my code runs through successfully and the macro is finished, I get dialog boxes telling me that: "File Now Available" 'report_name.rpt' is now available for editing. Choose Read-Write to open it for editing. The macro will eventually be ran as an automated script, so I cannot have these dialogs displaying at the end of my script. I would like to find a fix for this other than just suppressing all dialog boxes. Any suggestions greatly appreciated!! thnx |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Feb 5, 11:19 am, akphidelt
wrote: Never seen this situation but for most dialog boxes you can use the code Application.DisplayAlerts = False Whatever your code is Application.DisplayAlerts = True The dialog boxes only appear AFTER all my code as ran through. I have tried putting Application.DisplayAlerts = False in my code, but the dialog boxes still appear after the macro is finished. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Feb 5, 10:07 am, wrote:
I have a macro that downloads files off a FTP to a local directory and then processes those files. These files are ".rpt" (basically text files). I am using the OpenText() function to process these files. After all my code runs through successfully and the macro is finished, I get dialog boxes telling me that: "File Now Available" 'report_name.rpt' is now available for editing. Choose Read-Write to open it for editing. The macro will eventually be ran as an automated script, so I cannot have these dialogs displaying at the end of my script. I would like to find a fix for this other than just suppressing all dialog boxes. Any suggestions greatly appreciated!! thnx Even if someone could tell me WHY this dialog is appearing after my macro has finished running, that would help out A LOT |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
XCEL FILE REC'D AS READ ONLY -- HOW TO NOT BE "READ ONLY" | Excel Discussion (Misc queries) | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming | |||
"file available for read/write" message | Excel Programming | |||
VBA code to display the "Find" (Ctrl+F) dialog box | Excel Programming | |||
How can i write a vba code to get string or integer "C15" from $c$15? | Excel Programming |