+ Reply to Thread
Results 1 to 6 of 6

Macro stop working and create errors

  1. #1
    Registered User
    Join Date
    02-01-2008
    Posts
    3

    Unhappy Macro stop working and create errors

    Hi all,

    I created a spreadsheet with a total of 6 macros. Essentially the marcos are the same, except for minor changes to a few cell references to create different results.

    Two of the six macros for whatever reason stop working and create errors whenever I email the working workbook to someone or reboot the computer.

    If there would be anyone kind enough to let me email them the workbook for some insight on these very frustrating macros I would be incredibly, truly grateful!

    The names of the two trouble macros are GenerateAdvantageZipList and GenerateAdvantageCountyList.

    Thanks everyone, I really appreciate the help!!!

    - Mike D.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Hi Mike,

    You can post the file too, as an attachement of a message here.

    Erik
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    02-01-2008
    Posts
    3

    Upload failed...

    I think the file might be too big...

    Any takers?

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    You can either zip it or use a upload site

    http://www.savefile.com/

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    02-01-2008
    Posts
    3

    Exclamation Got it!

    Here's the link! Please help!

    http://www.savefile.com/files/1354508

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202
    Your problem would seem to be in your mixing of the reference styles for the Ranges. I get errors with xlUp in your code but when I change the reference style the problem goes. Also you can place all the code in one Module.

    See the changes I have made in the first procedure


    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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