Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 6th, 2005, 12:13 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 180
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem 1
solution...
    ' Add a name to the cell
    cellname = "Error_" & Format(row, "00000") & Format(col, "00")
    wb.Names.Add name:=cellname, RefersToR1C1:="=" & ws.name & "!" & "R" & row & "C" & col
    Worksheets("Errors").Select
    Range("A" & err_row & ":C" & err_row).Select
    ' Create hyperlink to cell
    ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="",SubAddress:=cellname

solution 2 to follow...

TTFN

Matt







Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors AGS BOOK: Professional CSS: Cascading Style Sheets for Web Design 0 September 4th, 2005 01:09 PM
how to rectify this error abdul_owiusa ASP.NET 2.0 Basics 0 October 5th, 2004 06:31 AM
Can't get errors to display with <html:errors> michaeldill JSP Basics 0 August 2nd, 2004 01:47 PM
errors and fixing errors Droopy XML 0 August 26th, 2003 12:47 AM
Errors Errors DB Errors Ljhopkins VS.NET 2002/2003 0 July 15th, 2003 12:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.