+ Reply to Thread
Results 1 to 5 of 5

After macro, crash if save

  1. #1
    Registered User
    Join Date
    09-23-2007
    Posts
    11

    After macro, crash if save

    Hi everybody, i hope you can help me out this time too...
    I don't know why but excel (v2007) crashes sometimes while saving after i used a macro's form. The issue looks like completely random... Sometimes it crashes, sometimes it doesn't...

    The code it's too long... i've attached it to this post
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    That one line,"Active Sheet...." could be wrong

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Quote Originally Posted by davesexcel View Post
    That one line,"Active Sheet...." could be wrong
    Just kidding,

    Is it Possible to attach a sample workbook explaining what you want to do, it is possible the code could be shortened quit a bit without using so many selects, and maybe some loops can be performed.

    If you could save the workbook as a .xls instead of .xlsx would be great as well because a lot of members are still using xl2003

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    That one line,"Active Sheet...." could be wrong
    Didn't get that 'til I opened the txt.

    Lol

  5. #5
    Registered User
    Join Date
    09-23-2007
    Posts
    11
    Is it possible that excel runs out of memory?
    I use Form.Show to launch the script window and then the unload me to close it. Should i put something else?

    PS: i can't attach the file because it's too heavy, and to create a sample file won't help without copy all the fields in the worksheets...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to save file in a specified directory and name
    By 4romseyavenue in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-27-2011, 12:09 PM
  2. Excel crash while enabling macro
    By SoftwareTester in forum Excel General
    Replies: 4
    Last Post: 08-03-2008, 10:05 AM
  3. Macro will not save!!!!
    By insanenupe in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-21-2008, 04:28 PM
  4. Excel Macro - Read excel & read excel range - save as text
    By se.sathish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2008, 09:00 AM
  5. Save As Name Macro
    By statey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-12-2007, 12:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1