Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Check if a cell in a worksheet contains a link

Reply
 
Old 07-29-2009   #1 (permalink)
Tuhin


 
 

Check if a cell in a worksheet contains a link

Hello,

I am trying to write a macro in Excel using VBA. It will check if the
value in a cell has a hyperlink. If a hyperlink exist then copy the
value of that cell in the clip board, activate the hyperlink to go to
the linked worksheet, search for that value, if found get the cell
number, move back to the 1st worksheet and then update that link with
that cell number.

I tried "HasLinks" method but it doesn't work.

Any help will be appreciated.

Thanks

Tuhin

My System SpecsSystem Spec
Old 07-29-2009   #2 (permalink)
Tom Lavedas


 
 

Re: Check if a cell in a worksheet contains a link

On Jul 29, 1:40*am, Tuhin <minhazahme...@xxxxxx> wrote:
Quote:

> Hello,
>
> I am trying to write a macro in Excel using VBA. It will check if the
> value in a cell has a hyperlink. If a hyperlink exist then copy the
> value of that cell in the clip board, activate the hyperlink to go to
> the linked worksheet, search for that value, if found get the cell
> number, move back to the 1st worksheet and then update that link with
> that cell number.
>
> I tried "HasLinks" method but it doesn't work.
>
> Any help will be appreciated.
>
> Thanks
>
> Tuhin
Since this is a Excel VBA question, I'd respectfully suggest you'd get
more response in the microsoft.public.excel.programming. There are
some here who can answer, but there are a number of real Excel VBA
gurus over there.

Tom Lavedas
***********
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Finding the last row of and excel worksheet. VB Script
How to determin a worksheet exist in Excel? PowerShell
worksheet tabs Vista General
Excel Worksheet PowerShell
Interested in the latest build? Check this link out Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46