Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am importing text files into excel automatically, but
after the first time I do it, I don't want the data to update again. The excel file is opened automatically using a macro, so I tried to use a macro to turn it off, but could not find anything that effected it. Does anyone have any idea's on how I can do this? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You should be able to get all the code for this by doing the operation
manually with the macro recorder turned on. HTH, Shockley "BryanL" wrote in message ... I am importing text files into excel automatically, but after the first time I do it, I don't want the data to update again. The excel file is opened automatically using a macro, so I tried to use a macro to turn it off, but could not find anything that effected it. Does anyone have any idea's on how I can do this? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() When using the macro recorder, it shows opening the file, but does not show disabling the external data importer. Does anyone know if this is even possible? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry, I didn't understand your question. Would it work to protect the
workbook after the first refresh? Regards, Shockley "Bryan L" wrote in message ... When using the macro recorder, it shows opening the file, but does not show disabling the external data importer. Does anyone know if this is even possible? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Protecting the workbook stops the data from being imported, which is
what I was looking for; however, it also stops the macro from completeing, because it asked for user intervention to keep going. Is there a way to suppress this error message, or another way to stop the data from being imported? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatic refresh of external data | Excel Worksheet Functions | |||
External data refresh | Excel Discussion (Misc queries) | |||
external data refresh | Excel Discussion (Misc queries) | |||
Automatic refresh of external data | Links and Linking in Excel | |||
Best way to refresh data from an external file | Excel Programming |