Excel 2007 Merge Rows
How can I merge rows together to go from this:
1
2
3
A
F
A
G
A
D
H
B
I
B
J
C
K
C
L
C
M
C
E
N
To this:
1
2
3
A
D
F, G, H
B
I, J, K
C
E
L, M, N
Try VBA code:
Sub Test()
Dim d1 As Object, d2 As Object, d3 As Object, i%, arr
Set d1 = CreateObject("scripting.dictionary")
Set d2 = CreateObject("scripting.dictionary")
Set d3 = CreateObject("scripting.dictionary")
arr = Range("A1").CurrentRegion
For i = 2 To UBound(arr)
For j = 2 To Application.CountA(ActiveSheet.Range("1:1"))
d1(arr(i, 1)) = ""
d2(arr(1, j)) = ""
d3(arr(i, 1) & arr(1, j)) = d3(arr(i, 1) & arr(1, j)) & arr(i, j)
Next
Next
Range("B16").Resize(1, d2.Count) = d2.keys
Range("A17").Resize(d1.Count, 1) = Application.Transpose(d1.keys)
For i = 17 To d1.Count + 16
For y = 2 To d2.Count + 1
If d3.exists(Cells(i, 1) & Cells(16, y)) Then
Cells(i, y) = d3(Cells(i, 1) & Cells(16, y))
End If
Next
Next
End Sub
Wind Zhang
TechNet Community Support
Similar Messages
-
BEx 7.X + MS Excel 2007 - Max number of Rows
Hi,
I've been looking for some way to show more than 65k rows in Excel 2007 using BEx Analyzer 7.X.
I have a customer that has this issue. I know that use more than 65k rows is not a property of a BI report and reports with more than 65k rows would have problems with performance, but my customer has this issue.
Do you know some way to solve this problem? Can Excel 2007 + BEx Analyzer 7.X show more than 65k rows?
Thanks,
Best Regards,
Marco MunizHi Marco,
as far as I know in Excel 2007 it is possible to show
1,048,576 rows by 16,384 columns
Please check this thread:
WAD 7.0 MENU_ITEM with html Frame -
TDMS Excel Add-in Does not support new Excel 2007 Row Limit
First off I would like to say the TDM/TMDS format is really useful. It allows you to do all kinds of things that would be a real pain if you tried to do it with tab delimited spreadsheets. You can format data into excel sheets for analysis with seperate tabs and channel names over the columns and the whole nine yards. You can even throw error messages into the properties that show up on the first tab.
The problem occurs when the user is working with really large files. Excel 2003 and all previous versions of Excel have limits of 65,536 rows by 256 columns. Until the latest version of the TDM Excel Add-in if you tried to import files larger than this it would throw an error and wouldn't create any file at all. Now it imports a file and you specify the index, which is so much better.
Excel 2007 supports 1,048,576 rows by 16,384 columns! This is really useful. But the current version of the TDM Excel Add-In does not support the new row limit. Is there any way we can get a version of this for 2007 that supports the new row limits? It would be cool if the Add-in could auto-detect the version and change the import limits accordingly but that may be too much to ask. Has anyone else run into these problems?
My client would like to record hour long files at 200Hz all day long. Thats 720,000 rows of data per file. Yes, thats a lot but excel can handle it. The TDMS importer cannot. Of course there are work arounds and we will have to use one if a new version of the TDM Excel Add-in is not made soon. Is there a new version coming? Please say yes.
[will work for kudos]
Solved!
Go to Solution.I redownloaded the file. I couldnt figure out how to completely uninstall the verison of the TDM importer already installed, so I just tried to install the one i downloaded. The installer said "no software will be installed or removed" and I had to click cancel because there was no next option.
I tried to import the data again with the importer and got the same 'selective import' dialog box again, limiting me to the 65,535 rows.
Here is what I am getting.
How do I uninstall the add-in so that I may reinstall it?
I uploaded a copy of one of my tdms files to the ftp.ni.com/incoming directory for you to download and attempt to import.
File: "442732.zip" size: 82.2 mb
A little more information about the tdms file
The data is 14 columns of single precision float and is about 720k rows. There are four sections (sheets in the same excel document) with the data converted differently in each tab/section. The data is the same amount in each section as well. There are also a couple sections listing the constants and scalars used to convert the data, as well as the typical first page of tdms information about the data.
[will work for kudos] -
Excel 2007 to Sql server table. Column with more than 255 characters.
Hi there,
I am facing a problem while converting data from Excel 2007 to SQL server 2005 table. I am using BIDS 2005.I have an excel file where one particular column has more than 255 characters. I use OLEDB connection for excel file as there is no driver for Excel
2007 in BIDS2005. I am using Microsoft Office 12.0 Access Database Engine OLE DB Provider for Excel file.
Next, I changed advanced properties for the column to DT_NTEXT. But when I am getting errors on execution. They are:
[OLE DB Source [1949]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.
[OLE DB Source [1949]] Error: Failed to retrieve long data for column "action".
[OLE DB Source [1949]] Error: There was an error with output column "action" (2046) on output "OLE DB Source Output" (1959). The column status returned was: "DBSTATUS_UNAVAILABLE".
[OLE DB Source [1949]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "action" (2046)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column "action"
(2046)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
Please advise on how can I deal with columns having more than 255 characters in Excel file.
Thanks!Here is what your connection string should look like for excel source
Provider
=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\temp\test.xls;Extended
Properties="EXCEL 8.0;HDR=YES";
http://sqlworkday.blogspot.com/ -
How can I Convert BO 6.5 results to Excel 2007?
Post Author: Leptuski
CA Forum: General Feedback
Hello anyone there!
Kindly inform me if it is possible for me to save a BO 6.5 result to excel 2007. I actually need the surplus rows that Excel 2007 affords me. Whenever I try to 'save as', I get the option to save using the old version of excel. This is inspite of having uninstalled MS Office 2003 on my system and installing 2007.
All suggestions are welcome. Thanks!
Leptuskihave a look here:
http://discussions.apple.com/thread.jspa?threadID=246070 -
Excel 2007 file *.xlsx
I use Crystal XI, what I do to conect to my database is just click on "creat a new conection" and click on "access/excel (DAO)" then browse to pick my file, It has been working with no problems but I just changed my excel version from 2003 to 2007, and It is giving me the following error
LOGON FAILED.
DETAILS : DAO ERROR CODE 0xcca.
SOURCE :DAO Workspace.
DESCRIPTION : EXTERNAL TABLE IS NOT IN THE EXPECTED FORMAT"
This is happenning when I try to create a new report.
I have also tried with "ODBC(RDO)" I select the data as "Excel files" click on finish, select the file, click "OK", but it shows in the tree below "ODBC(RDO)" an "Excel Files" directory and "Add command" ..... I can't connect to my data table
Can anyone please help me??Can you check Note 1010935 - Can you increase the number of rows for an export file?
Symptom
Is it possible to increase the maximum number of rows used in an export?
Solution
Yes, it is possible to increase the maximum row limit used in an export.
For hosted customers, please contact Support who will be able to change this on your behalf.
For On Premise customers, you need to log into the application using the "system" login. The property can be found by going to the following:
Setup / System Setup / Configuration / select System Properties from the drop down list and find the property system.ResultSet.maxNumberRowsExported
The description on this property is as follows:
Maximum number of rows in a query result set which may be exported to PDF, Excel, or CSV before the operation is prohibited. This is also used to limit the size of a result set being produced by a scheduled report task.
Please note that Excel also has some limitations on the maximum number of rows, therefore you may still experience a limit to 65K (which was the Excel Limit in Excel97 - Excel 2003). Therefore if you export to excel and your limit is higher than 65K, you will still only see 65K of records. The reason for this is that the open source Apache POI that is used to do the export has not been updated to support Excel 2007 which has a higher limit
Thanks -
Conditional format with large data fails and show error as "Selection is too large" in Excel 2007
I am facing a issue in paste special operation using conditional formats for large data in Excel 2007
I have uploaded a file at below given location.
http://sdrv.ms/1fYC9qE
The file contains two sheets, Sheet "Data" contains the data on which formats are to be applied and sheet "FormatTables" contains the format tables which contains conditional formating.
There are two table in "FormatTables" sheet. Both have some conditional formats applied on it.
Case 1:
1. Select the table range of Table1 i.e $A$2:$AV$2
2. Copy it
3. Goto Sheet "Data"
4. Select data area i.e $A$1:$AV$20664
5. Perform a paste special operation on full range and select "Formats" option while performing paste special.
Result:
It throws error as "Selection is too large"
Case 2:
1. Select the table range of Table2 i.e $A$5:$AV$5
2. Copy it
3. Goto Sheet "Data"
4. Select data area i.e $A$1:$AV$20664
5. Perform a paste special operation on full range and select "Formats" option while performing paste special.
Result:
Formats get applied successfully.
Both are the same format tables with same no of column and applied to same data range($A$1:$AV$20664) where one of the case works and another fails.
The only diffrence is Table1 has appliesTo range($A$2:$T$2) as partial of total table range($A$2:$AV$2) whereas the Table2 has appliesTo range($A$5:$AV$5) same as of its total table range($A$5:$AV$5)
NOTE : This issue is only in Excel 2007Excel 2007 No Supporting formating to take a formatting form another if source table has more then 16000 rows and if you want to do that in more then it then you have ot inset 1 more row in your format table to have 3 rows
like: A1:AV3
then try to copy that formating and apply
Solution Case 1:
1.Select the table range of Table1 i.e AV21 and drage it down to one row down
2. Select the table range of Table1 i.e $A$2:$AV$3
3. Copy it
4. Goto Sheet "Data"
5. Select data area i.e $A$1:$AV$20664
6. Perform a paste special operation on full range and select "Formats" option while performing paste special -
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 -
Acrobat Pro 8.2.5 + Excel 2007 Intermittent Problem
Acrobat Pro 8.2.5 (fully updated) + MS Excel 2007 (fully updated) + WinXP Pro (fully updated)
Excel document has several worksheets, one of which I convert to PDF weekly to put on an internal web link
I use the Excel toolbar icon Acrobat added to Excel, clicking Acrobat-Create PDF, to start the process
I always accept the default location, since I delete the local file after uploading to the server... therefore I never have to tell Acrobat it is OK to replace the file
About 1/2 the time, when I select the individual worksheet and tell Acrobat to convert to PDF, it asks me for a file name and then actually creates that file
The rest of the time, it asks me for the file name and goes through the process, but does NOT create the file... so I have to start over and let Acrobat do the work again... I have never had the process fail twice in a row
This is a company computer so I may not replace Acrobat Pro 8x
Is there anything else I may do?A week or so after Microsoft's latest "Patch Tuesday" I went to create my usual PDF
Clicked on the toolbar option and got to the point of entering the file name, when Excel locked
Nothing I did could get Excel to work, so had to close it with Task Manager
When I went back to Excel to create the PDF, the option was gone from the toolbar
I was tired of messing around with this, so now I just use the File--Print--Adobe PDF process
This works every time, and is actually faster than before with the toolbar option
As long as I can create my weekly PDF I don't really care HOW it's done, just that it works -
Excel 2007 csv file formatting issue
Our users create .csv files for upload to SAP. Their habit is to include a number of blank lines in excel to make it more readable.
In Excel 2003, blank lines were handled as, literally, blank lines, and opening in a text editor shows exactly that, a blank line (with a CR-LF character to terminate the row).
In Excel 2007 however, the blank line consists of a number of commas equal to the no. of columns, followed by the CR-LF termination. Hope that makes sense.
While the 2003-generated .CSVs are fine, the 2007 versions cause SAP to throw an exception ("Session never created from RFBIBL00") and the upload fails. The question therefore is, has anyone ever come across anything similar, or is anyone aware of any remediation that might be possible? Haven't been able to find any documentation on this Excel 2003-2007 change sonot able to address the issue through Excel config.
Thanks!
DuncanHello
Please refer to the consulting note 76016 which will provide information on the performance of the standard program
RFBIBL00.
Regards. -
Showing Zero values in OLAP Pivot Table for Excel 2007
Hello,
I needed a help to a problem. Is it possible to show the values with No sales in an Olap Pivot Table ??
I have a sales Cube, and brwsing it via excel i wanted to filter on a Product Category and see how many products in this category had made no Sales. By default the Pivot table doesn't shows the empty values, so if i check the Showm empty rows option for
Pivot Tables, i see the whole of the products populated with and without sales, and i can't filter further. Is there a way i can only get those which have no sales.
Vinish ViswanathanHappy Holidays,
I can slice on product categories in Excel 2013 with these settings for the Pivot Table:
Activate "Show items with no data for rows and columns"
Apply a value filter that says that the measure should filter on values = 0
Have the product natural hierarchy on rows with levels product category->subcategory->product.
Expand the levels below product category
Use the product category attribute and not the hierarchy as the filter.
I do not have Excel 2007 installed anymore.
HTH
Thomas Ivarsson -
TRIM() not found? Compile error: Can't find project or library in Excel 2007
I am preparing to make a few alterations to a spreadsheet that another person built. I have NOT made any changes to it yet.
They put in a button that allows portions of the worksheet to print. I am now using Excel 2007. Their code ran fine in 2003.
The button had worked in Excel 2003- but now (without any changes) throws an error "Compile Error: Cant find project or library."
TRIM is highlighted in the following code: (See below for the whole sub)
If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
If RowCounter > PrintRowMarker Then
PrintRowMarker = RowCounter
End If
If ColumnCounter > PrintColumnMarker Then
PrintColumnMarker = ColumnCounter + 1
End If
End If
I have added in the following references into Excel via the big button in the upper left and the "Excel Options" screens:
Analysis Toolpak and Analysis Toolpak-VBA. The sheet "Measurements" is present.
1) Are these the right packages for the TRIM function?
2) Is there a different Add-in that is needed?
3) Is there an additional step I must use to actually add in these packages?
4) Is there something else I should do?
Thanks-
Loralee
P.S. Access 2003 finds (it's version of) TRIM fine- so a version is on the machine. This spreadsheet if failing in the same way on 2 machines- both with Office 2007 installed.
Private Sub BtnPrint_Click()
Dim RowStarter As Integer 'Where to start checking rows for content
Dim RowCounter As Integer 'The current row being checked
Dim ColumnCounter As Integer 'The current column being checked
Dim PrintRowMarker As Long 'The last row with data
Dim PrintColumnMarker As Long 'The last column with data
Dim NoMoreData As Boolean 'Look for a blank record
Dim RangeValue As String 'Define the range string value
Dim EndRangeValue As String
PrintColumnMarker = 0
PrintRowMarker = 0 'Initialize the row printing marker
RowStarter = 5 'Print Starting Point
For RowCounter = 2005 To RowStarter Step -1
For ColumnCounter = 50 To 2 Step -1
If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
If RowCounter > PrintRowMarker Then
PrintRowMarker = RowCounter
End If
If ColumnCounter > PrintColumnMarker Then
PrintColumnMarker = ColumnCounter + 1
End If
End If
Next ColumnCounter
If PrintRowMarker > 0 Then
End If
Next RowCounter
EndRangeValue = IndexToString(PrintRowMarker, PrintColumnMarker)
RangeValue = "$A$1:" & EndRangeValue
Worksheets("Measurements").PageSetup.PrintArea = RangeValue
Worksheets("Measurements").PageSetup.PrintGridlines = True 'Turn on gridlines
Worksheets("Measurements").PrintPreview 'PRINT THAT PUPPY!
End SubAppears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.
In VBA select menu item Tools - References.
Ensure that the following are checked:-
Visual Basic for Applications
Microsoft Excel 12.0 Object Library
OLE Automation
Microsoft Office 12.0 Object Library
It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.
Regards, OssieMac -
Has anyone else noticed problems with Excel 2007 when doing webqueries? We have someone who wrote a bunch of VBA in an excel document (excel 2003) that does 7 web queries, and then creates pivot tables on the results.
Because of the row limitations in older excel version (1million+ rows in Excel 2007), we upgraded. However, now the Excel queries take forever. In TOAD, the queries run in 5 seconds, but take hours upon hours in Excel 2007. The PC where Excel runs is adequately powered (CPU, RAM, etc) to handle the load.
I'm assuming some type of ODBC problem? Maybe an incompatibility with Oracle 9iR1 drivers?
We're running 9.2.0.1 here for now.
Any help would be appreciated!
Thanks!
-Miketurns out the Excel 2007 VBA engine is extremely slow. THe query returns very quickly, but Excel 2007 is taking much much longer to use the result set.
-
Exporting Oracle 10g reports into Excel 2007
Does anybody knows if there exits compatibility with the export function to Excel 2007?
Some users will be installing this Excel version and i don't know if the formatting and displaying will be similar as using previous versions. They use the export function available from Discoverer Viewer.
We have Oracle Discoverer Administrator version 10.1.2.1 and Discoverer Administrator client 10.1.2.48.18.
Thanks!This is an old thread, but I was hoping there might be an update for it. The workaround of exporting to a .csv does work, but we need to be able to export to excel 2007. We have Discoverer Plus 11g and there doesn't seem to be an option to export to 2007's xlsx (just xls). Is there a way to add xlsx an an option to export to?
I saw the metalink document describing why exel 2003 (& 2007) behaves the way it does, which is fine. If that's the case, I (or my users more specifically) don't want to use it. Truth is, most users balk at extra steps (even a simple one like manually picking .csv), and the happier they are the easier my job is. They need to be able to export to the 2007 xlsx version which supports 1 mil rows per sheet. Can that format be enabled in Plus 11g?
Thanks
Edited by: user527082 on Jul 31, 2012 9:17 AM -
Just switched to Excel 2007...a few questions
I just switched to Excel 2007 from Excel 2003 and am experiencing the zoom/delayed retrieval issues that many have spoken of in other threads.
We currently are running essbases 9.3.1.0
Many of my other co-workers are still using Excel 2003.
Our company has not yet upgraded to version 11 yet so what is the optimum version (update) of essbase I should be using so that I do not experience these zoom issues and will that impact the compatability of any of my spreadsheets with my co-workers who are using Excel 2003?
Do I need 9.3.1.3?
Thanks in Advance!
Edited by: [email protected] on Jun 18, 2010 9:21 AMHi,
9.3.1.3 client install should resolve your issues
Spreadsheet Add-in. Retrieving data using Spreadsheet Add-in with Microsoft Excel 2007 may result in slow performance. When the Formula Fill option is selected, zooming in on a member (whether using mouse actions or menu items) may result in slow retrieval performance and an error message indicating that the maximum number of rows has been exceeded.
When the Retain on Zoom option is selected, zooming out on a member (whether using mouse actions or menu items) may result in slow retrieval performance.
The Formula Fill and Retain on Zoom options are on the Mode tab of the Essbase Options dialog box. [6695282, 7019497, 7019501]
More information in the readme :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/esb_93130_readme.pdf
Different client installation files can be downloaded from My Oracle Support under patches.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
iTunes yesterday got halfway through a sync (it did recognise it for a short time) but today, since the upgraded iTunes, it won't even recognise the phone. I have tried using iTunes' diagnostics and the device tests say that no iphone, ipod or ipad c
-
27" iMac (NON RETINA) video card configuration options!?
Hello, Regarding the 27" iMac (NON RETINA) model, you have the option to upgrade to either the 2GB NVidia card or the 4GB NVidia card. I was wondering if the 4GB card is really necessary or if the 2GB card would be more than enough for my needs? I
-
Hi guru's can anybody tell can it be config., in such a way that the ext., req., can also be taken into account while MRP run in consumpotion-based planning if VB is selected as MRP type. thanx in adv., tulja singh
-
Im trying to insert a registered symbol,®,into the database. It's showing up as a question mark. Does anyone know how to handle this?
-
How to use a Servlet to do HTTP streaming?
Hello, everyone! I want to use a servlet to do simple HTTP streaming, just like what Apache is doing now. I just want the basic functions of HTTP streaming. I want the Servlet works like this, reads data from a local media file and sends through HTTP