+ Reply to Thread
Results 1 to 3 of 3

Convert 2003 macro to 2010

  1. #1
    Registered User
    Join Date
    07-13-2012
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Convert 2003 macro to 2010

    Hi ,

    I have a macro that was created in excel 2003 to auto update hyperlinks and move them to a second location on the workbook renamed. This action repeats for as many rows that have data. It works fine in 2003, but neither returns the correct hyperlinks, nor populates as many links as there is data. I have tried saving the doc with macro enable, chnaging the trust settings, copying the code into a brand new workbook, but nothing works. I'm supposing that the syntax between 2003 and 2010 differs, but am not familiar enough with VBA. The initial error messages I'm getting are related to the line: Range("Q" & rowNUMBER).Select

    Here's the whole code, any help is appreciated!!

    Please Login or Register  to view this content.
    Last edited by Cutter; 07-16-2012 at 01:02 PM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Convert 2003 macro to 2010

    Hello pxg133, and welcome to the forum. I have added code tags to your post. The forum rules require them so please keep that in mind when showing code in any future posts.

    Thanks, and here's the rule:

    RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

  3. #3
    Registered User
    Join Date
    07-13-2012
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Convert 2003 macro to 2010

    Hi Cutter, Thanks for adding code tags for me, I've not used them before and would be quite lost to start.

+ 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