Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Office Login
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-06-2012 01:00 PM
I am new to this. I am trying to set up a connection from Excel to SFDC. When I copy the sample code into an Excel VBA routine, The "Login" line returns a False all the time. Shouldn't it return a "True" if it logs in? Module 1 Option Explicit Public g_sfApi Dim WithEvents g_sfApi As SForceOfficeToolkitLib4.SForceSession4 Public Function SampleLogin(UserName, Password) As Boolean Set g_sfApi = New SForceOfficeToolkitLib4.SForceSession4 SampleLogin = g_sfApi.Login(UserName, Password) ' SampleLogin always returns a False Value End Function I am able to see the SF functions in Object Browser. Using Excel 2010 x64, IE v 8 Thanks GeorgeDeb4

