Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bg0
  • Order by date
  1. bg0

    Removing the "(blank)" PivotItem from a PivotField

    Filtering out individual PivotItems so that they are not visible is useful, but numerical data apparently cannot be grouped when there is any text (including the PivotItem "(blank)") within the PivotField. Is there any reasonably simple way to remove a PivotItem of my choice. There...
  2. bg0

    Automate OLAP Cube Creation with Excel VBA, wrong datatype or syntax?

    Geoff, Thank you for all your guidance. I finally decided to eliminate the "Array(...)" that the Connection was being set equal to and replaced it with the string of arguments. Maybe using the Array() would require some sort of change to a dynamic array for the proper character...
  3. bg0

    Automate OLAP Cube Creation with Excel VBA, wrong datatype or syntax?

    Yeah, that was a good diagnostic. I also had it output the CubeDimension string to a spreadsheet cell. There doesn't seem to be anything wrong with it in either diagnostic (although the watch that I added did not seem to show the entire string because there seems to be a limit to the character...
  4. bg0

    Automate OLAP Cube Creation with Excel VBA, wrong datatype or syntax?

    xlbo, Thanks, all those ideas made sense and after checking it out and still having trouble, I simply tried editing the format of the working code segment to see if it would still work. For some reason it does not work when I change the 3 lines of code that are a part of the CreateCube...
  5. bg0

    Automate OLAP Cube Creation with Excel VBA, wrong datatype or syntax?

    'The following code segment works With ActiveWorkbook.PivotCaches.Add(SourceType:=xlExternal) .Connection = Array( _ "OLEDB; Provider=MSOLAP; Initial Catalog=[OCWCube]; Data Source= " + Range("A1") + ";" _ , _ &quot...
  6. bg0

    Automate OLAP Cube Creation with Excel VBA, wrong datatype or syntax?

    Using a macro recorder in Excel, I generated code for creating a Pivot Table based on an external database (comma delimited text file) and an OLAP Cube based on the data. Attempting to automate this code to accept any input data source, file name, and field queries I have replaced some...

Part and Inventory Search

Back
Top