Hi All,

Please help on this issue....

On Mon, Dec 7, 2009 at 9:36 AM, Mahesh <mahender.bi...@gmail.com> wrote:

> Hi Bruce,
>
> Thanks for the help.
>
> But i need something diff.
>
> Attached is the xls with the links.
>
> Now i want a Marco that copy the links from the cell and paste it on the
> address bar in Internet Explorer (not in Google), open that page and give
> the print out,
>
> close it and move to next line.
>
> Please help
>
>
>
> On Sat, Dec 5, 2009 at 8:46 AM, bruce <goo...@johnsonclan.net> wrote:
>
>>
>> This should be close!
>>
>> [code]
>> public web_Handle as object
>>
>> sub callwebsample
>>   opentheweb(google.com")    'open the web
>>
>> for i = 1 to 200
>>
>> newPage =    ' assign the web page here
>> web_Handle.Navigate newPage
>>
>> 'wait for the web
>>    While o_WaitforWeb.Busy
>>        DoEvents
>>    Wend
>>    While o_WaitforWeb.ReadyState <> 4
>>        DoEvents
>>    Wend
>>
>> 'click print
>> PressWebButt (web_Handle ,"Print")  'Need to make sure this is the
>> EXACT spelling, caps etc as the button is
>>
>>
>> next
>>
>> 'close the web
>>  With web_Handle
>>        .Quit
>>    End With
>>
>> end sub
>>
>>
>>
>>
>> Sub opentheweb(url As String)
>>
>>
>>    Dim TargetFrame As String
>>    Set web_Handle = CreateObject("Internetexplorer.Application")
>>    web_Handle.Visible = False    ' change to true if you want to see
>> the page
>>    web_Handle.Navigate url
>>    '
>>  End Sub
>>
>>
>>
>>
>> Function PressWebButt (Myei as object, Butt_to_find as string) as
>> boolean
>>    Set ElementCol = myie.Document.getElementsByTagName("INPUT")
>>
>>    For Each btnInput In ElementCol   'cycle through each button
>> element on the web page
>>        If btnInput.Value = Butt_to_find Then ' if the button name is
>> the one desired (Butt_to_Find) the .click it
>>            btnInput.Click
>>            Exit For
>>        End If
>>    Next btnInput
>> End Function
>>
>>
>>
>> [/close]
>> On Dec 3, 10:18 pm, Mahesh <mahender.bi...@gmail.com> wrote:
>> > Dear All.
>> >
>> > I have any excel file which contain around 200 links(website address).
>> >
>> > Now i want a Marco that copy the link from the cell and paste it on the
>> > address bar in Internet Explorer, open that page and give the print out,
>> > close it and move to next line.
>> >
>> > Please suggest it if possible or not.
>> >
>> > If yes, Kindly attached the sample sheet.
>> >
>> > --
>> > With Love,
>> > Mahesh Bisht
>>
>> --
>>
>> ----------------------------------------------------------------------------------
>> Some important links for excel users:
>> 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
>> http://www.excelitems.com
>> 2. Excel tutorials at http://www.excel-macros.blogspot.com
>> 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
>> 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>>
>>
>> To post to this group, send email to excel-macros@googlegroups.com
>> If you find any spam message in the group, please send an email to:
>> Ayush Jain  @ jainayus...@gmail.com or
>> Ashish Jain @ 26may.1...@gmail.com
>> <><><><><><><><><><><><><><><><><><><><><><>
>> HELP US GROW !!
>>
>> We reach over 6,500 subscribers worldwide and receive many nice notes
>> about the learning and support from the group. Our goal is to have 10,000
>> subscribers by the end of 2009. Let friends and co-workers know they can
>> subscribe to group at
>> http://groups.google.com/group/excel-macros/subscribe
>
>
>
>
> --
> With Love,
> Mahesh Bisht
>



-- 
With Love,
Mahesh Bisht

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

Attachment: Book1.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Reply via email to