Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default open & repair through vba

Is there any way that I can utilize Open and Repair facility through
VBA code? I need to run that by skipping all the messages and straight
away extracting the data & converting the values.

Regards,
Bayo

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default open & repair through vba

Bayo

I've had the same problem today, searched for a solution, didn't find one,
but saw yours!

Luckily I've worked out the answer.

You need to enable the CorruptLoad, that is

Workbooks.Open(Fname, , , , , , , , , , , , , , True)

(Where Fname is the filename you wish to open. This will then open the file
without the macro falling over, you can then extract the data and to what you
want.

Hope this helps, and it isn't too late
" wrote:

Is there any way that I can utilize Open and Repair facility through
VBA code? I need to run that by skipping all the messages and straight
away extracting the data & converting the values.

Regards,
Bayo


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown repair Barry McConnell Excel Discussion (Misc queries) 1 April 6th 10 04:00 PM
Open & repair didn't fix my excel file?! Nassar Excel Discussion (Misc queries) 1 December 3rd 09 08:58 AM
Excel does not open a file until it is minimized - how to repair? Duri Excel Discussion (Misc queries) 1 January 1st 08 11:16 PM
Looking For a repair tool Jim Wilsom Excel Discussion (Misc queries) 3 August 7th 07 07:41 PM
corrupt document and open and repair command chipsoly83 Excel Discussion (Misc queries) 2 August 21st 06 12:16 PM


All times are GMT +1. The time now is 07:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"