Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Hyperlink All Column Values

Hello,

I would like to convert all values in column B to the 2nd W.Sheet (Receipt
Notice)

I'm using the following which worked initially but now gives me the below
error since adding additional string to the macro to perform other functions.

" Error... 438 , Object doesn't support this property or method"

Dim cell As Range
Dim Rng As Range
Set Rng = Range("B2:B" & Cells.Rows.Count). _
SpecialCells(xlConstants, xlTextValues)

For Each cell In Rng
If Trim(cell.Value) < "" Then
ActiveSheet.Hyperlinks.Add Anchor:=cell, _
Address:=Sheets("Receipt Notice").cell("A9"), _
ScreenTip:=cell.Value, _
TextToDisplay:=cell.Value
End If
Next cell

I don't believe I've accidently altered any of the code but it has just
stopped working. Propably goes without saying I'm new to VBA but learned to
patch things together 'OK but this has me stumped. Any help appreciated.

Thx, Steven
Reply
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
Hyperlink values S. Malik Excel Discussion (Misc queries) 7 February 13th 09 05:01 PM
Autosum column values, if separate column values equal certain val Hulqscout Excel Worksheet Functions 1 November 5th 08 06:37 PM
Adding multiple values in one column based on multiple values of the same value (text) in another column [email protected] Excel Discussion (Misc queries) 1 May 16th 07 06:02 PM
Getting values from hyperlink Antonio Duarte Excel Discussion (Misc queries) 14 June 14th 05 09:20 PM
Calculating values to column D with formula based on values column A spolk[_2_] Excel Programming 1 April 30th 04 06:29 PM


All times are GMT +1. The time now is 09:38 PM.

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

About Us

"It's about Microsoft Excel"