Consulting

Results 1 to 8 of 8

Thread: Solved: Copy and Paste with Macros

  1. #1

    Exclamation Solved: Copy and Paste with Macros

    Hi there. I use an expression of the form .Cells(i,2)=.Cells(i,3) to copy paste some data in Excel. However if data are HYPERLINKS then the copied data do not preserve the hyperlink but they are plain text. How can i copy data and preserve the hyperlinks? Thanks

  2. #2
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Why don't you actually copy?
    .Cells(i,2).Copy .Cells(i,3)

  3. #3
    Because i have 4500 lines of data!!

  4. #4
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Sorry I don't understand your reply.

    Can we see the rest of the code?

  5. #5
    Thanks. Quite simple. Silly of me!!

  6. #6
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Could we actually see the code?

    What you've posted implies that you're using a loop which might not be needed.

  7. #7
    No thanks, its ok. I replied before without seeing the answer of Norie, so my problem is solved. How do i mark this topic as solved by the way?

  8. #8
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Thread marked solved
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

Posting Permissions

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