PC Review


Reply
Thread Tools Rate Thread

Clicking on link from VB?

 
 
Sonnich Jensen
Guest
Posts: n/a
 
      1st Oct 2007
Hi all!

I have a cell, with a link in it, and I need to click on that link. Is
that possible?

Maybe, I have to read out the text, and change it a bit, then "open"
it. How do I open such a thing? Windows.open()?

Is there a sleep function in VB?

BR
Sonnich

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      1st Oct 2007
Look at the linksources property of the workbook

--
Regards,
Tom Ogilvy


"Sonnich Jensen" wrote:

> Hi all!
>
> I have a cell, with a link in it, and I need to click on that link. Is
> that possible?
>
> Maybe, I have to read out the text, and change it a bit, then "open"
> it. How do I open such a thing? Windows.open()?
>
> Is there a sleep function in VB?
>
> BR
> Sonnich
>
>

 
Reply With Quote
 
Sonnich Jensen
Guest
Posts: n/a
 
      1st Oct 2007
On Oct 1, 6:19 pm, Sonnich Jensen <sonnich.jen...@jotautomation.com>
wrote:
> Hi all!
>
> I have a cell, with a link in it, and I need to click on that link. Is
> that possible?
>
> Maybe, I have to read out the text, and change it a bit, then "open"
> it. How do I open such a thing? Windows.open()?
>
> Is there a sleep function in VB?


I found it. Both in the Shell API searching this group :-)

Say: ShellExecute Scr_hDC, "open", sTemp, "", "c:\", SW_NORMAL

Though, one thing I cannot find: I open this, but is there a way to
get the window, then close it again?

Say:

ShellExecute Scr_hDC, "open", sTemp, "", "c:\", SW_NORMAL
Sleep(5000)
' close the window here - ?

WBR
Sonnich

 
Reply With Quote
 
jodleren
Guest
Posts: n/a
 
      1st Oct 2007
On Oct 1, 6:29 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
wrote:
> Look at the linksources property of the workbook


I need to open another programme, say I open something.txt, then it
opens in notepad, then I'd like to close it again....

Any ideas?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Https link: Clicking at any such secure URL link is not working !! Philippe [Switzerland] Windows XP Internet Explorer 5 31st Mar 2011 04:00 PM
Locate Link Browser screen pops after clicking a HTML link in an e TheToolMan Microsoft Outlook Discussion 10 26th Feb 2008 09:36 AM
When clicking a link on a site that uses the _blank code or when shift clicking I get an IE window that is really small... Community Newsgroups Windows XP Internet Explorer 2 10th Jan 2004 01:06 AM
Cannot link an email link and IE6 by clicking it. Murray Windows XP General 3 3rd Jan 2004 04:01 AM
Re: Clicking on a link in Outlook does not bring link into IE Frank Saunders, MS-MVP Windows XP Internet Explorer 1 19th Aug 2003 02:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:40 AM.