Visual Basic Macros

Hi,
I'm interested in created Visual Basic macros for my report. So i'm looking for samples/guides.
I was reading through the "Desktop Intelligence Access and Analysis Guide" and have come to a point where it says:
Programming in Visual Basic requires knowledge of the programming environment. This is covered in the Customizing Desktop Intelligence guide.
Does anyone have any clue where I can find this document? i couldn't find it here:
http://help.sap.com/
Thanks, much would be appreciated!!

(I had trouble logging in to my account so i had to create a new account.)
Hi Sarbhjeet,
Well, I followed your instructions. I went to the left panel, clicked on "Documentation" -> Product Guides/End-user Documentation
and it lists the following documents:
-Desktop Intelligence Access and Analysis Guide
-Desktop Intelligence Developer Guide
-Desktop Intelligence Access and Analysis Guide
-Report Coversion Tool Guide
-Developer Library
-Desktop Intelligence: Data Access and Analysis
-Desktop Intelligence: Reporting Techniques and Formatting
But I'm looking for the "Customizing Desktop Intelligence Guide". I have a feeling that this document is obsolete. =(

Similar Messages

  • Running Visual Basic macro

    Can I run a Visual Basic macro from Java? How do I do that?

    If your macro can be invoked from the command line, then you should be able to run it by using Runtime.exec()

  • How to call Visual basic MACRO code in ABAP

    Hi all,
    I created one MACRO in Microsoft office and now i want to call this macro in my ABAP program.
    How to do this can anyone provide me the logic for this....
    Regards.

    What Office application/document has the macro?  What the other poster was referring to is that you can open any type of Office document, E-mail editor, PDF document, simply by executing the filename or appropriate shell command.  By opening the Office document that has the embedded macro, you would trigger that macro to execute.  Is that what you need?
    Here is a simple example (with a hard-coded filename):
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
      EXPORTING
        DOCUMENT               = 'C:\temp\mydoc.doc'
      EXCEPTIONS
        CNTL_ERROR             = 1
        ERROR_NO_GUI           = 2
        BAD_PARAMETER          = 3
        FILE_NOT_FOUND         = 4
        PATH_NOT_FOUND         = 5
        FILE_EXTENSION_UNKNOWN = 6
        ERROR_EXECUTE_FAILED   = 7
        SYNCHRONOUS_FAILED     = 8
        NOT_SUPPORTED_BY_GUI   = 9
        OTHERS                 = 10.
    As I mentioned, this is also useful for triggering other applications, such as your resident e-mail editor, based on a click of an e-mail address in a GUI screen:
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
        EXPORTING
          DOCUMENT               = 'mailto:(put address here)'
        EXCEPTIONS
          CNTL_ERROR             = 1
          ERROR_NO_GUI           = 2
          BAD_PARAMETER          = 3
          FILE_NOT_FOUND         = 4
          PATH_NOT_FOUND         = 5
          FILE_EXTENSION_UNKNOWN = 6
          ERROR_EXECUTE_FAILED   = 7
          SYNCHRONOUS_FAILED     = 8
          NOT_SUPPORTED_BY_GUI   = 9
          OTHERS                 = 10.

  • Oracle SQL/ Excel Visual Basic Consulting Opportunity in New York City

    Hello:
    Is anyone interested in a consulting opportunity?
    I am marketing director for a catalog/internet business in Manhattan. I am running Oracle 9.2i . We use the datawarehouse for many marketing/merchandising reports. I have SQL code embedded in Excel workbooks using an ODBC interface. The SQL code gets the data and then I have a lot of Visual Basic macros that run and create the reports.
    I need someone to come in and help me optimize the queries and macros (since I am self-taught on both SQL and VB there is LOTS of room for improvement).
    Since some of the reports are popular, I am getting overwhelmed with requests for new reports and it is taking time away from my marketing responsibilities.
    If anyone out there is interested, please let me know
    Thanks

    Hello:
    Is anyone interested in a consulting opportunity?
    I am marketing director for a catalog/internet
    business in Manhattan. I am running Oracle 9.2i .Sounds interesting, but as you can see in my profile, I'm not able to just "come in". Maybe someone else here wants to pick up this opportunity.
    We use the datawarehouse for many
    y marketing/merchandising reports. I have SQL code
    embedded in Excel workbooks using an ODBC interface.Reminds me of one of my customers that had a ms access frontend and oracle backend.
    The SQL code gets the data and then I have a lot of
    f Visual Basic macros that run and create the
    reports. Memories comin' back ... ;-)
    I need someone to come in and help me optimize the
    queries and macros (since I am self-taught on both
    SQL and VB there is LOTS of room for improvement). I'd say one approach could be to move some of the logic to views or pipelined functions, maybe ref cursors.
    Since some of the reports are popular, I am getting
    overwhelmed with requests for new reports and it is
    taking time away from my marketing responsibilities.Maybe it's also time to rethink the tool selection? ms access or a decent report generator could be an option.
    C.

  • Can apple run visual basic on excel ?

    can i run visual basic macros on a new apple macbook pro

    Office 2011's Excel is supposed to run VB macros.

  • BW reporting, Excel macros, Visual Basic

    HI  friends,
    I want some information want in BW reporting, Excel macros, Visual Basic with Finance background.I want some good notes .thanks for advance.
    Bye
    habeeb

    i am not sure what exactly you are looking into as there are many variants of reporting..
    hope the below link would answer few of your queries
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/8d8d5e6413614fe10000000a1553f7/frameset.htm
    reward points if you find it useful
    regards
    GulshanRaj

  • Microsoft Forms and Microsoft Visual Basic while opening the Excel file

    Hello,
    I have issues with 2010 64 bit Office Pro Plus Excel. Whenever I open an Excel file (97-2003 worksheet) which has macros then I get below 2 errors in sequence.
    Please note that all macro settings are enabled and below are my system configs.
    Win 7 Ultimate 64 bit,
    MS Office Pro Plus 2010 64 bit with SP2.
    Googled all and tried but in vein and also note that I dont have any .exd files under ../forms to delete. Please help.
    Please note that for others with same system config/office versions and same 97-2003 worksheet it works so issues is only in my system.
    First Error
    Microsoft Forms
    Could not load an object because it is not available on this machine.
    Second Error
    Microsoft Visual Basic for Applications
    Compile error in hidden module:  MainUtilities2.
    This error commonly occurs when code is incompatible with the version, platform, or architecture of this application.  Click "Help" for information on how to correct this error.
    Thanks.

    Your macro's will not run in a Office 64 environment only in a 32bit environment. The 64bit environment has a whole different setup and macro's created in an earlier 32 bit environment will stop working.
    So if you want to use them in a 64 Office environment you have to rewrite the macro's.
    have a look here:
    http://msdn.microsoft.com/en-us/library/gg264421.aspx
    Maurice

  • How to save a Module in Visual Basic with Excel for Mac 2011

    On the MS support pages it shows how to create a module that will turn digits into written words:
    http://support.microsoft.com/kb/213360/en-us
    so if you enter $32.50 it will convert it to Thirty-Two Dollars and 50 cents. Perfect for batch payroll work!
    Using Excel for Mac I open the Visual Basic editor (which I clearly know nothing about!), paste in the text provided by Microsoft and it works perfectly.
    BUT... if I close that workbook that module is gone.  I can't use it again in the next workbook.  Surely there's a simple way to save the module so it is available in all future workbooks... yes?  This one has stumped several MS techs so far.

    Hi,
    I have no Excel for Mac, so I can't test this issue .
    Did you save the Excel workbook as Excel Macro-Enabled workbook(*.xlsm)?I guess Excel would prompt you if you want to save the VBA code when you close the workbook.
    Wind Zhang
    TechNet Community Support

  • Cannot load visual basic for applications

    I cannot load visual basic for applications on word doc

    The relevance to iTunes for Windows escapes me.
    VBA is an optional component of Microsoft Office. Unless you are an active VBA programmer any alert message regarding macros should be a red flag that something viral might be contained within the document that you are trying to open.
    tt2

  • Office 2011 - Can't Find Visual Basic for Applications Error

    I have recently installed Microsoft Office 2011 on my Mac and have been using the Dev tools to program macros in VB. Suddenly, it stopped loading it when I try to enter the VB workspace and throws an error stating that "Can't Find Visual Basic for Applications." The error tries to be helpful, but in a typical Microsoft way is just plain vague. Any thoughts?

    I have the same problem, but have no odd characters in my hard disc name.
    I am pteey annoyed as I bought Office 2011 pre-loaded on my new Macbook, but it did not have the VBA (which is why I wanted Offfcie rather than the free OpenOffice in the first place).
    VBA is supposedly on the Office distrbution CD, so I went through the loop of re-installing Office 2011 with the VBA option ticked. No VBA apperared. After 3 times trying the install, still no VBA. The macbook has the VBA framework file installed in the applications folder, but the clicking the editor tab in the developer tab of Excel just brings up an error massage sayng VBA is not installed.
    Not clear where to go from here. Try the Genious Bar at the local mac store?

  • How to get BW-BPS variable value into Visual Basic?

    Hello,
    Scenario:
    Time characteristic 0FISCYEAR has a variable ZVFYEAR. In layout this time characteristic is defined as DATA COLUMN. When user changes VFYEAR variable’s value i want to get the value of variable into Visual Basic and to format header for table in the layout.
    How to get BW-BPS variable value into Visual Basic?
    Could you help me?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hi,
    If i understand your requirments correctly ,you need to read the value of the Variable and Put it on the layout. Here is how  i would solve this,
    Read the value of the variable using an ABAP program.The logic for this would be to read the variable value and post it on the layout on a cell.You can do this by calling the ABAP program on opening the layout.this can be done using LB_EXIT_FM  T-code. Now using the  SAP delivered SAPAfterDataPut  macro, read the cell in which you have placed the variable values and assign it to the necessary values you want to on the layout.All this will be done before the layout opens.
    Hope this helps.
    regards
    Sai Vishnubhatla

  • Type Mismatch error while calling a Java Function from Visual Basic 6.0...

    Hi,
    I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
    ' // Web1 is IE Browser in my Form.
    Dim Ap,Comp
    Dim Bol as Boolean
    Bol = true
    Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
    Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
    msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
    Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
    Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
    I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
    Please help me Friends.
    Thanks and Regards,
    Srinivas Annam.

    Hi
    I am not sure about this solution. try this
    Declare a variable as variant and store the boolean value in that variable and then use in ur method.
    Post ur reply in this forum.
    bye for now
    sat

  • Can not select the VISA library (visa32.dl​l) as a reference from Visual Basic.

    I have a copy of Labview base package version 5.1.1 and Microsoft Visual Basic 6.0 in my PII 333 128M PC. I like to use the NI-VISA feature to develope my own testing program by using Visual Basic. However, the NI-VISA library (i.e. visa32.dll) can not be found from the Visual Basic reference library.

    Go PROJECT | REFERENCES menu. In the list, look for "VISA library".
    If the list does not show it, then BROWSE the visa32.dll located in the
    WinNT\SYSTEM32 folder.
    If the VISA library is earlier than V2.x, there is no TypeLib supported.
    Makoto
    "rfan99" wrote in message
    news:506500000008000000B6180000-984882144000@quiq.​com...
    > I have a copy of Labview base package version 5.1.1 and Microsoft
    > Visual Basic 6.0 in my PII 333 128M PC. I like to use the NI-VISA
    > feature to develope my own testing program by using Visual Basic.
    > However, the NI-VISA library (i.e. visa32.dll) can not be found from
    > the Visual Basic reference library.

  • Error on Visual Basic 6.0 and Crystal Reports 9.2 on XP SO

    We need support to resolve an error on a system made with Visual Basic 6.x and Crystal Reports 9.2.
    Error '-2147417848 (80010108)'
    Automation Error
    Not always give these errors.
    Often occurs after request two reports followed and SO is XP
    When SO is Windows 2000 professional this error not occurs.
    These are versions of the products used:
    Versión Visual Basic:  6.0.9782
    Versión Cristal Reports:  9.2.0.448

    Hello,
    This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
    Try downloading the only patches available from:
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
    Thank you
    Don

  • How do i use directX in microsoft visual basic studio 2010 express ?

    i am writing code to graph stock market prices using microsoft visual basic studio express
    i want fast response (i do machine language) using directX
    this is my problem
    i have never used directX, and i have never used directX in visual basic studio
    i followed a tutorial that went like this
      Reference: Microsoft.DirectX
                 Microsoft.DirectX.Direct3D
                 Microsoft.DirectX.Direct3DX
        Imports: Microsoft.DirectX
                 Microsoft.DirectX.Direct3D
                 Microsoft.DirectX.Direct3DX
        Declare: Private D3Ddev As Device = Nothing
                 Private D3Dpp As PresentParameters = Nothing
                 Private DP As DisplayMode = Nothing
    i found the reference dll's at C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0
    when i imported microsoft.directX.direct3DX i got error #1
    namespace or type specified in the imports 'microsoft.directX.direct3DX' doesn't contain any public member or cannot be found...
    the same error occurs wether i use direct3DX \1.0.2911.0 or \1.0.2902.0
    when i built and ran, i got error #2
    microsoft visual basic 2010 express is waiting for an operation to complete ...
    it hangs and i have to soft reset ctrl-alt-del
    error #3
    when i reference
      Microsoft.DirectX
      Microsoft.DirectX.Direct3D and
      Microsoft.DirectX.Direct3DX
      from C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0,
    all my declares work:
            D3Dpp = New PresentParameters()                             'Initialize
    some stuff for the Presentation parameters
            D3Dpp.BackBufferFormat = DP.Format
            D3Dpp.BackBufferWidth = DP.Width
            D3Dpp.BackBufferHeight = DP.Height
            D3Dpp.SwapEffect = SwapEffect.Discard                       'There's flip, copy, and discard. Flip and Discard
    are used most often.
            D3Dpp.PresentationInterval = PresentInterval.Immediate      'Present the scene immediately
    but when i start debugging (f5), i get this error message:
    mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information
    i dont fully understand the visual studio process, but i think 'mixed mode' means run and debug. two seperate app's
    i know this is a long question, but the forums don't answer it properly
    i want it answered concisly. i am running windows 7 basic, and this is my question
    can somebody give me a dozen lines of directX code that will work with my system, so that i can at least draw a line using directX 2D and 3D ?
    thanks everybody :)

    Hi,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Since your issue is related to DirectX, I suggest you consult on DirectX forum:
    http://xboxforums.create.msdn.com/forums/ for better response.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • On windows xp i cant find my netgear router or set a wireless connection up

    when i go onto windows i cant get onto the internet. I have a wireless netgear router that works with mac os x but i cant set it up for the windows

  • F111 and payment method field 'payment orders only' deactivated T042ZL-XNOP

    Hi F111 gives an error for a payment method: "Creation of payment orders is not supported. Message no. PZ588. Diagnosis Payment method B is configured so that a payment order is created. This function is not supported in the payment program for payme

  • Using an internal sample clock with a digital input

    I am using an encoder to measure angle and velocity. The example that I have started with is here. https://decibel.ni.com/content/docs/DOC-6834. The problem I am having is with the Sample clock, I get a timeout at the DAQmx read. If I remove the samp

  • Non-Cumulative Info-Cube (0BUS_AREA)

    Hello, I have a non-cumulative Info-Cube that as only marked 0PLANT and 0CALDAY in the u201CMaintain Non-Cumulative Valuesu201D. When we execute the query, the stocks for the 0PLANT work fine. But, when we do the drill-down by 0BUS_AREA it doesnu2019

  • Setting and calling top level varialbes

    Is there away to call and set a top level variable from a child component that way i can access the variable no matter where i am from inside the application. For example i have a login component that gets the userid. I would then like to set that us