LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Macro to paste hyperlinks

Hey ya'll,

Real quick one, hopefully. :) In the below code, if I wanted to paste the
values (shown), and then the formats and hyperlinks, what would I need to
add? Would I add '.Cells.PasteSpecial xlFormats' and
'.Cells.PasteSpecial xlHyperlinks'?

If sh.Visible = -1 Then
sh.Select
With sh.UsedRange
.Cells.Copy
.Cells.PasteSpecial xlPasteValues
.Cells.Select
End With
Application.CutCopyMode = False
End If
Range("A1").Activate
--
Nothing in life is ever easy - just get used to that fact.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and paste the hyperlinks Alireza Nejad[_2_] Excel Discussion (Misc queries) 1 February 23rd 09 08:32 PM
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Copy text hyperlinks and paste them as source addresses? Minuette Excel Discussion (Misc queries) 1 October 30th 06 03:06 PM
Copy/Paste hyperlinks between workbooks sooner1ksn Excel Discussion (Misc queries) 0 April 5th 06 03:23 PM
Copy & paste from Word to Excel with hyperlinks Phil RL Excel Discussion (Misc queries) 0 February 9th 05 03:25 PM


All times are GMT +1. The time now is 11:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"