+ Reply to Thread
Results 1 to 1 of 1

EXCEL VBA macro to take a snap of required area

Hybrid View

  1. #1
    Registered User
    Join Date
    05-06-2017
    Location
    Hyd
    MS-Off Ver
    7
    Posts
    1

    Exclamation EXCEL VBA macro to take a snap of required area

    Hello Guys,

    I'm new to VBA and I'm trying to hit a certain link which has six drop downs and I've have select a text value for two drop downs and symbol (=,!=) for other two and text for last two drop downs and click on a button (search) and once refreshed take a snap shot of desired area and send it via outlook using VBA macro.

    Can anyone help me.

    As for now I'm just able to hit the link:
    Sub Test_OpenFireFoxNewTab()
      OpenInFireFoxNewTab "https:// somelink"
    End Sub
    
    Sub OpenInFireFoxNewTab(url As String)
      Dim pathFireFox As String
      pathFireFox = "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
      If Dir(pathFireFox) = "" Then pathFireFox = "C:\Program Files\Mozilla Firefox\firefox.exe"
      If Dir(pathFireFox) = "" Then
        MsgBox "FireFox Path Not Found", vbCritical, "Macro Ending"
        Exit Sub
      End If
      Shell """" & pathFireFox & """" & " -new-tab " & url, vbHide
    End Sub
    Thank you in Advance
    Last edited by Leith Ross; 05-06-2017 at 11:31 AM. Reason: Added Code Tags

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Snap to grid in Excel
    By Maria Moreno in forum Excel General
    Replies: 0
    Last Post: 10-16-2015, 08:47 AM
  2. [SOLVED] Possible to Open Two Seperate Instances of Excel to Allow Page Snap??
    By TestMailinator in forum Excel General
    Replies: 3
    Last Post: 02-02-2015, 12:29 PM
  3. Replies: 0
    Last Post: 03-24-2014, 05:32 AM
  4. Macro - Set Print Area for Changing Data Area
    By ksp in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-27-2013, 04:19 AM
  5. Replies: 3
    Last Post: 08-13-2013, 11:22 AM
  6. Graphic - Shut Off "Snap to Connector" (Excel 2007)
    By Joakim N in forum Excel General
    Replies: 1
    Last Post: 06-22-2012, 04:15 AM
  7. Advice required: extending data area
    By keith666 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2011, 11:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1