+ Reply to Thread
Results 1 to 4 of 4

Setting Connection & VPN

  1. #1
    Registered User
    Join Date
    11-15-2009
    Location
    Arlington, Texas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Setting Connection & VPN

    I am getting two errors when I attempt to run my macro:

    "Connection not properly defined"

    and

    "The connection cannot be used to perform this operation. It is either closed or invalid in this context."

    I need to set my connection to a specific server I access via a VPN. Can someone point me to where I need to Edit my code below?

    My Module:

    Please Login or Register  to view this content.
    My Class Module:

    Please Login or Register  to view this content.
    Last edited by Jeffs23; 05-17-2010 at 11:15 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: VBA help needed

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

  3. #3
    Registered User
    Join Date
    11-15-2009
    Location
    Arlington, Texas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: VBA help needed

    Can you please change title to "VBA Help Needed, Setting Connection & VPN"

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA help needed

    Edit the original post, GO ADVANCED and you can edit the title.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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