Workbooks with Excel 2007 and 1 million lines
Hi all,
We are unable to use the 1 million lines available with Excel 2007 with the migrated workbooks. Also, it seems that Excel is saving the files in .xls format, even if the format default in Excel is not set for .xls.
Does anyone have a solution for this??
Thanks
Kathleen
Hi,
There are so many posting in SDN for this.
Refer- Bex and Excel 2007
Re: 2 BEx Query Limitation
Re: More records in Bex.
Similar Messages
-
Problems with Excel 2007 and Essbase 6.5
Hi,
Two quick questions:
1. We are planning to upgrade our office to 2007, XP professional SP2 but still going to use Essbase excel add-in 6.5 for some users and Essbase 7.3 add-in for others. Has anyone faced any problems with this combination?
2. The only problem I encountered so far was when I double click a member name for retrieval, the pointer (cursor/icon) flickers / flashes continuously. But when I take the pointer out of the excel spreadsheet, the flicker goes away. Does anyone know a fix to this. Thanks.Hi,
I'm admin of an hyperion essbase database.
I'm testing our addin 6.5.1 with excel 2007.
First problem evocated on retrieve is confirmed.
I continue my test and tell you if i find another problem.
What i would say is that old version can be unsupported but i'm sure we can use this addin on excel 2007, i hope.
Regards.
Edited by: user9947793 on 4 sept. 2009 08:56 -
Error message when opening a shared workbook with Excel 2007
Hello,
We would like to share a workbook outside BW (by saving into a serveur).Since we use Excel 2007, we can't anymore open this workbook.
We have a message error (see bellow).
For your information, it was ok with Excel 2003.
When whe save the workbook in local disk and then copy from local disk
to a serveur, it's ok.
We use SAPGUI 7.10 support package 8, patch 1 Revision 1443 & BI 7.0.
Best regards
Nicolas Triqnuandhey Nicolas,
first of all, your error message is in French... not too many people out there will be able to understand. Eventhough I do understand French, it doesn't make much sense to me... BUT... in Excel2007 all macro's are by default disabled. When you enable them (you should get a "Security Warning" right under "the Ribbon"), your BI stuff should work again.
Just gave it a try, and it runs smoothly over here.
Cheers,
RafB -
Excel 2007 and Smart View 9.3.1.4.041
Dear Experts,
We are now working with Excel 2007 and Smart View 9.3.1.4.041, and encounter the problem that ervery time open the protected excel file there would be the warning message "Drawing Objectes in one or more sheet(s) in the workbook are protected. Please unprotect them and try to save again."
Can any one suggest with;
1. How to set the Excel security settings for Excel 2007 to work for smart view?
2. How to avoid the message mentioned above while working with Excel 2007?
3. How to create a protected Excel file to work with Smart View 9.3.1.4.041 both in Excel 2003 and Excel 2007?
Tks
Edited by: Moonlight on May 19, 2010 10:00 AMI've experiencied similiar problems, though other users may have found a better solution, I've unlocked the spreadsheat, refreshed, and then relocked via a VBA macro. A button object at the top of the spreadsheet was added to make it easier for the users use as well. If there is a better solution I am very interested in this as well.
JTF -
Information of Print Area is missing in VB6 Addin of version Excel 2007 and Excel 2010
Hallo,
I have a problem with my old VB 6 COM Addin. My document has Print Area, but when I use my addin to open this document. The information of print area is lost.
This problem takes place only in the following situations.
If the PrintArea is set in Excel 2007 and 2010, it will be missing. But in Excel 2003 without problem.
From the code, the ".ActiveSheet.PageSetup.printArea" is always empty, although when the print area is configurate in Excel 2007 and 2010
What is the possible reason of this problem?
Thanks very much.There are several things I don't follow in the details you gave
"I click an excel document in the third-part program and Excel 2007 will be open automatically"
- Describe the 3rd party program you open the workbook in if not Excel"
- What do you mean by "click and Excel document", what do you click and where is the document
- Why click on an Excel document (workbook, worksheet something else?) to get a 3rd party app to automate Excel, then does some other workbook load?
It's very confusing!
Did you try the code in VBA in the instance of the workbook whose sheet you want to return the Print Area
Re: Excel Object Library is 9.0
Did you set a reference to XL-9 in the test app with my code then transfer to a different system with 2007?
However, a ref to xl-9 shouldn't be a problem if the code compiled with that ref. If the app/dll is transferred to a different system it will pick up the Excel GUID in that system, which is exactly the same for all versions since Excel97. The only time it
would be an issue is if code compiled with a new object model is not supported when used with an older Excel object model.
The fact my code appears to work without error returning the message "Print Area not defined" suggests it is referring to a different workbook, ie one in which the Print-Area has not been defined. Double check which workbook it is referring to,
eg
Private Sub cbPrintArea_Click(ByVal Ctrl As Office.CommandBarButton, _
CancelDefault As Boolean)
Dim ws As Excel.Worksheet
Dim s As String, s2 As String
On Error Resume Next
s = xlApp.Caption
If Err.Number Then
MsgBox "xlApp error " & vbCr & Err.Description
Exit Sub
End If
Set ws = xlApp.ActiveSheet
s2 = ws.Parent.Name & vbCr & _
ws.Name & vbCr & _
ws.Range("A1").Value & vbCr
If Err.Number > 0 Then
MsgBox "failed to reference ActiveSheet"
Else
s = ws.PageSetup.PrintArea
If Err.Number Then
MsgBox Err.Description
Else
If Len(s) = 0 Then s = "Print Area not defined"
MsgBox s2 & vbCr & s
End If
End If
End Sub
This should confirm the workbook name, activesheet name and value in A1 (before running maybe add the current time in A1 with ctrl-shift-; in the same workbook as the print-area has been defined)
Peter Thornton -
BE Analyzer not working with Excel 2007 / Gui 710
Hi
I am working on a machine that has MS Office 2007 installed.
Here I am experiencing problems with BEx Analyzer.
The program starts up fine, I can connect to the BI server, see my excisting queries and workbooks when I press "Open" (created on a PC with Office 2003 installed) but as soon as I try to execute either of them I get an error:
"A Critical program error occured.
The program has to close.
Please refer to the trace for further information."
The same error occurs if I try to insert a query to a new workbook.
Background info:
SAP Gui 710, Patch 1
Support Pack Stack 12
According to the documentation I have found the combination of MS Excel 2007 and Gui 710 should be supported.
Johnny H.
PS I have added the SAP folders to my "trusted locations", and I have also marked the "Trust access to the VBA project object model" in the Excel options.Hi,
I'm running SAP Gui 710 patch 3 and the BW add on 710 patch 1 on a Vista with Office 2007 and it runs well. I would suggest to download the latest patches on service.sap.com/swdc
Eddy
PS. Reward useful answers and earn points yourself -
Excel Workbook with Excel Data Model stored on SharePoint - daily refresh
I'm not sure if this is exactly the right forum but I'm hoping that someone here can either answer or point me in the right direction.
I have an Excel Workbook with an Excel Data Model.
The Excel Data Model uses SQL to contact our data warehouse and pull through data into tables.
We are storing the Workbook on a SharePoint site and viewing it using Excel Services.
The data in our data warehouse is updated daily and so I would like to refresh the workbook daily and remove the option to refresh the data in the browser.
Is this possible with a workbook that has an Excel Data Model (I've seen lots of posts that relate to workbooks with connections to tabular models).
Thanks
PaulHi Paul,
I have answered this issue in this thread that you posted in SQL Server PowerPivot for SharePoint forum, please see:
http://social.msdn.microsoft.com/Forums/en-US/9627939c-e9f1-48ae-a6ed-0c238d8f2d69/excel-workbook-with-excel-data-model-stored-on-sharepoint-daily-refresh?forum=sqlkjpowerpointforsharepoint
Furthermore, this issue is more related to PowerPivot for SharePoint. If you have any more questions about PowerPivot for SharePoint, I would sugget you open a new thread in the forum below for better support:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlkjpowerpointforsharepoint
Thanks for your understanding.
Regards,
Elvis Long
TechNet Community Support -
Excel 2007 and Smartview 11.1 file open slow
We are in the process of upgrading to HFM system 11.1 and smartview 11.1.1.3 and as part of this process we are starting to use Excel 2007. I am encountering an interesting problem when opening files in Excel 2007 using smartview 11.1 and I am wondering if any one else has seen this problem and found a solution.
First I converted an excel 2003 file to excel 2007 and saved the file as an xlsx file type. Then I am able to open the file and it would take about 30 seconds to open the file. The file has about 15,000 formulas on for spreadsheets. If I click on each spreadsheet individually and use the "Refersh" button I can save the file in about 10 seconds and then close the file. When I open the file again it will open in 30 seconds. Now using the same file I click "Refresh All" and the file processes fine. I am able to save and close the file in about 10 seconds. However, when I try to open the file again it takes about 20 minutes to open, and then 20 minutes to close.
This only happens with two or three files. I have another file that is 40 spreadsheets and about 3,000 formulas that is not affected when I click Refresh or Refresh All.
Any help would be apperciated.
RichHi
On metalink i found some notes about this issure
"Background
SmartView communicates over HTTP using .NET. This just means that requests and responses are sent in a standard XML format that is tucked in the HTTP headers. The mechanism is the same as when your internet browser requests a file or submits a form (simplification). A standard Microsoft component that is part of Internet Explorer is used for this.
There are three components (four if you include the network) in a SmartView refresh:
-the client
-the web server
-the HFM application server
It is easiest to troubleshoot when they are on separate machines. (Running SmartView on the server to see whether it works better is a useful test to see what effect the network is having, but doesn't show any other bottlenecks.) If you run Task Manager on these 3 machines showing the Performance tab, you will see initial activity on the client as Excel clears the cells and the request is converted into XML. Then you see the web server get busy as it receives and parses the request. Then the application server is busy as it send the data, then the web server is busy as it compiles the results into XML again, and finally the client parses the XML, pushes the data into cells and runs an Excel calculation. This last stage is the longest of all. Overall, it is typical to see the client doing 90-95% of the work, so client performance is a very important factor. Look out for Excel's memory usage increasing and RAM becoming in short supply. Often, user dissatisfaction with refresh times can be alleviated by giving them more RAM or a faster PC.
The situation we are dealing with here, however, is when the chain of events described above is interrupted. In this case, you will see the client or the web server wait in vain for a response from the next machine in the chain. The case of invalid XML is similar, but the response is truncated so that the XML is not well-formed when it arrives. XML consists of matching pairs of tags and is not well-formed when a closing tag is missing. This can be caused by certain network settings such as packet size (see later). The end result in either case is the same: as Excel cleared the cells before sending the request, cells are left blank or with zeroes.
Your job now is to work out why the particular component is failing.
Client
Check the HTTP time out in the registry:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]\
"ReceiveTimeout"=dword:00dbba00
"KeepAliveTimeout"=dword:002BF20
"ServerInfoTimeout"=dword:002BF20
The time-out limit is five minutes for versions 4.0 and 4.01 and is 60 minutes for versions 5.x and 6. Also, the time-out limit is 30 seconds for Windows Internet Explorer 7. To change the settings, add the above keys. The above values are hexadecimal, not decimal and correspond to 18000 milliseconds (3 minutes) and 240 minutes for the receive time-out. See
- http://support.microsoft.com/kb/813827
- http://support.microsoft.com/kb/181050
Once you make those changes, my recommendation is that you reboot the client machine.
Web server
Look for errors in logs showing that the web app didn't respond/disconnected or timed out waiting for another application (i.e. the HFM application server). Eliminate load balancers etc. during testing in order to isolate the problem and to ensure that the user always goes to the same web server otherwise, logs can be hard to interpret. See also the IIS Tuning Guide for IIS settings. We cannot recommend particular settings, as each client must establish the optimal settings for their own environment after performance testing. If necessary, engage the services of a suitably qualified consultant.
Application Server
HFM application server performance is very dependent on whether the data is already in RAM or not. One symptom, where the first refresh fails but the second one succeeds, is probably a sign that the cache needed to be populated and once that had been done (by the first refresh) it went faster. HFM loads whole subcubes (Scenario, Year, Value and Entity) into cache, so asking for lots of accounts in the same subcube is fast, but asking for lots of entities will inevitably slow things down as it runs out of RAM and starts unloading subcubes to make room for more. The HFM event log (HsvEventLog.log) shows this happening, but don't forget that the messages you see are a normal consequence of the way HFM works and are not a problem unless you see a hugely elevated number of them during the period the refresh occurs. Another sign would be page file thrashing.
If there are several servers in a cluster, use sticky sessions in HFM to make sure tests always go the same server, or hit one server directly rather than using the cluster.
Solutions here involve giving more RAM to the server (probably not possible because of the 2 GB limit) and changing the worksheet design to restrict the number of subcubes accessed. A separate consolidation server, so that reads are not competing with intensive consolidations and calculations, would be a good thing.
Network
To find out if packets get fragmented, use
ping -l size -f
to send a big packet with the 'don't fragment' flag. E.g.
Ping -l 1024 -f oracle.com
If you see a reply like Reply from 141.146.8.66: bytes=1024 time=200ms TTL=245 then the size you specified is below the packet limit of the network. But if you use, for example, 2000 in place of 1024, you get Packet needs to be fragmented but DF set, then you know you have exceeded the limit. Combine this investigation with a Fiddler trace (https://www.fiddler2.com/fiddler2/) to see what size data messages are being sent and received.
Troubleshooting Guidance
If you seriously want to go into this in more detail, then it will take a considerable effort on your and your IT Department's part. My general advice would be:
1. During this process, fix your environment so that it is predictable. Register a single HFM application server and connect to that. Use a single web server and don't go through Apache or any other redirector. Make sure we know which machine to go to for logs. This would be a temporary measure and it doesn't stop the other users using the full, load balanced system so long as it doesn't involve your server.
2. As far as possible keep other users from using it during testing, unless you are specifically testing for performance under load. We want to see what activity is due to SmartView and not random other jobs.
3. Use PerfMon on all three machines: client, web server and application server.
4. Clear Logs before testing and note the times of each test so the logs can be correlated.
5. Log CPU activity, memory usage, network throughput, page faults, thread count etc. I'm no expert on this so get advice from someone who is.
6. In addition to the performance logs, from the IIS Server get:
* HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR (Default location; configurable)
* IIS Website Log - %windir%\System32\LogFiles\W3SVC# (Default location; configurable)
* Event Log (both System and Application) in EVT and TXT (tab separated) formats
7. From HFM Application server get:
* HsvEventLog.log (in <HFM install>\Server working Folder)
* Event Log (both System and Application) in EVT and TXT (tab separated) formats
8. Be aware of all timeout settings in your environment (i.e. IIS & the network) and time your tests. This can show whether it is an ASP timeout, script timeout, client side timeout or whatever. Note that the Web Session Timeout setting for SmartView in HFM's Server and Web Configuration is a separate issue from IIS timeouts. Web Session Timeout controls the length of idle time before SmartView makes the user log in again. Default 20 mins.
9. Run Fiddler traces to directly observe the XML and check for HTTP failures.
Further resources
- Tuning IIS 6.0 for HFM
- SmartView Performance FAQ
Both are available from Support.
Author: Andrew Rowland
Version: 11.x (Fri, 30 October 2009)"
regards
Alexander -
Known issues for OBIEE Office Add in with Excel 2007?
Hi,
Does anybody know if there are issues for the office add-in with Office 2007?
i'm playing around a little bit to see how it works, but it seems that Excel interferes with the layout.
I do get different grafs and also i tried the tutorial with the excel template and my changes come only partly through.
Thanks
SandraHi Sandra,
Were you able to use OBIEE Office Add in with Excel 2007? I am planning to look at this compatibility. I am looking here to seeif anyone found issues with this setup..
Thanks,
Bharat -
Smartview: Excel 2007 and 9.3.0.1
Is there a version of Smartview for 9.3.0.1 that works with Excel 2007?
If so where I can get it? And are there any known issues with it?
Thanks,
Dave WI have a problem with Excel 2007. With Smartview installed, I cannot "save" or "save as" a new file. When I try to save, the save/save as diaglogue box does not show the folders, the file name box nor the save as type box. Any suggestions?
-
Hyperion Essbase QAT Menu with Excel 2007
I just upgraded to Hyperion Essbase 11.1.1.3 and I recently upgraded to Excel 2007. Moving to XL2007 made the Essbase add-in two levels deep in the ribbon so I wanted to move this to the Quick Access Toolbar (QAT). I found a great tool to develop QAT menus authored by [url http://www.rondebruin.nl/qat.htm]Ron Debruin.
I took his code and customized it to work with the Hyperion commands. Picture of menu here: http://i.imgur.com/X7zFS.jpg
Everything worked great for a few month for both myself and about 75 coworkers but once we upgraded to Essbase 11.1.1.3 from 7, the menu macros stopped working for almost everyone except for myself and a few others.
I set this macro in the xlstart folders so that it opens with excel. The QAT menu still appears for everyone, but when selecting any of the menu items to run, nothing runs.
Example: When running
Sub MyMacro21()
Call EssMenuVConnect
End Subfrom the custom QAT menu, nothing happens. What should occur is a popup login for Hyperion. I've even tried to run the code outside of the QAT menu and it does not work so this leads me to believe something is wrong with my Hyperion code. Now mind you, this work fine on my machine.
I'm unable to determine the cause for the macro to not work. Any help or troubleshooting pointers would be appreciated.
Here is the code that I'm using.
Thanks in advance for any help.
-Risk
<font color="blue">First Module (Hyperion Code and subs for the QAT menu)</font>
Option Explicit
Option Private Module
Declare Function EssMenuVRetrieve Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVKeepOnly Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVZoomIn Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVZoomOut Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVPivot Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVWizard Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVQueryDesigner Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVFlashBack Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVOptions Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVMemberSelection Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVCurrencyReport Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVCascade Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVRetrieveLock Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVLock Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVUnlock Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVSend Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVCalculation Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVConnect Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVDisconnect Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVDatalessNav Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVLinkedObjects Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVRemoveOnly Lib "ESSEXCLN.XLL" () As Long
Declare Function EssMenuVLaunchTableau Lib "ESSEXCLN.XLL" () As Long
' The following prototype declares the VBA-specific functions
Declare Function EssVGetHctxFromSheet Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Long
Declare Function EssVGetMemberInfo Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal mbrName As Variant, ByVal action As Variant, ByVal aliases As Variant) As Variant
Declare Function EssVFreeMemberInfo Lib "ESSEXCLN.XLL" (ByRef memInfo As Variant) As Long
Declare Function EssVFreeDataPoint Lib "ESSEXCLN.XLL" (ByRef Info As Variant) As Long
' The following constants are suitable as actions
' for the EssVGetMemberInfo function
Const EssChildLevel = 1
Const EssDescendentLevel = 2
Const EssBottomLevel = 3
Const EssSiblingLevel = 4
Const EssSameLevel = 5
Const EssSameGenerationLevel = 6
Const EssCalculationLevel = 7
Const EssParentLevel = 8
Const EssDimensionLevel = 9
' The following prototypes declare the Visual Basic
' Extended Spreadsheet macro-equivalent functions
Declare Function EssVCalculate Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal calcScript As Variant, ByVal synchronous As Variant) As Long
Declare Function EssVCancelCalc Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Long
Declare Function EssVCascade Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal selection As Variant, ByVal path As Variant, ByVal prefix As Variant, ByVal suffix As Variant, ByVal level As Variant, ByVal openFile As Variant, ByVal copyFormats As Variant, ByVal overwrite As Variant, ByVal listFile As Variant) As Long
Declare Function EssVCell Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ParamArray memberList() As Variant) As Variant
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 EssVFlashBack Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Long
Declare Function EssVGetCurrency Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Variant
Declare Function EssVGetDataPoint Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal cell As Variant, ByVal range As Variant, ByVal aliases As Variant) As Variant
Declare Function EssVGetGlobalOption Lib "ESSEXCLN.XLL" (ByVal item As Long) As Variant
Declare Function EssVGetSheetOption Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal item As Variant) As Variant
Declare Function EssVKeepOnly Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal selection As Variant) As Long
Declare Function EssVRemoveOnly Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal selection As Variant) As Long
Declare Function EssVPivot Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal startPoint As Variant, ByVal endPoint As Variant) As Long
Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal lockFlag As Variant) As Long
Declare Function EssVSendData Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant) As Long
Declare Function EssVSetCurrency Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal currencyIdentifier As Variant) As Long
Declare Function EssVSetGlobalOption Lib "ESSEXCLN.XLL" (ByVal item As Long, ByVal globalOption As Variant) As Long
Declare Function EssVSetSheetOption Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal item As Variant, ByVal sheetOption As Variant) As Long
Declare Function EssVUnlock Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Long
Declare Function EssVZoomIn Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal selection As Variant, ByVal level As Variant, ByVal across As Variant) As Long
Declare Function EssVZoomOut Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal selection As Variant) As Long
Declare Function EssVSetMenu Lib "ESSEXCLN.XLL" (ByVal setMenu As Boolean) As Long
Declare Function EssVGetStyle Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal styleType As Variant, ByVal dimName As Variant, ByVal item As Long) As Variant
Declare Function EssVSetStyle Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal styleType As Variant, ByVal dimName As Variant, ByVal item As Long, ByVal newValue As Variant) As Long
Declare Function EssVLoginSetPassword Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal newPassword As Variant, ByVal oldPassword As Variant, ByVal server As Variant, ByVal userName As Variant) As Long
Declare Function EssVSetSKUMouse Lib "ESSEXCLN.XLL" (ByVal fSKUWithMouse As Variant) As Long
Sub MyMacro1()
Call EssMenuVRetrieve
End Sub
Sub MyMacro2()
Call EssMenuVKeepOnly
End Sub
Sub MyMacro3()
Call EssMenuVRemoveOnly
End Sub
Sub MyMacro4()
Call EssMenuVZoomIn
End Sub
Sub MyMacro5()
Call EssMenuVZoomOut
End Sub
Sub MyMacro7()
Call EssMenuVDatalessNav
End Sub
Sub MyMacro9()
Call EssMenuVLinkedObjects
End Sub
Sub MyMacro12()
Call EssMenuVFlashBack
End Sub
Sub MyMacro13()
Call EssMenuVOptions
End Sub
Sub MyMacro14()
Call EssMenuVMemberSelection
End Sub
Sub MyMacro15()
Call EssMenuVCurrencyReport
End Sub
Sub MyMacro17()
Call EssMenuVLock
End Sub
Sub MyMacro18()
Call EssMenuVUnlock
End Sub
Sub MyMacro19()
Call EssMenuVSend
End Sub
Sub MyMacro20()
Call EssMenuVCalculation
End Sub
Sub MyMacro21()
Call EssMenuVConnect
End Sub
Sub MyMacro22()
Call EssMenuVDisconnect
End Sub
Sub MyMacro23()
Call SHRetrieveRetain
End Sub
Sub MyMacro24()
Call WBRetrieveRetain
End Sub
Sub MyMacro25()
Call SHRetrieveSuppress
End Sub
Sub MyMacro26()
Call WBRetrieveSuppress
End Sub<font color="blue">Second Module (this is Ron Debruin's QAT code)</font>
Option Explicit
Option Private Module
'TIP:
'After you click on "Edit Menu" in the menu you can change the button image.
'Right click on the QAT and choose Customize Quick Access Toolbar.
'In the “Choose commands from” dropdown choose Macros and in the
'Customize Quick Access Toolbar dropdown choose "For My Add-in.xlam".
'Select the RDBDisplayPopUp macro and press the Modify button to change the icon.
Sub WBCreatePopUp()
Dim MenuSheet As Worksheet
Dim MenuItem As Object
Dim SubMenuItem As CommandBarButton
Dim Row As Integer
Dim MenuLevel, NextLevel, MacroName, Caption, Divider, FaceId
' Location for menu data
Set MenuSheet = ThisWorkbook.Sheets("MenuSheet")
' Make sure the menus aren't duplicated
Call WBRemovePopUp
' Initialize the row counter
Row = 5
' Add the menu, menu items and submenu items using
' data stored on MenuSheet
' First we create a PopUp menu with the name of the value in B2
With application.CommandBars.Add(ThisWorkbook.Sheets("MenuSheet"). _
range("B2").Value, msoBarPopup, False, True)
Do Until IsEmpty(MenuSheet.Cells(Row, 1))
With MenuSheet
MenuLevel = .Cells(Row, 1)
Caption = .Cells(Row, 2)
MacroName = .Cells(Row, 3)
Divider = .Cells(Row, 4)
FaceId = .Cells(Row, 5)
NextLevel = .Cells(Row + 1, 1)
End With
Select Case MenuLevel
Case 2 ' A Menu Item
If NextLevel = 3 Then
Set MenuItem = .Controls.Add(Type:=msoControlPopup)
Else
Set MenuItem = .Controls.Add(Type:=msoControlButton)
MenuItem.OnAction = ThisWorkbook.Name & "!" & MacroName
End If
MenuItem.Caption = Caption
If FaceId <> "" Then MenuItem.FaceId = FaceId
If Divider Then MenuItem.BeginGroup = True
Case 3 ' A SubMenu Item
Set SubMenuItem = MenuItem.Controls.Add(Type:=msoControlButton)
SubMenuItem.Caption = Caption
SubMenuItem.OnAction = ThisWorkbook.Name & "!" & MacroName
If FaceId <> "" Then SubMenuItem.FaceId = FaceId
If Divider Then SubMenuItem.BeginGroup = True
End Select
Row = Row + 1
Loop
End With
End Sub
Sub RDBDisplayPopUp()
On Error Resume Next
application.CommandBars(ThisWorkbook.Sheets("MenuSheet").range("B2").Value).ShowPopup
On Error GoTo 0
End Sub
Sub EditMenu()
ThisWorkbook.IsAddin = False
End Sub
Sub WBRemovePopUp()
On Error Resume Next
application.CommandBars(ThisWorkbook.Sheets("MenuSheet").range("B2").Value).Delete
On Error GoTo 0
End Sub<font color="blue">Third Module (some custom Essbase comands to toggle between "retain formula options" and "suppress zero options")</font>
Option Explicit
Sub WBRetrieveRetain()
Dim sh As Worksheet, HidShts As New Collection 'to handle hidden sheets
For Each sh In ActiveWorkbook.Worksheets
If Not sh.Visible Then
HidShts.Add sh
sh.Visible = xlSheetVisible
End If
Next sh
For Each sh In Worksheets
Sheets(sh.Name).Activate
'Turn On Retain and Turns off Suppress and double clicks
If EssVGetSheetOption(Empty, 6) = True Or _
EssVGetSheetOption(Empty, 7) = True Then
Call EssVSetSheetOption(Empty, 6, False)
Call EssVSetSheetOption(Empty, 7, False)
End If
If EssVGetGlobalOption(1) = True Or _
EssVGetGlobalOption(2) = True Then
Call EssVSetGlobalOption(1, False)
Call EssVSetGlobalOption(2, False)
End If
Call EssVSetSheetOption(Empty, 11, True)
Call EssVSetSheetOption(Empty, 21, True)
Call EssVSetSheetOption(Empty, 22, True)
Next
For Each sh In HidShts
sh.Visible = xlSheetHidden
Next sh
End Sub
Sub SHRetrieveRetain()
'Turn On Retain and Turns off Suppress and double clicks
If EssVGetSheetOption(Empty, 6) = True Or _
EssVGetSheetOption(Empty, 7) = True Then
Call EssVSetSheetOption(Empty, 6, False)
Call EssVSetSheetOption(Empty, 7, False)
End If
If EssVGetGlobalOption(1) = True Or _
EssVGetGlobalOption(2) = True Then
Call EssVSetGlobalOption(1, False)
Call EssVSetGlobalOption(2, False)
End If
Call EssVSetSheetOption(Empty, 11, True)
Call EssVSetSheetOption(Empty, 21, True)
Call EssVSetSheetOption(Empty, 22, True)
End Sub
Sub SHRetrieveSuppress()
'Turn Off Retain and Turns on Suppress
If EssVGetSheetOption(Empty, 11) = True Or _
EssVGetSheetOption(Empty, 21) = True Or _
EssVGetSheetOption(Empty, 22) = True Then
Call EssVSetSheetOption(Empty, 11, False)
Call EssVSetSheetOption(Empty, 21, False)
Call EssVSetSheetOption(Empty, 22, False)
End If
Call EssVSetSheetOption(Empty, 6, True)
Call EssVSetSheetOption(Empty, 7, True)
End Sub
Sub WBRetrieveSuppress()
Dim sh As Worksheet, HidShts As New Collection 'to handle hidden sheets
For Each sh In ActiveWorkbook.Worksheets
If Not sh.Visible Then
HidShts.Add sh
sh.Visible = xlSheetVisible
End If
Next sh
For Each sh In Worksheets
Sheets(sh.Name).Activate
'Turn Off Retain and Turns on Suppress
If EssVGetSheetOption(Empty, 11) = True Or _
EssVGetSheetOption(Empty, 21) = True Or _
EssVGetSheetOption(Empty, 22) = True Then
Call EssVSetSheetOption(Empty, 11, False)
Call EssVSetSheetOption(Empty, 21, False)
Call EssVSetSheetOption(Empty, 22, False)
End If
Call EssVSetSheetOption(Empty, 6, True)
Call EssVSetSheetOption(Empty, 7, True)
Next
For Each sh In HidShts
sh.Visible = xlSheetHidden
Next sh
End Sub<font color="blue">Excel Object Code</font>
Option Explicit
Private Sub CommandButton1_Click()
Call WBCreatePopUp
MsgBox "Click on the button in the QAT to see if your menu is correct.", vbOKOnly, "Favorite Macro Menu"
End Sub
Private Sub CommandButton2_Click()
Call WBCreatePopUp
range("A1").Select
ThisWorkbook.IsAddin = True
ThisWorkbook.Save
End Sub
Private Sub CommandButton3_Click()
ThisWorkbook.IsAddin = True
ThisWorkbook.Saved = True
End Sub
Option Explicit
Private Sub Workbook_Open()
Call WBCreatePopUp
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Call WBRemovePopUp
End SubHi Mathieu,
As per support matrix documentation, Essbase 7.1.3 is not supported with Excel 2007.
You may have to upgrade to client version 7.1.6.7 which supports Excel 2007.
Thanks,
Raja -
Essbase 7 add-in with Excel 2007
Hi,
We are using Essbase Spreadsheet services 7.1.3 (EssbaseWebService) in Excel 2007 and we are facing an issue with the zoom-in function. The zoom-in retrieval time is a lot more time consuming than with Excel 2003.
Do someone ever faced the same issue ?
Thanks !
MathieuHi Mathieu,
As per support matrix documentation, Essbase 7.1.3 is not supported with Excel 2007.
You may have to upgrade to client version 7.1.6.7 which supports Excel 2007.
Thanks,
Raja -
Error in BEX7.0 with Excel 2007
Previously we had Excel 2003. It was working fine with BI7.0
When we installed Excel 2007, and trying to open a query.. it is giving folowing error
"Critical Program Error Occured. The Program has to close. Please refer to the trace for further information"
I thought its authorization issue, so I traced using ST01 for this. But there the return code is showing Sucess ( RT = 4). So can anyone let me know where is the errror.
Client wants to work with EXcel 2007 with BI7.0
Please consider this as urgent
savithaHi Savitha,
support on office 2007 is available with FEP 2.
check with the SAP note 1013140
also check the thread
Re: Excel 2007 and BEX Analyzer
Hope this resolves
Regards
Karthik. -
How to open TXT file with excel 2007
With Excel 2003 if we right click the txt source file name, there will be an option to open the file Excel, but with Excel 2007, then we right click txt fiel name , there is no option of open the file with excel, is this mean that we have to copy the txt file to excel file to manipulate the source file? Any idea how to do this?
just find out that we can use the browser to find the excel and open the file, next time the excel option will be there.
-
I am using Windows Vista with Outlook 2007 and iCloud. Everything has been great until this morning. I'm suddenly getting the message "Set of folders cannot be opened. The information store could not be opened. I tried running the repair utlity to repair the iCloud however I am still getting this error message.
I tried rebooting. It didn't change anything.
Maybe you are looking for
-
Hi , Iam trying to write an extractor for open and closed items ie form BSAD and BSID . So i have written the logic .when i tryed to modularise the code .the function module is not acteping the perform statment Ie when i tryed to put the logic in
-
Creative Website Down for X-Fi / Soundblaster Drivers
I'm trying to download a number of updates from http://support.creative.com/Products/Products.aspx catid=&catName=Sound+Blaster but I keep getting "500 Internal Server Error The page you've access is experiencing an error. You might have used an outd
-
The "File Info..." box does not appear, how to fix?
I have sent this in on the bug fix form and thought id ask on here as well. Basically I am trying to find out the information for my document which I am in the middle of editing, though after clicking on file info within the file menu nothing appears
-
Acrodist.exe & Acrobat.exe error during install
I've tried to talk to 4 different tech support 2 days ago with no help being provided. I'm upgrading from Acrobat 6.0 Standard to Acrobat 9.0 Pro on an EFI Fiery server that's attached to my Xerox Docucolor 240. I follow the instructions of the insta
-
Using SHeaderFROM in mailsender CC and in receiver determination
Hi I am using a mailsender adapter where I need to send messages from one particular sender adress to one folder and messages from other senders to an other folder. In my mailsender communication channel I am using the AF_Modules/PayloadSwapBean modu