Smartview HypConnect VBA issue

Hi Forum,
I am have created a Smartview based Excel spreadsheet that I would like to connect and retrieve data using a macro enabled button. I am able to successfully create a connection to the database using HypCreateConnection, but I am unable to get HypConnect to associate the sheet and connect to the database without hardcoding the username and password in quotation marks within the code as below;
X = HypConnect(Empty, "Admin", "Password", "EssConnect")
If I just use quotation marks, as below (which I believe should open the connection manager and prompt the user to sign in to the application), I get the return message that there is no connection (Error -4) and no connection manager opens up. This would be the prefered method to utilise security.
X = HypConnect(Empty, "", "", "EssConnect")
If I use a variable, or leave the login credentials without the quotation marks, as below, I get the same return message (Error -4). Incidently, the documentation is in the format of without the quotation marks.
X = HypConnect(Empty, vtUserName, vtPassword, "EssConnect")
I am using 11.1.2 with Excel 2003. Is this a bug or have I missed something fundamental? I have attached my full code below for scrutiny;
Sub Test()
Dim vtUserName As String
Dim vtPassWord As String
Dim X As Long
vtUserName = Sheet1.Range("B1").Text
vtUserName = Sheet1.Range("B2").Text
X = HypCreateConnection(Empty, vtUserName, vtPassword, HYP_ESSBASE, "[URL as provided]", "[Server as provided]", "Applicaton", "Database", "EssConnect", "EssConnect")
X = HypConnect(Empty, vtUserName, vtPassword, "EssConnect")
X = HypRetrieve(Empty)
End Sub
Please note that I used Sheet1("B2") to type the username and Sheet1("B3") to type the password.
I would appreciate any help you may provide.

HypConnect will never show UI. It is up to you to build a UI if you want that kind of interactivity with the user. With that said here is what options I think you have.
1 - Build a UI and pass the user name and password properly to the HypConnect call. If you get an error then you need to tell the user to try again.
2 - Use the HypMenuVConnect() VBA this will show the Smart View panel where the user can proceed to connect. Once connected you can run the rest of your code. You can use HypConnected() to determine if they are connected.
3 - Ask the user to make the connection using the SV UI and then run you code.
Hope that helps.

Similar Messages

  • Smartview Hypretreive VBA error

    Hi All
    I'm uisng 11.1.2 SmartView VBAs to retrieve values for 7 excel sheets in a work book
    Sheet6.Activate
    sts = HypSetActiveConnection(connectionname)
    'Retrieve data for each sheet
    X = ActiveSheet.Name
    Application.DisplayStatusBar = True
    sts4 = HypRetrieve(Sheet6)
    sts = HypDisconnect(Sheet6, True)
    Application.StatusBar = "Retrieving data for " & X & "...."
    Application.Wait Now + TimeValue("00:00:02")
    Below given is the piece of code (in macro, i'm replicating the same code for all the 7 sheets)
    But everytime i run the macro....some of the sheets is not get refreshed correctly. (it is random.....sometimes first 3 gets refreshed.....sometimes 4,5,7th)....
    The status return is always 4.
    CAn someone throw some light on this......do i need to wait for more time before the next refresh.
    I tried using HypMenuVRefresh and then it aborts with following error message.
    “Cannot query members by specs. Essbase Error(1290002): Network Error [10061]: Unable To Connect To [server:32776]. The client timed out waiting to connect to the Essbase Server using TCP/IP. Make sure that the client machine has sufficient number of ports available.”
    I tried adding MaxUserPort and TcpTimedWaitDelay and MaxFreeTcbs, but that didn't help.

    Hi Celvin
    I agree with Matt on the possibility of a timeout issue, esp considering the randomness in how the problem manifests. However, I would look more the server setting on this first.
    Error code (positive) 4 usually seems to indicate a "Server Error" - the APS server threw the error, and not the SV Client.
    I've also seen Error 4 when the dataset requested will exceed some limit such as number of possible rows or columns.
    If I had to list the error codes in order of how much li like to debug them, not that I like to debug error codes, this one would be very near the bottom.
    Can you help me understand why you have an Application.Wait at the end of your code snip?
    Robb Salzmann

  • Logging into Smartview via VBA

    Hi there,
    Appreciate any help you can provide.  I have written/copied code to create a connection and then connect to one of our servers.  What I am trying to do is to get the code to log me into the server automatically with the username and password that I have embedded in the code.  I cannot get it to log me in, the login dialog for the server connection always pops up.  Below is the code I am using hope that someone can point out what I am doing wrong.  Thanks for the help!
    Private Declare Function HypConnect Lib "HsAddin.dll" (ByVal vtSheetName As Variant, ByVal vtusername As Variant, ByVal vtpassword As Variant, ByVal vtFriendlyName As Variant) As Long
    Private Declare Function HypCreateConnection Lib "HsAddin" (ByVal vtSheetName As Variant, ByVal vtusername As Variant, ByVal vtpassword As Variant, ByVal vtProvider As Variant, ByVal vtProviderURL As Variant, ByVal vtServerName As Variant, ByVal vtApplicationName As Variant, ByVal vtDatabase As Variant, ByVal vtFriendlyName As Variant, ByVal vtDescription As Variant) As Long
    Sub Conn()
    Dim vtusername As Variant
    Dim vtpassword As Variant
    Dim x As Variant
    Dim HYP_ENTERPRISE As Variant
    HYP_ENTERPRISE = "Hyperion Enterprise"
    vtusername = "admin"
    vtpassword = "password"
    x = HypCreateConnection(Empty, vtusername, vtpassword, HYP_ENTERPRISE, "http://planws.abc.com:80/aps/SmartView", "EssbaseCluster-2", "abcPLN", "PandL", "TEST", "Hyperion Enterprise")
    MsgBox x
    x = HypConnect(Empty, vtusername, vtpassword, "TEST")
    MsgBox x
    End Sub

    We face similar issue, but if you close the smart view log in pop up without entering any username/password it still creates connection in the background. So login dialouge will pop-up but it will use embedded connection details. Just see if you cancel login dialouge do you still get connection?

  • Hyperion SmartView VB Macro Issue

    I am trying to use smart view "HypMenuVSubmitData" function to submit the data in Webform through Macro. I am using the below Macro
    Private Declare Function HypMenuVSubmitData Lib "HsAddin"() As Long
    Sub MSubmit()
    X=HypMenuVSubmitData()
    End Sub
    I have two sheets
    Sheet2: Webform and the Above macro
    Sheet1: Form Button
    I have assined the Macro to button.
    When I run the Macro from VB editor i.e Pressing the run button, it is submitting the data
    But When I am clicking on the button, It is not submitting the data in the webform. I have tested giving some MsgBox just to chcek if the Macro is running or not. Like
    Private Declare Function HypMenuVSubmitData Lib "HsAddin"() As Long
    Sub MSubmit()
    X=HypMenuVSubmitData()
    MsgBox "Welcome"
    End Sub
    The message getting poped up. But HypMenuVSubmitData is not getting executed.
    Please help.
    Thanks,

    HypMenuVSubmit only submits the active sheet, you may want to try something like below
    Private Declare Function HypMenuVSubmitData Lib "HsAddin"() As Long
    Sub MSubmit()
    Sheets("Sheet2").activate
    X=HypMenuVSubmitData()
    MsgBox "Welcome"
    End Sub
    Regards
    JTF

  • Smartview- essbase conn with VBA

    Hi All,
       I am trying connect to essbase  using smartview  with VBA macros..but few  challenges in connecting to the essbase server..
    code -----------
    Sub RetrieveSheet(SheetName)
    'A = EssVConnect(SheetName, Username, Password, "Lxsy9dbtk.cos.is.keysight.com", "MR", "MR")
    bconn = HypConnectionExists("TestConnection31")
    If bconn = True Then
    bconn = HypRemoveConnection("TestConnection31")
    End If
    A = HypCreateConnection(Empty, Username, Password, HYP_ESSBASE, "http://LXSY9DBTK.COS.IS.KEYSIGHT.COM:13080/aps/SmartView", _
                            "LXSY9DBTK.Cos.IS.KEYSIGHT.COM", "MR", "MR", "TestConnection31", "EssbaseMRConnect")
    A = HypConnect(Empty, Username, Password, "TestConnection31")
    If A <> 0 Then
        MsgBox (A)
        MsgBox ("Login failure has forced routine to terminate.")
        AbortStatus = "Yes"
        Exit Sub
    End If
    Thanks in Advance
    Siva

    Hi Celvin & Amarnath,
       Thanks for both of you for replying,  but still I am not able to resolve after making few changes suggested in the above responses..  This is my modified code
    'A = HypCreateConnection(Empty, Username, Password, HYP_ESSBASE, "http://LXSY9DBTK.COS.IS.company.COM:13080/aps/SmartView", _
                            "LXSY9DBTK.Cos.IS.company.COM", "MR", "MR", "TestConnection31", "EssbaseMRConnect")
    A = HypCreateConnection(Empty, Username, Password, HYP_ESSBASE, "http://LXSY9DBTK.COS.IS.company.COM:19000/aps/APS", _
                            "LXSY9DBTK.Cos.IS.company.COM", "MR", "MR", "MR:MR", "Analytic  Provider Services")
    A = HypConnect(Empty, Username, Password, "MR:MR")
    If A <> 0 Then
        MsgBox (A)
        MsgBox ("Login failure has forced routine to terminate.")
        AbortStatus = "Yes"
        Exit Sub
    End If
      I get an  error code   as   -15  . There is no any further error information for troubleshooting.  Can you please help me here as what is the mistake i am making in connecting to the essbase cube.
    Thanks
    Siva

  • Start SmartVIew Addin with VBA

    Hi,
    I need to activate the Addin of SmartView via VBA code from an Excel Worksheet.
    So far I created a worksheet and added the module SmartViewVBA to the VBA-Project.
    I wrote a program to start the addin:
    Sub Open_SMARTVIEW()
    AddIns.Add Filename:="C:\Oracle\SmartView\Bin\HsTbar.xla"
    AddIns("Oracle Hyperion Smart View for Office, Fusion Edition").Installed = True
    End Sub
    This added the HSTbar.xla to my VBA-projects. I also got the tool bar activated by this.
    In the extras / addins I see that the SmartView Addin is activated. Nevertheless all SmartView Buttons do not react when I click on them and I am missing the SmartView menu bar.
    Has anybody an idea or hint, what needs to be done in addition?
    Best regards,
    Helge

    Smart View is a com add-in so you cannot unload it this way you would need to use code to change the 'connect' state of the com add-in:
    Function LoadSV(enable As Boolean)
    Dim oAin As AddIn
    Dim comAin As COMAddIn
    For Each oAin In Application.AddIns
    Debug.Print oAin.Name
    If oAin.Name = "HsTbar.xla" Then
    Debug.Print oAin.Installed
    oAin.Installed = enable
    End If
    Next
    For Each comAin In Application.COMAddIns
    Debug.Print comAin.Description
    If comAin.Description = "Oracle Hyperion Smart View for Office, Fusion Edition" Then
    Debug.Print comAin.Connect
    comAin.Connect = enable
    End If
    Next
    End Function
    This will vary based on your smart view version and OS. In fact in windows 7 you would need to be running Excel as an admin and this in unlikely. Is there some reason you are needing to unload SV in VBA?

  • Smart View Ribbon not shown when Excel is invoked using VBA

    Dear Hyperion Gurus,
    I am in need to invoke smartview refresh by calling excel using VBA from an excel module in another sheet(master template). But when I invloke Excel using VBA, smartview ribbon does not get activated, due to which the HypConnect, HypVMenuRefresh command does not work. If I directly open excel and run the module it connects fine and does the refresh without any problem. I have tried to enable and disable smartview using VBA but it does not work either. If I call excel directly using a batch using Call command, then it works fine, however the batch file does not close as if I use ThisWorkbook.Close command, then it does not completely close Excel, the instance still runs, and if I try to close using Application.Quit, then it closes down Excel completely. Any help would be highly appreciated.
    Thanks and Regards,
    SiddN.

    Hi,
    I was able to achieve this using batch files by calling the excel templates one by one.
    Thanks,
    SiddN.

  • SmartView 11.1.2.2 Crashes when attempting to access "Options"/"Formatting"

    Hello all -
    We are encountering a problem with SmartView 11.1.2.2 installed on a virtual machine. When the user goes to the Formatting tab after clicking the Options on the SmartView ribbon, their Excel crashes every time. We have other users who have non-virtual machines who are not experiencing this problem. All installations we've looked at had administrator rights to install. All installations are Windows XP with Excel 2007. Has anyone encountered a similar problem with VMs? Alternatively, is there some setting in Excel that could be generated this crash?
    Thanks,
    -Rob

    This has been logged in as a known issue.
    BUG 14097438 - IN SV CHECK THE "PRESERVE FORMULA ON POV CHANGE" OPTION THEN CRASHES EXCEL 2007
    BUG 14146522 - EXCEL CRASHES AFTER ENABLING "PRESERVE FORMULA ON POV CHANGE" UNDER SMARTVIEW OP
    The issue has been fixed in Smartview 11.1.2.2.300.
    HTH
    -Jasmine.

  • APP V 4.6 Issue in XLA parameter

    Dear All,
    I request your kind attention to one of the critical issue which I am currently in. I checked with couple of folks in Microsoft and tried all suggested troubleshooting steps suggested
    by them.
    Below is the brief description of client requirement, current status and request you to help me in completing the requirement.
    OS
    Server 2008 R2 Standard 64 bit (Citrix Environment)
    Applications: Customer wants to sequence in
    single package of the following applications using App-v 4.6.
    Requirement :
    17 Applications.
    Microsoft Office Professional Plus 2010 Sp2
    Adobe Acrobat  Reader XI
    Language Font Pack for Adobe Reader XI
    Patch for Adobe Reader XI
    Java Runtime Environment both version 32 and 64bit (7u72)
    SAP Front-End Installer 7.40
    SAP Pdf Print 7.40
    7Zip
    Adobe LiveCycle Designer
    Adobe LiveCycle Designer Patch1
    Adobe Flash Player
    Irfan View
    Irfan View Plugins
    Adobe Shockwave Player
    Oracle ODBC
    IBM Cognos TM1 Client
    Smart View (Excel AddIn\Plugin Version 11.1.2.3)
    Current status :
    As per the above requirement all the applications working as expected Like
    Shortcut 1 is pointing to SAPlogon.exe, able to launch SAP shortcut and working as expected, however shortcut 2 is pointing to excel.exe along with smartview addin. 
    Issue 1 We have tried to captured\sequenced the Smartview (Excel plugin) with C:\Program Files (x86)\ or with the  Q:\Drive it is not working. When we launch the shortcut
    under shortcut streaming (App-v 4.6) excel is not responding\Stuck. We are not able to close the excel.
    Issue 2 is critical.
    Issue 2 : per the instructions I need to 
    Create a shortcut to excel with the path to tm1.xla as argument: Q:\Office14\Office14\Excel.Exe “C:\Program Files (x86)\ibm\cognos\tm1\bin\tm1p.xla”
    The workdir should be:
    C:\Program Files (x86)\ibm\cognos\tm1\bin
    Help is highly appreciated. Thanks in advance.
    Regards,
    Deepak Kumar

    Don't sequence the application all in one package. Use Dynamic Suiting Composition...
    For Smartview, I believe I sequenced this before. I had to exclude some folder related to Hyperion Smartview from the Roaming folder.
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • Smartview Compatibility Connundrum (11.1.1.3 to 11.1.2.3)

    Hi All,
    We are currently in the process of upgrading our EPM environment from 11.1.1.3 to 11.1.2.3.  We are staggering our application go-live dates so HFM goes first late Summer and then Essbase 3 months later.
    We are having issues with Smartview compatability balancing our applications between 11.1.1.3 and 11.1.2.3.
    Option 1 - Upgrade to Smartview 11.1.2.5.210:
    We are able to connect to both old and new HFM but our 11.1.1.3 Essbase connections start acting strange and we can only see aliases rather than member names or aliases.  The change alias table is essentially greyed out and locked down.  This basically makes our Essbase ad-hoc analysis useless.  Oracle told us that 11.1.2.5 Smartview could support both 11.1.1.3 and 11.1.2.3 but when we told them about this issue, they then said we would have to upgrade our 11.1.1.3 to 11.1.1.3.500....something we won't be doing as we are abandoning it over the next few months.
    Further, the default install location for the new Smartview is C:\Oracle\Smartview whereas the 11.1.1.3 version was located in C:\Hyperion\Smartview.  As you can imagine, we receive that famous error of C:\Hyperion\Smartview\Bin\Hstbar.xla! in all of our formulas when opening files created with formulas in 11.1.1.3.  My assumption is the new Smartview can't find the path that the old formulas are tagged with.
    Yes, I can do a search and replace in Excel for C:\Hyperion\Smartview but I don't want to tell hundreds of users around the world to do this.  It appears (I have done a few tests), that this formula issue won't occur if I install 11.1.2.5.210 into C:\Hyperion\Smartview and override the default install location.  My issue with this is I don't know if there is any downside to overriding the default location of Smartview.  ie. will issues arise in the future as it was intended to go to the Oracle folder?  Further, my end-users may try to rush through the installation instructions and I suspect many people will carelessly install it to the default location.  I just want to make the install as user-friendly as possible for all of our users who are not Smartview experts.
    Option 2 - Stay on Smartview 11.1.1.3 until Essbase goes live:
    If we try to stay on the current Smartview 11.1.1.3, everything seems okay but now I have discovered that the member selection function does not work with HFM 11.1.2.3 and gives an error saying 'Function Parameter Missing or Mis-Spelled'.  Not having this function will be an issue for us.  I haven't done much testing with this option but the first issue is a bit of a deal breaker.
    Any advice?  Has anyone been through this?  Does anyone have a simple way to fix the Essbase alias issue or the C:\Hyperion\Smartview formula issue.
    Greatly Appreciated,
    Mike

    Hi,
    we had the same issue and the only solution is to patch per the advice from Oracle to enable the existing functionality. Alternatively as you suggest you could stick with the old smartview but you will find you have a steep learning curve for the users when you do go live.
    Thanks,
    Jeremy.

  • Can't open Excel File manually after MS Project has opened it via VBA

    I was testing a section of code I got from a forum that opens a Excel Workbook via MS Project VBA so that I could use it to update a Excel Workbook that I have. The macro opens the Workbook as intended but the main problem I'm encountering is that
    after I've run the macro, saved and closed the Workbook again, I'm unable to open it manually either from Recents or directly from folder location. I'm using Project 2010 (non Server) and Excel 2010 - Windows 7.
    I'm also having trouble getting it to select "Sheet2" of the Workbook when it opens so I've Commented it out, but it would be a bonus if someone could shed some light on that one as well.
    Edit: I worked out how to select the Sheet...I've updated the code Below. 
    Sub OpenTest()
    Dim xlApp As Excel.Application
    Dim xlWkb As Excel.Workbook
    Set xlApp = CreateObject("Excel.Application")
    Set xlWkb = xlApp.Workbooks.Open_ ("C:\Users\myName\Desktop\Export Test1.xlsx")
    xlApp.Visible = True
    xlApp.Sheets("Sheet2").Select
    Set xlWkb = Nothing
    End Sub
    Thanks!
    Matt

    Matt,
    Actually your macro code works fine and I can re-open the file without problem.
    I don't recall asking in your other post but do you have SP2 installed for Project 2010? And, do you have SP2 installed for Office 2010, which will cover Excel? They are separate updates. It would also be a good idea to install the June 2013 cumulative update
    for Project 2010 as it was released after SP2 and it does fix some VBA issues as I recall.
    As I indicated, your code works fine on my PC which is also Project 2010, Office 2010 and Windows 7. Try this. After you run the macro and then save and close the workbook, does Excel also get closed automatically? If it does, (and it should), after you
    close the workbook, take a look at the applications manager to see which Windows applications are currently running. Does Excel still show up?
    John

  • SmartView Info & Error

    hi all,
    While we install smartview we have two installation files one has extension of exe and the other has hve extension. Can anybody let me know what does hve extension file exactly do?
    Another issue tried to install smartview on user machine having office2007 . I tried to install first smart view 9.2 as we are on planning 9.2 but as a soon as i input the connection URL it blows the excel saying Excel ecountered serious error. I then installed 9.3 smart view and it did the same. I even tried disabling the excel addin and just using smartview and it came up with same error.
    Have somebody encountered that error before if yes how to resolve it?
    I recently notice that my environmental variables path have a link %hyperion_home%\common\CSS\9.2.0\bin and this path was missing in the user machine. Anybody has idea what file is at this path and would it be necessary for smartview installation???
    Thanks!
    Edited by: user4958421 on Jul 8, 2009 12:32 PM
    Edited by: user4958421 on Jul 8, 2009 12:38 PM

    Hi,
    It is definitely possible to install the latest smart 9.3.1 version with excel 2007. (do you know the exact version of smart view you are trying to install?)
    Maybe this post will help ?
    Re: Hyperion Planning and SmartView Troubleshooting - Excel Issues
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Question about use of HypFindMember in HFM (It doesn´t work)

    Hello to all. I posted this message in Financial Consolidation forum, but there suggested me to better post this message in the Essbase forum. Hope someone can help me with this issue. I'm just a beginner in this matter. I'm trying the HypFindMember for HFM.
    I'm doing some tests with the SmartView's VBA Functions. In particular I have some problems with one of them to obtain a result... this is the HypFindMember function. I tried the following code:
    X = HypFindMember(Sheet1, "1000000", "Default", dimName, aliasName, genName, levelName)
    but the result for "X" is always 10003 (should be zero). The previous step was HypConnect and was successful. Do you know if something in the middle should be executed for this function? The manual does not specifies a previous requirement to execute the function, besides the connection to the server and the MemberName ("1000000").
    In the SmartView manual is specified that HypFindMember works with Essbase and Financial Management. I'm using HFM 9.3.1
    In case that the HypFindMember definetly doesn´t work in HFM, do you know other way to validate if a member exists in a HFM application? (using SmartView)
    Thank you in advance.
    Edited by: Ricardo H on Apr 13, 2009 8:32 AM
    Edited by: Ricardo H on Apr 13, 2009 9:20 AM

    Hi,
    one year later, but I have exactly the same problem.
    Could someone explain how I can use that function with HFM ?
    High positive number should be a server connection problem,
    but other functions work.
    Hope u can help me

  • Userform controls disappearing in Word 2013/Windows 8.1 with High-Res display - DLL error?

    I have a .dotm file with a large number of modules and userforms. Creating new documents from the template works fine on almost every computer I've tested it on (hundreds), but I've run into a setup that fails consistently.
    Two different Samsung ATIV 9's with a high res display and Windows 8 (64bit)/Office 2013 show the same problem:
    When opening a new document based on the template for the first time, it works fine. If I open the VB editor, everything looks normal, userforms are intact.
    On the second and all consecutive attempts, it throws a "Type Mismatch" error. Opening the VB Editor, I get a compile error on lines of code referencing components of the first userform (alphabetically). Opening that userform, it shows only a blank
    multi-page control, and all the other controls are missing - hence the new compile errors on controls that used to exist. If I remove that userform and save the file, the project compiles, but opening a new document from the template will result in "Word
    has stopped working..."
    I can actually reproduce this behavior starting from scratch - new blank document, save as a .dotm. Create a new userform and add a multipage control. Clicking any control in the toolbox to add it to the form will result in a "Type Mismatch" error,
    even though there's no VBA code. I can then successfully add the control to the form. But, once I save and reopen the template, the multi-page control is blank, and the other controls I put on it disappear.
    I at one point got an error from the VB Editor that it "could not open macro storage" and the included help suggested that might be due to an incorrect version of vbe7.dll.
    The only copy of vbe7.dll I could find was at:
    c:\Program Files\Microsoft Office 15\root\vfs\ProgramFilesCommonX86\Microsoft Shared\VBA\VBA7.1
    The dll version was 7.1.10.44
    I tried replacing that file with a vbe7.dll file from a working computer (version 7.0.15.89 from c:\Program Files (x86)\Common Files\microsoft shared\VBA\VBA7), but that just resulted in the VB editor not loading at all.
    I have tried both a 32bit Click-to-run version of Office 2013, and installing off a CD with 64bit Office 2013, both had exactly the same error.
    The reason I'm wondering if it's a high-DPI display related error is that googling about vbe7.dll errors, I came across this hotfix:
    http://support.microsoft.com/kb/2880496/en-us
    which claims it "Fixes various Visual Basic for Applications (VBA) issues with displays on high-DPI devices."
    Neither the 32bit or 64bit installer for that hotfix would run, they said there was no affected programs installed.
    My reasoning for suspecting a hardware/DLL incompatibility is this:
    1) It's not the template or the VBA code, since those work elsewhere and the same behavior happens with any file with a userform
    2) It's not the Office version, since both 32/64 bit, MSI and Click-to-run didn't work
    3) It's not Windows 8.1, since this same template works fine on other machines
    4) The first time I open the template on the affected machines, it works fine - but the template is shipped compacted and decompiled. After I open it once and then close, Word has compiled the code and corrupted it somehow, because whatever the first userform
    was in the list shows up as blank.
    5) It feels hardware-specific, since out of hundreds of machines, I've only seen this behavior on two of the same laptop model - seems like too much of a coincidence.
    Is there any chance the VBE in Office 2013 is somehow incompatible with this hardware? If that might be the case, does anyone have any idea how I'd go about testing and/or fixing it?
    Any thoughts are much appreciated.

    Hi Chris,
    Try the following.
    Download the IDT Audio installer on the link below and save it to your Downloads folder.
    http://ftp.hp.com/pub/softpaq/sp59501-60000/sp59861.exe
    When done, open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers.  If you see an entry for IDT HD Audio ( or very similar IDT entry ), right click the device and select Uninstall - you should also get a prompt to remove the current driver, tick the box to allow this and then proceed with the uninstall.  If there was no IDT entry, just proceed below.
    When complete, shut down the notebook, unplug the AC Adapter and then remove the battery.  Hold down the Power button for 30 seconds.  Re-insert the battery and plug in the AC Adapter.
    Tap away at the esc key as you start the notebook to launch the Start-up Menu and then select f10 to enter the bios menu.  Press f5 to load the defaults ( this is sometimes f9, but the menu at the bottom will show the correct key ), use the arrow keys to select 'Yes' and hit enter.  Press f10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Let Windows fully load - it will automatically load an audio driver, but just let this complete.  Then open your Downloads folder, right click on the IDT installer and select 'Run as Administrator' to start the installation.  When this has completed, right click the speaker icon in the Taskbar and select Playback Devices.  Left click 'Speakers and Headphones' once to highlight it and then click the Set Default button - check if you now have audio.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Suggestion on External Tables

    Hi,
    I have a issue which i couldnt figure out how to do.... Actually its a VBA issue now that i cant figure out how to slove it i have do it other way around...
    Firstly i will say what the VBA code is and its problem so you can suggest me in better way...
    We have a macro that takes 2 excel files(lets call excel1 and excel2) compare each to database. for each excel it creates a new excle( excel11 and excel22) which contains the difference of the comparision. Then it compares these 2 excels(excel11 and excel22) and creates a new excel(diffexcel1122). I need all the 3 excels ( excel11, excel22, diffexcel1122).
    This was working very fine till we upgraded the system to windows XP with office 2003. Now also it works fine but out of 5 times atleast 2 times it gives an error
    Error -2147417848: The object invoked has disconnected from its clients
    and i excatly dont know how to comeover it... i asked few .net people who asked me to upgrade my system to SP3... which is not possible. (If anyone know how to overcome it let me know)
    So now i have to do it other way round... and i am thinking to do it in PL/SQL as i am oracle developer (though i am new).
    I have written lot of Utl_file procedures but i have never used external tables which i want to use now. I can convert the excel files into .CSV files and have them on same server as database is.
    Can anyone say me how many external tables i have to create.. it should all be in one single storedprocedure for which i have to write unix code(which will call the procedure and here i will provide the .cvs file names) I know its going around but i dont have anyother option... either i to eleminate that error in VBA or do it in PL/SQL and UNIX....
    Someone please suggest me steps i have to follow so i can do it successfully...
    Thanks!
    Sree

    Mmm... on much batteling with my self i have started writing code for my process...
    I was just trying to read the .csv and write a small peice of it into a new .cvs file...
    The issue i am having is with data... the columns in excel are not of same length so when they are converted into CSV they are kind of irreglar...
    this is what i am trying to do....
    sample of .csv file(when i see the file i see small boxes in between the data not space like you are seeing)
    "1/5/2006 Traditional     779383     6673     ""ADP TOTALSOURCE SERVICES"
    "1/5/2006     Traditional     811286     6673     ""ADP TOTALSOURCE SERVICES"
    "1/5/2006 HMO     044238     6673     ""ADP TOTALSOURCE SERVICES"
    "1/5/2006     HMO     272268     6673     ""ADP TOTALSOURCE SERVICES"
    "1/5/2006     HMO     339312     6673     ""ADP TOTALSOURCE SERVICES"
    "1/5/2006     HMO     339840     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     370968     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     371185     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     371358     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     371479     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     371688     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     371886     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     HMO     372056     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/07     Traditional     811360     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 6/1/08     Traditional     811389     6673     ""ADP TOTALSOURCE SERVICES"
    "New Eff. 12/1/08     Traditional     618797     6673     ""ADP TOTALSOURCE SERVICES"
    now i want just want the data that have HMO for example and i tried to get the data like this
    select
    LTRIM(RTRIM(substr('"1/5/2006  HMO     044238     6673     ""ADP TOTALSOURCE SERVICES"' , 12, 3)))
    from dualwhen i execute this i get HMO but this is not true for all the rows...some rows give me past of date.... can anyone suggest me how i can get the data consistent in to the database...
    Actually what i am trying to do is.... i am reading each line into a buffer using UTL_file and taking the part of data that i want to compare to the database and write the output to another csv file.
    suggest me plzzzzzzzz
    -Sree

Maybe you are looking for

  • ME22N : Change PO Line item to Display Mode, After All quantity has GRN

    Hi Experts, In ME22N,  PO change mode if the line item has checked with 'Delivery Completed' Indicator in 'Delivery' tab I want to shows that row always in 'Display' mode. Please help me to modify that table control within the exit. I'm using, Enhanc

  • Labor time report at each individual level

    I want to take report on each individual employee labor hours based on the time confirmation they did thru IW41, Is there any standard report available???? we dont have activity types as we are not settling cost for the inhouse labor but doing time c

  • Mapping calls dblink that does not exist

    Hi, we read data from a foreign table using a connector/dblink. That works fine on the development environment. When we deploy it to integration environment the mapping generated a strange link like "SCHEMA"."VIEWNAME"@"SID@LOCATION_NAME" Is this a b

  • Loading time of splash screen verus initial siena created splash screen

    Hi everyone, I have a load issue on windows surface RT device with a seina app.  I need some insight on trying to decrease load time.  This new app has about 2000 images and growing and each image is optimized to be about 20 kb.  This app is for refe

  • Installing DM11.5 under Win7 64bit

    Has anyone successfully installed and used DM 11.5 under Windows 7 64bit? I've tried it on two different computers (a laptop and a desktop) and in both cases when I try and "Open" or "Join" a workspace as soon as Studio tries to open a Windows Explor