Using the EV__WBREFOPTIONS__ function to set workbook options

Hi there,
I want to set the workbook options of my template using VB, and specifically the EV__WBREFOPTIONS__
function that is apparently available. But it doesn't seem to do anything; it runs without an error but the options don't change.
Does anyone know how the syntax should look? Maybe I'm laying it out incorrectly, but the help is (as usual) no help at all!
Thanks very much,
Jason
Version: BPC for MS 7 SP 7.

Not to worry - dug around a bit and found the answer myself - the correct syntax is:
ActiveWorkbook.Names("EV__WBREFOPTIONS__").Value = 41
The values are listed in the help - you can include them all together in one string, as in 4 and 1 in the example shown above.
This was irritating the life out of me, so I hope someone else finds this useful too!
Cheers,
Jason

Similar Messages

  • How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic? Is this possible?

    How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
    Is this possible?

    You can set any song to Skip when shuffling.
    In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library.

  • Breaking Links to and External Data Connection using the cubevalue() function

    I have spreadsheets that connect to an MSAS cube successfully and pull data in the cells using the CUBEVALUE function.
    Is there a way to perform the equivalent of 'breaking links' to the external database so that the spreadsheet can be distibuted to others that will not have the external database connection set up on their computer/excel environment.
    I find that if i email a spreadsheet with data retreived using cubevalue functions to someone without the external database connection they do not see the values preserved with the spreadsheet and end up with blank or zero cells, etc.
    I have unchecked the box related to 'refresh data when opening file'.
    In a perfect world i would like to remove the db connection and be left with pasted values, similar to breaking links to an external workbook but I am not sure if that is possible.
    I am desperate to find a way to distribute these spreadsheets and be confident that Excel won't be unsuccessfully trying to refresh a connection that isn't on other peoples computer.
    Thanks for any guidance

    Maybe you can upload a sample file to a file sharing site and then share the link with us.
    As you said you have already unchecked the option 'Refresh data when opening the file' within Connection Properties.
    When you send the Excel file to someone without this data connection, they should get the correctly data unless they click the button 'Refresh All'.
    Wind Zhang
    TechNet Community Support

  • Scanning in Mavericks? I can no longer use the scanning function in my HP Officejet 4500. HP says to go through Preview, Image Capture, or Print/Scan in System Prefs. Still doesn't work. Any ideas/similar experiences?

    Scanning in Mavericks? I can no longer use the scanning function in my HP Officejet 4500.
    HP says to go through Preview, Image Capture, or Print/Scan in System Prefs.
    Still doesn't work. Any ideas/similar experiences?

    Sure it is, yet it's called HP LaserJet Professional M1210nf MFP Series *
    Today, I followed your other advice, and deleted the printer, deleted the /Library/Printer/hp folder, downloaded the entire set of driver, re-installed the printer twice, once with the driver, once with Bonjour.
    The Bonjour Printer has the scan option active, but it is doesn't work (refer to above.), it is called M1217nfw
    The Apple Driver Printer doesn't show the scan option at all, it is called M1217nf (as on the http://support.apple.com/kb/HT3669#HP list.) This model number doesn't exist, as far as I can tell. 
    Still, everything works perfectly in Snow Leopard, for a MF printer that has been manufactured years after Snow Leopard was released.
    Why going up in software version means going backwards in compatiblity for brand new product is really the question that puzzles me here.

  • How do I use the print function to output a numeric variable with a fixed amount of leading zeroes

    I need to create an output from a T-SQL query that picks a numeric variable and uses the print function to output with leading zeroes if it is less than three characters long when converted to string.  For example if the variable is 12 the output should
    be 012 and if the variable is 3 the output should be 003.
    Presently the syntax I am using is PRINT STR(@CLUSTER,3) .  But if @CLUSTER which is numeric is less than three characters I get spaces in front.
    Please help!

    >> I need to create an output from a T-SQL query .. <<
    NO! NO! In RDBMS, we have a presentation layer that handles displays. We do not ever do it in the database. This is fundamental. But more than that, the purpose of PRINT is for debugging in T-SQL and never for output.
    You are still writing 1960's COBOL or BASIC, but you want to to it in SQL.  You probably picked the wrong data type (a numeric that should be a string) and are trying to repair your design error.  
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • My daugther' iphone id under my wife's email and now all music and pictures are attached to that id.  Wife now has an ipad and looking at using the existing id for set up? Would like to establish new id for daughter and not lose or share music/photos?

    My daugther' iphone apple id is under my wife's email and now all music and pictures are attached to that id.  My wife now has an ipad and I am looking at using the existing id during set up?   Thus, I would like to establish new apple id for daughter, associated to her email account, however I do not want to lose or share her music/photos, nor share with my wife's id.  Is this possible, or is it best just to establish a new id for my wife, and then change the email address associated with the existing apple id?

    well if you establish a new apple id for your wife that would be best unless you email all of the existing photos to your email and then when you have established a new id then you log into your email on the new id and save all of your pics onto it by pressing on tthe pic for about 5-8 seconds then options will come up and you press the save to my album ..as for the music if you can copy and paste, through computer, the songs then awesome!

  • Unable to change reference point location while using the Transform Functions in Photoshop Elements 6.0.

    Unable to change reference point location while using the Transform Functions in Photoshop Elements 6.0.

    Which operating system are you using?
    In photoshop elements 6, as far as i know, you can only change the Reference Point Location for transforms using the small grid in the left hand corner of the tool options bar with Transform enabled.

  • How can I use the scan function of Kyocera Printer FS-1020 MFP on MAC? OS X 10.6.8?

    Print function is normal, but I don't know how to use the SCAN function. Is there any specific setting to do to activate the scanner function?

    Try Applications/Image Capture to see if you can scan.

  • No longer able to use the scan function on Photosmart c4780

    Previously when I opened my HP Photosmart C4780 Printer Scanner I would get a dialogue box which allowed me to choose whether to print or scan. This dialogue box no longer starts and I no longer get the option to select scan and can only choose to print.  I have been around the circuit of Print and Scan and Doctor and have downloaded and reinstalled the appropriate software several times all to no avail.  I can no longer find the software CD that came with the device. What do I have to do to be able to access the dialogue box which gave the opportunity to choose scan and specify the actions required?
    Furthermore using Windows Fax and Scan will not work either, I simply get the message “Could not complete scan”.
    The scanner does work as I can use the copy function perfectly well.

    Hi @Jumbob 
    From your descriptions, it sounds to me like the issue stems from the software. Let's perform a comprehensive uninstall, clean things up and ensure updates are complete, then reinstall. Please complete the following steps and let me know the outcome;
    Hold down the Windows Logo key () on the keyboard and the 'R' to open the run box, type %temp%
    Delete all files and folders from the temp folder. Choose skip if any pop ups appear saying any of the files could not be deleted
    Download the software and choose to save as, save to desktop > HP Photosmart C4700 All-in-One Printer series Full Feature Software and Driver
    After the software downloads and extracts, open the temp folder again, use the instructions from step 1.
    Look for, and open the folder starting with 7z (Example: 7zS2356)
    Open folder Util
    Open folder CCC
    If you have an HP computer run the L3uninstall.exe. If you have anon-HP computer run the L4uninstall.exe
    When the uninstall has completed restart the computer
    Follow these steps to reset the registry settings and options for Windows Installer.
    Hold down the Windows Logo key on the keyboard and the 'R' to open the run box
    In the Open box, type msiexec /unregister, and then click OK.
    Hold down the Windows Logo key on the keyboard and the 'R' to open the run box
    In the Open box, type msiexec /regserver, and then click OK
     *Note: there is a space between the c and the /
    If you have any difficulty with this step, please use this link to perform it another way. Restarting Windows Installer
    Run Disk cleanup from Accessories\ System Tool < How to Delete files using Disk Cleanup
    Download and install the latest version of Adobe flash player http://www.adobe.com/support/flashplayer/downloads.html
    Restart the computer
    Download and run the HP Printer Install Wizard for Windows
    The HP Printer Install Wizard for Window was created to help Windows 7, Windows 8, and Windows 8.1 users download and install the latest and most appropriate HP software solution for their HP Printer.
    Note: If you have Windows XP or Vista, please use the download we saved in step 3. Thanks.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How to use the RV_EXPORT_CONTROL function (via 2LIS_11_VAITM extractor)

    Hi guys,
    I use the 2LIS_11_VAITM extractor to load R/3 data to BW.
    On this extractor, there is an user exit which filled many fields.
    I have to add the export control status of items, the value we can find in VA03 (Extras -> Export Licence -> Log -> Status green or Red).
    I added a specific fields ZZEEXPCTRL (CHAR(1)) in my extraction structure as a field only know in Customer exit.
    This flag will be empty if status is green or 'X' if status is red.
    I'll try to use the RV_EXPORT_CONTROL function in my exit but it doesn't work.
    When I execute in debug the 2LIS_11_VAITM extractor in RSA3, I can display the screen we have in VA03 (Extras -> Export Licence -> Log -> Status green or Red).
    Maybe I use the bad parameters ?? But I tried many option, without result
    Could you please help me and explain me how to use this function to have my result or if there is another way to do this ?
    Thanks
    Joris

    Hi Namrata and Debjani,
    Thank you for your suggestion. We are considering those options as well.
    However, we are trying to aim for consistency between the "old" and the upgraded system. Therefore we are trying to find whether it is all possible to remove those two fields. If it is not possible at all to remove them, then we will do what you both suggested.
    Best regards,
    Fen

  • How to use the 'swc_element_get' function?

    Hi Experts,
    In  my  workflow  there  is  a  requirement  where  I  want  to  take  up  some  container  elements  and  insert  those  values  into  a  z  table . For  that  i  am  using  the  'swc_element_get'  function.  I  am  confused  about  the  import  parameter 'field' and  the parameter 'Container'.  Can  someone  please  suggest  how  to  use  this function?
    Thanks &  Regards,
    Samrat Dutta

    Hi All,
    I have  been  able  to  get  the  value  of  a container  element by  using  the  macro  'swc_get_element'   .I  have  used  it  in  the  method  of  my  task   and  saved  the  value  in  a  z-table. For  this  I  have  set  the  'Export' property of that  particular container elemnt .Now  my  problem  is  I  want  a  second  container  element  to  be  stored in  the  database , I  have  set  its  'Export'  property ,  but  inspite  of  that  it  is  not  visible  in  the  task  container.  As  a  result  I  am  not  able  to  access  it  from  inside  my  method  and  unable  to  save  it  in  the  z-table.  So  please  give  me  some  solution.
    Thanks  &  Regards ,
    Samrat Dutta.

  • Using the ssIncludeXml function in Site Studio 10gR4

    Since the managed data file format has changed dramatically in Site Studio 10gR4, how do I still use ssIncludeXml to extract a particular element?
    For example, a data file in Site Studio 10gR3 looks similar to this:
    <region1>
    <PageBody>
    </PageBody>
    </region1>
    To extract the "PageBody" element I would use the ssIncludeXml function like this:
    ssIncludeXml(dDocName,"region1/PageBody/node()")
    In Site Studio 10gR4 a typical data file format looks like this:
    <wcm:root>
    <wcm:element name="PageBody">
    </wcm:element>
    </wcm:root>
    How do I use the ssIncludeXml function to match the "PageBody" here?
    Thanks!

    I'm trying to do this in Site Studio 11g and am having zero luck. I have an HCSP in Site Studio [which I am using to write XML] that is querying the system and returning a set of XML data files. In my HSCP, I have
    <link><!--$$ssIncludeXml(dDocName, "wcm:root/wcm:element\[@name='url'\]/text()")--></link>
    The XML documents' format is
    <wcm:root version="8.0.0.0">
    <wcm:element name="metadata"/>
    <wcm:element name="url">http://www.cnn.com</wcm:element>
    <wcm:element name="thumbnail"><img src="/cs/groups/internal/documents/digitalmedia/mdaw/mdex/~edisp/cf_12_831_ivolunteers_3_.jpg" alt="ivolunteers" /></wcm:element>
    <wcm:element name="text">This is my link text</wcm:element></wcm:root>
    When I run this, however, I get nothing returned (no errors either).
    Frustration! :) Any ideas?

  • Using the lookup function in Numbers '09

    I'm looking for the way to have the lookup function in Numbers '09 return an error for a non-exact match.  Eg. I want an invalid part number to state this, but currently all I can get is the return of data for the closest match.  Thank you.

    when you use the VLOOKUP() function the last, optional, argument can request and exact match.  When an exact match is not available VLOOKUP() will return an error.
    you can use the IFERROR() function to trap errors like this:
    =IFERROR(<FUNCTION_TO_TRY>, "NOT FOUND")
    In your case.... if <FUNCTION_TO_TRY> is you VLOOKUP(<WHAT_TO_FIND>, <RANGE>, <COLUMN>, 0), the "0" specifies exact match and you could then place all this in the IFERROR() like this:
    =IFERROR(VLOOKUP(<WHAT_TO_FIND>, <RANGE>, <COLUMN>, 0) "NOT FOUND")
    <WHAT_TO_FIND> is what to look for,
    <RANGE> is where to look,
    <COLUMN> is the number of the column in the range you want to return

  • Using the Clip function of an AP-Element

    This is a follow up question to my previous post asking about
    opening external links within my site.
    After taking some good advice on embedding the image in an
    HTML doc on my site and then calling this page from the navigation
    bar.......I'm now on the trail of embedding the image in an
    AP-Element so I can then do my RHS or LHS justification using the
    clip function. In principle I've had it working once on my exisitng
    home page, but as soon as I try creating a new Doc and embedding
    the AP-element the clipping fails to work. If I clip the LH corner
    of the image it diplays correctly in the designer window, but as
    soon as I go to the browser preview it reverts back to an unclipped
    version of the image.
    This is what I'm doing:-
    1) I create a blank new document
    2) I then add an AP Element by Insert|Layout Object|AP Div
    3) I then resize this to a reasonable size on the page and
    then insert an image
    4) I then click on the AP-element border and go to the Clip
    property and set up to clip the LH corner of the image
    When I then look at the designer window, it correctly shows
    the clipped LH corner as expected. But as soon as I preview it in
    the browser it reverts back to the full size image.
    Any guidance would be most greatfully received.
    Thanks,
    Neil

    Tell us again why you are clipping the image, please?
    Also, AP elements cannot interact with any other elements on
    the page
    because the fact that they are absolutely positioned removes
    them from the
    normal flow. So, if you are seeing movement that you
    interpret in this way,
    you are not interpreting it correctly - most likely you have
    other issues on
    the page. Finally, editable regions are NOT layout regions -
    they are
    content regions. If you are seeing 'editable region' issues,
    then look to
    your page's code and the HTML infrastructure there, not at
    your template
    region markup.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "CS4Rookie" <[email protected]> wrote in
    message
    news:gqnrea$1d$[email protected]..
    > Ok, I have part of the site running now so you can see
    what stage I'm at.
    >
    > I think the AP element clipping works ok for what I'm
    doing, but it does
    > pose
    > problems with a large clipped image as I need to select
    a different
    > clipping
    > area for each side of the image. When I do this I then
    need to move the AP
    > elemnt around in the page and this seems to create
    editable region issues
    > due
    > to it being a wide image.
    > Again, this is probably due to my inexperience, so I
    guess I'll sort it
    > out if
    > I put enough time in.
    >
    > Thanks for your comments and support so far.
    >
    > Neil
    >

  • Using the Ago Function

    Hi,
    I have a time dimension with levels AllTime, Year, Month, Week, Day. I set the chronological key to the day and created an Ago Measure in my fact. The repository global consistency was successful. However when I used it in answers, I got the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22040] To use AGO function, the storage level of the query ('[DIM_DATE.DIMENSION_KEY]') must be a static level. (HY000)
    SQL Issued: SELECT DIM_DATE.CALENDAR_YEAR_NAME saw_0, F_TEST.MEASURE saw_1, F_TEST.YearAgoMeasures saw_2 FROM WMS ORDER BY saw_0
    Does anyone have any idea please? Note that the DIM_DATE.DIMENSION_KEY is the primary key of the time dimension table.
    Thanks a lot
    Marija

    Hi Wildmight,
    I restarted everything and got the "must be a static level. (HY000)" error fixed. Then I checked the chronological key in the level "year" but it seems not to be working. It's taking a long long time to show the results (I finally cancel it).
    Reviewing the nqquery log file, I don't really get how obi retrieves the todate info, it uses the analytic function: ROW_NUMBER() OVER (partition by....), do you get the same?
    Thanks again.

Maybe you are looking for

  • Spinning wheel of DEATH + black screen

    When I opened up my Mac Pro it just showed a black screen and the spinning wheel. It responds to nothing I do but still gets notifications.

  • Work flow in waiting status

    Hi, we are using N step PO work flow for chagning the purchase orders. when the PO is changed and ordered workflow is going into WAITING status. It is not triggering the next steps at all. Could any one suggest how to proceed further? Thanks, Naresh

  • Exporting HDV to a dvd problems

    I shot a friends wedding in HDV1080i and edited it in FCP. The footage looks great when viewed in this format, but I am having trouble exporting it to a format that looks good on DVD. If I use quicktime conversion to convert it to H264 720x480 it sti

  • ABAP Memory ID

    Hi All, Is the ABAP memory ID global? for example, I have FUNC1, in FUNC1, I export value to memory ID 'ABC'. the value of 'ABC' is valide for all other function call? The porblem I experinced is that the FUNC1 may called by many interface at the SAM

  • Deleting Sidebar Aliases

    I have a bunch of aliases in Finder's Sidebar that I cannot remove. I open up Sidebar Preferences and they are not listed in order to remove them. Is there a reset button? When I tried to move one into another folder a window opened up saying it coul