+ Reply to Thread
Results 1 to 4 of 4

VBA Errors

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    anamosa, iowa
    MS-Off Ver
    Excel 2007
    Posts
    34

    VBA Errors

    I've been using the same workbook for a couple of years now. it contains a lot of Userforms and coding. recently, I have been running into a lot of errors that I never had before. mostly with column resizing, changing fonts, and worksheet zooming all done by code. it doesn't seem to be specific to this single workbook, so I don't believe the workbook is corrupt. if i kill the excel process and restart the workbook, it works fine for awhile. I've tried repairing the office installation, but still having issues. any thoughts?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,750

    Re: VBA Errors

    The focus of your post is that you are getting errors, but you have not described what those errors are. Do you mean that it's resizing, changing fonts, and zooming but it's not supposed to? Or are those the normal things that your code is doing? Can you elaborate on what it's supposed to do, and what it's actually doing instead?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    anamosa, iowa
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: VBA Errors

    sorry. I want the workbook to autosize, zoom and change fonts through code. but I occasionally get errors when the code runs. example: Autosizing column: I get this error: Run-Time Error '-2147417848 (80010108)': Method 'AutoFit' of object 'Range' Failed. this use to never happen. but now I have to reopen the workbook 2-3 times a day for it to run properly.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,750

    Re: VBA Errors

    The "occasionally" part makes it hard. Can you attach your file to see if we can reproduce the errors?

+ 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. #value errors
    By bellicusa in forum Excel General
    Replies: 2
    Last Post: 01-18-2012, 05:34 PM
  2. Name Errors only on Some
    By BugHater in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2011, 07:33 PM
  3. #VALUE! and #N/A errors
    By Duckie in forum Excel General
    Replies: 12
    Last Post: 12-06-2009, 05:27 AM
  4. [SOLVED] Excel Throwing Circular Errors When No Errors Exist
    By MDW in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2006, 09:20 AM

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