Results 1 to 4 of 4

Thread: Excel 2007 Macro Help (Buttons)

Threaded View

  1. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,422

    Re: Excel 2007 Macro Help (Buttons)

    you could add a button, which would open the parts site with the search criteria being the activecell value:

    vb Code:
    1. Private Sub CommandButton1_Click()
    2.     Dim partsSiteURL As String
    3.     partsSiteURL = "http://h20141.www2.hp.com/hpparts/SearchCriteria="
    4.     ActiveWorkbook.FollowHyperlink Address:=partsSiteURL & ActiveCell.Value
    5. End Sub

    then you'd just need a column with the barcode part numbers.
    Last edited by .paul.; Jan 28th, 2009 at 01:33 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width