Results 1 to 4 of 4

MergeClass error when running macro

Threaded View

  1. #1
    Registered User
    Join Date
    07-02-2011
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    28

    Question MergeClass error when running macro

    Hi, I'm at a fairly beginner level with VBA, I have been modifying a script, and as far as I know I have done nothing to the areas that affect any of the .MergeCells = True conditions. But they are all failing with the error 'Run-time error '1004' Unable to set the MergeCells property of the Range class. I have attached the script, could someone please take a look and see if they can spot how this is occurring. If you need the excel document that this relates to let me know and I'll attach it, just thought someone may spot the error in the code initially. Cheers
    Attached Files Attached Files
    Last edited by connieb; 01-14-2013 at 06:14 PM.

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