+ Reply to Thread
Results 1 to 1 of 1

opening odc:OfficeDataConnection and opening few columns by default

  1. #1
    Registered User
    Join Date
    03-13-2014
    Location
    Washigton, DC
    MS-Off Ver
    Excel 2013
    Posts
    1

    opening odc:OfficeDataConnection and opening few columns by default

    I am generating an excel file using odc:OfficeDataConnection xml method. My command type is cube and commandText is cube name.

    Now this works fine and generates an empty excel at runtime. People can choose the fields they want and see the pivotTable.

    But my issue is I need to set a few columns as default, so when excel opens it automatically puts 2-3 fields in pivot table, so the user doesn't see an empty screen.

    This is kind of my sample code
    Please Login or Register  to view this content.
    I was wondering if there is a way to add certain column in these settings so it opens those columns at runtime or use macro to run when excel is generating and loading.

    Any help will be appreciated
    Last edited by Fotis1991; 03-13-2014 at 09:51 AM. Reason: Pls use code tags around your codes as per forum rules.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. default view of excel when opening.
    By medused in forum Excel General
    Replies: 5
    Last Post: 12-22-2012, 01:42 PM
  2. Opening Workbook to a Default Cell
    By The Phil in forum Excel General
    Replies: 1
    Last Post: 11-04-2010, 07:13 PM
  3. Replies: 2
    Last Post: 11-22-2008, 09:59 PM
  4. Default view when opening excel files
    By hello in forum Excel General
    Replies: 1
    Last Post: 03-15-2006, 08:45 PM
  5. Replies: 4
    Last Post: 01-09-2006, 05:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1