LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Essbase Add-in VBA programming question

Outside of VBA, if I'm in Excel, I can click on a check box called "Retain on
Retrieval" under:
Essbase Options,
Mode tab,
Formula preservation title.

I need to find example code for doing that in VBA. When I do a retrieve in
the macro, it blows away some formulas. I need those formulas to stay put,
but I don't know the syntax of the code. Here are some examples of code I'm
currently using:

Declare Function EssVConnect Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant,
ByVal username As Variant, ByVal password As Variant, ByVal server As
Variant, ByVal application As Variant, ByVal database As Variant) As Long
Declare Function EssVDisconnect Lib "ESSEXCLN.XLL" (ByVal sheetName As
Variant) As Long
Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As
Variant, ByVal Range As Variant, ByVal lockFlag As Variant) As Long

x = EssVConnect(Null, "userid", "password", "ipaddress", "database",
"database")
x = EssVRetrieve(Null, Null, 1)
x = EssVDisconnect(Null)

If anyone knows of a discussion group related to Essbase Programming let me
know....I didn't see one.
--
Thanks,
PTweety
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming question - VB, VBA, C#, C++ Susan Excel Programming 6 May 24th 07 07:03 PM
Essbase Addin Question Nigel Excel Discussion (Misc queries) 0 February 11th 07 05:55 PM
Programming question Kelly Excel Programming 1 March 13th 06 07:03 PM
Programming Question Jon Turner Excel Programming 10 June 28th 04 04:03 AM
Help with programming question drummerboy827 Excel Programming 6 September 26th 03 11:03 PM


All times are GMT +1. The time now is 01:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"