Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Junior Member
 
Posts: 13
Default Hyperlinks within a Userform

Hello I have a userform that will be a batch printing script when
completed hopefully.

My problem is I need to be able to work with the hyperlinks in a
column on my spreadsheet (column B) I've been told to use the
Followhyperlink on another forum but honestly I'm a little lost on how
to implement this.

I "THINK" I need to be able to extract the hyperlinks from the column
when making the listbox grab the data and put it into a 3rd column
within the listbox. Is this right and how would i do this? sorry i'm
a little lost. below is the module code I currently have.


Sub PrintFileList()
Dim URL As String
Dim hlnk As Hyperlink
Dim RwSrc As String


RwSrc = Sheet1.Name & "!" & Sheet1.Range _
("B2", Sheet1.Range("C65536").End(xlUp)).Address


With UserForm1.ListBoxFiles
..RowSource = vbNullString
..ColumnCount = -1
..MultiSelect = fmMultiSelectExtended
..RowSource = RwSrc


End With
Next
End Sub


Many thanks for help in this

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
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
Help Needed Creating Hyperlinks from a userform Mark Campbell Excel Programming 2 July 20th 06 06:12 PM
Hyperlinks on UserForm anar_baku[_15_] Excel Programming 1 May 9th 06 06:18 PM
Hyperlinks from UserForm Controls Nigel[_5_] Excel Programming 3 November 1st 03 01:21 PM


All times are GMT +1. The time now is 12:47 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"