M sorry... The problem occurs in Line 4 not 3 (i.e. while opening the
file,.).. it was a typo....
Well... It was understandable but still no confusions...

WAITING FOR REPLY


Thanks and Regards,
Vivek Agrawal
Skype ID - vivek.agrawal83

GoogleMoonlight.com  - Saving energy-Save Earth




On Sat, Aug 1, 2009 at 4:57 PM, vivek agrawal <vivek.agrawa...@gmail.com>wrote:

> Hello Friends
>
> PLEASE HELP
>
> I am stuck in a serious problem and have not been able to find any
> workaround......
>
> i have a 6 line VBA code....
> ==================
>
> FullFileName = "complete path of an excel file"
>
> Application.statusbar = "Opening the file:- " & FullFileName
>
> Application.DisplayAlerts = False
>
> Workbooks.Open(FullFileName).Activate
>
> Application.DisplayAlerts = True
>
> Application.StatusBar = "File Opened"
>
> =============================
>
>
> Line 1 runs .........
> Line 2 runs ........ the statusbar is updated successfully
> Line 3 runs ......... Problem occurs here..... the file size is 54
> MB....... It does take quite a long time opening the file... the workbook
> gets opened.. but then EVERYTHING COMES TO A STANDSTILL.... none of the
> lines (4 to 6) are executed......
>
>
>
> The most interesting part is that if i run the same code in Break Mode.....
> (Step Into)..... then when the Line 3 is executed... it takes some time and
> then the next code automatically gets ready to get executed.....
>
> HOPE I HAVE EXPLAINED MY PROBLEM WELL..... Please help..... Would be very
> grateful to you...
>
>
>
> Thanks and Regards,
> Vivek Agrawal
> Skype ID - vivek.agrawal83
>
> GoogleMoonlight.com  - Saving energy-Save Earth
>
>
>

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 5,200 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to