Display SharePoint Version number in Excel

I have managed to display the SharePoint Version Number in Word 2007, using the label and the Document Management Policies in SharePoint. Now I am looking for something similar in MS Excel 2007, allowing me to automatically display the current version number
of the Excel file somewhere inside the document.
The idea is to always have an up to date version number on any printout of an Excel file, so that we can control our documents better. While I managed to display the number through the "Quick Parts" tool in Word, I cannot see anything similar in Excel.
Any ideas on how I can achieve this?
Thanks for the help.

Firstly on the SharePoint document library create a custom column called SPVersion. A custom workflow will then be required to copy the SharePoint version number into the SPVersion column when an item is updated or added.
Start Excel and from the quick access toolbar, select More Commands. Then from the left navigation, choose Popular and ensure that 'Show developer bar in the ribbon' is selected. Click OK. Now open the Excel and save the file as a Macro Enabled Excel
Workbook. From the developer ribbon, click on 'View Code'. Right click on Microsoft Excel Objects and click on Insert > Module. Paste the user defined function below into the module: 
Function SPVersion()
Dim wb As Workbook
Set wb = ThisWorkbook
For Each prop In wb.ContentTypeProperties
If prop.Name = "SPVersion" Then
SPVersion = prop.Value
End If
Next prop
End Function
Now return to the Excel sheet and enter the function =SPVersion in any of the Excel cells to display the SharePoint version number.

Similar Messages

  • Sharepoint version number in document properties

    Hi,
    How can I set the SharePoint version number in my Word document, so that when the Sharepoint version number increases also the number in the document increases. We are running BPOS not 365.
    Thanks

    The question wasn't about turning Sharepoint versioning on, it was about getting the Sharepoint version numbers to synchronise with the Word document property of the same name.
    It ought to work. It doesn't (the Sharepoint version number doesn't even show up in the Document Information Panel or document property fields). I believe there is a workaround out there, but like the Original Poster I haven't found it yet.
    As far as I can tell this has been broken in different ways in all the differnt versions of Sharepoint, at elast up to SP 2007. It's about time it was fixed.
    Hi, All you will need to do is turn on versioning for your document library. You will need to navigate to the document library you would like to have versioning enabled on, click on settings and then document library settings. In the document library settings
    click on versioning settings. From the versioning settings you will be able to enable the feature. Thanks, Tim Muth Microsoft Online Services Technical Support

  • Display Package version number in HTML?

    Hi,
    My customer wants to display the version number of the apps/xx package in the HTML.
    I'm just wondering if this is a good idea, i.e. the actual package contents could be overwritten, but the package doesn't change.
    Also - how could that be achieved?  There is a services JSP in the CRX package manager - could that be used?
    http://localhost:4502/crx/packmgr/service.jsp
    Thanks!

    The subject line & description looks contridactory. I am assuming you are looking for package version, For that You should be able to get using jcr package api [1]. Ex:- vJcrPackageDefinition.getId().getVersionString()
    http://dev.day.com/docs/en/cq/current/javadoc/com/day/jcr/vault/packaging/JcrPackageDefini tion.html

  • Display version number in documents in SharePoint 2013

    Can someone please advise how i do this?  I have followed other answers and have got to the point where my document has the word Version in the footer but no number and in the column in the library displays the correct version number initially but then
    once i edit the document it displays Version O and remains at 0 no matter how many versions are created. Help please!

    The question wasn't about turning Sharepoint versioning on, it was about getting the Sharepoint version numbers to synchronise with the Word document property of the same name.
    It ought to work. It doesn't (the Sharepoint version number doesn't even show up in the Document Information Panel or document property fields). I believe there is a workaround out there, but like the Original Poster I haven't found it yet.
    As far as I can tell this has been broken in different ways in all the differnt versions of Sharepoint, at elast up to SP 2007. It's about time it was fixed.
    Hi, All you will need to do is turn on versioning for your document library. You will need to navigate to the document library you would like to have versioning enabled on, click on settings and then document library settings. In the document library settings
    click on versioning settings. From the versioning settings you will be able to enable the feature. Thanks, Tim Muth Microsoft Online Services Technical Support

  • Display version number in list, browse

    Hi, would someone know if there is a way to display the version number of a versionned document in the list, browse and detail displays.
    Thanks

    Hi, would someone know if there is a way to display the version number of a versionned document in the list, browse and detail displays.
    Thanks

  • Have followed instructions for displaying Version number. Does not work. I believe "Firefox button" means the gold & blue globe? No "Help" button. Can find no reference anywhere to version number.

    I believe that I have installed v.5 but can find no confirmation anywhere.... till now, when your "educated guess" shows v.5.0.1. Please give me concise instructions for displaying the version number. (For most software packages, "About" works... but not in this case.)
    Thanks.

    I can't think how '''cor-el''''s first advice went wrong. For Windows there is no difference between Fx5.0 and 5.01
    Just to be really sure you can do -
    *Firefox orange button>Help>Troubleshooting Information lists your Fx version, or
    *Options>Advanced>Update>Show update history(little box at the bottom).

  • How do I make my iPhoto Library's version number appear in the Get Info window?

    I recently (within the past 2 weeks) purchased a new 27 inch iMac and have been importing data (applications and files) from my 2010 Macbook Pro via AirDrop.  One of the first files I migrated over was my iPhoto Library.  I doing so, I noticed a few differences between its file attributes and those of the iPhoto Library file created by default on my new computer - two of which I'll note here.  First, I noticed that the file resident on my new OS was labeled iPhoto Library.photolibrary while my older version did not have the ".photolibrary" extension.  That seemed simple enough to correct so I added that extension to my old library file.  The second difference I'd note - and the source of my question - is that the default iPhoto Library file displayed a version number (9.5.1) in its "Get Info" window, while mine did not.  I checked my file's info.plist file and the correct information seems to be listed.  It reads (in part):
    <dict>
                   <key>CFBundleGetInfoString</key>
                   <string>iPhoto Libary 9.5.1</string>
                   <key>CFBundleShortVersionString</key>
                   <string>9.5.1</string>
    </dict>
    </plist>
    I'm not sure this is really a question for the iPhoto community, as it seems like a more general issue; but, this is my first post to these forums, and I didn't know where to start.  Thanks in advance for the advise/suggestions.

    In terms of the info.plist file, I only reviewed it to see why I wasn't seeing the version number in the GetInfo window.
    The string "<key>CFBundleGetInfoString</key>
                   <string>iPhoto Libary 9.5.1</string>"
    is exactly what will be shown in the Get Info panel. I tested that by simply editing this string in a test library using XCode. I could "Get Info" to show ridiculous versions numbers this way.
    However, none of my older iPhoto libraries will show the version string in Get Info, only libraries I created with iPhoto 9.5.1. or Aperture 3.3 or later.
    There is probably one of the other database files in the folder "database" - *.appdb and *.db  interfering.  None of the Library First Aid options did make the version number show for my older iPhoto libraries - not even rebuilding the iPhoto library. The only way I could make the version number show in "Get Info" was by exporting the library as a new library using Aperture. But this exported library is now showing as Aperture library.

  • How to reference application version number and current date in page footer

    Am new to Apex and am creating first app for production users on Apex 4.0.1 ... I notice that Application Builder app itself displays the version number at bottom right of screen .. are there any substitution strings that I can use to get current date and application version in my own Apex app ... or do I need to create e.g Javascript to format the date and create my own substitution string ?
    Any help much appreciated .. thanks !

    I modified the Footer of our Default page template. Used JavaScript for the date, below is the code we use. The very last table is specific to our environment and it would need to be customized for your use or removed if not needed. I am a JavaScript novice so this may be crude but it does the job.
    Jeff
    <table width="100%" cellpadding="0" cellspacing="0"
    border="0">
    <tr>
    <td width="500">
    <script Language="JavaScript">
    <!--
    function GetDay(nDay)
         var Days = new Array("Sunday","Monday","Tuesday","Wednesday",
                              "Thursday","Friday","Saturday");
         return Days[nDay]
    function GetMonth(nMonth)
         var Months = new Array("January","February","March","April","May","June",
                                "July","August","September","October","November","December");
         return Months[nMonth]             
    function GetTime () {
      var curtime = new Date();
      var curhour = curtime.getHours();
      var curmin = curtime.getMinutes();
      var cursec = curtime.getSeconds();
      var time = "";
      if(curhour == 0) curhour = 12;
      time = (curhour > 12 ? curhour - 12 : curhour) + ":" +
             (curmin < 10 ? "0" : "") + curmin + ":" +
             (cursec < 10 ? "0" : "") + cursec + " " +
             (curhour > 12 ? "PM" : "AM");
      return time;
    function DateString()
         var Today = new Date();
         var suffix = "th";
         switch (Today.getDate())
              case 1:
              case 21:
              case 31:
                   suffix = "st"; break;
              case 2:
              case 22:
                   suffix = "nd"; break;
              case 3:
              case 23:
                   suffix = "rd"; break;
         var strDate = GetDay(Today.getDay()) + " - " + GetMonth(Today.getMonth()) + " " + Today.getDate(); strDate += suffix + ", " + Today.getFullYear() + " " ;
         return strDate
    //-->
    </script>
    <script Language="JavaScript">
    <!--
    document.write(DateString() + GetTime());
    //-->
    </script>
    </td>
    <td width="300" class="fineprint"><div align="right">
    </div></td>
    <td width="900" class="fineprint"><div align="right">
    &APP_USER.
    #APP_VERSION#
    </div></td>
    </tr>
    </table>
    <table width="100%" cellpadding="0" cellspacing="0"
    border="0">
    <tr>
    <td width="33%" align="left" valign="bottom"><img
    src="#WORKSPACE_IMAGES#iconseal-rust.gif" alt="NH State Seal" width="25"
    height="25" /></td>
    <td  width="33%" align="center" valign="bottom"><a href="http://www.nh.gov/" class="fineprint">NH.gov</a>
      <a href="http://www.nh.gov/disclaimer.html"
    class="fineprint">Privacy Policy</a>   <a
    href="http://www.nh.gov/wai/index.html" class="fineprint">Accessibility
    Policy</a></td>
    <td width="33%" class="fineprint"><div align="right">Copyright &#169 State of
    New Hampshire, 2007-2010</div></td>
    </tr>
    </table><br />
    #FORM_CLOSE#
    </body>
    </html>

  • How do I determine the executable version number?

    Hi.
    I have a VI and a build specification for it.  In the Version Information section of the build specification, I set the version number to auto-increment.  I would like to display this version number on an indicator on the front panel of the executable, but I have not found a property that provides this information. Does anybody know how to get the executable version number? I am aware that it is possible to right-click on the .exe file in windows explorer, go to properties and get it that way, but I would like to display it on the VI itself.
    On a related topic, I have noticed that only the 'build' field of the version gets auto-incremented. How does the application builder decide when it is time to increment the major, minor and fix fields?  Or will it only ever auto-increment the build field and I am supposed to update the other fields manually? (That would actually make sense, but I would like confirmation.)
    Thanks in advance,
    Alejandro
    Solved!
    Go to Solution.

    -Please check this if its helpful
    http://digital.ni.com/public.nsf/allkb/935BA7FB426305398625711E0055F1FA
    -And vote for this if you like idea
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Get-EXE-version-in-LabVIEW/idi-p/1324119
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • How to display flash version, air version, etc.

    Hi flex community,
    I wanted to know how can I display the version number of my own project, the adobe air version, the flash version, the operating system, the processor, the ram installed of the users system in a label.
    king regards
    flexx0r

    I have found that the Capabilities Class gives you a great deal of information.
    check it out:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html

  • A command for finding an application's version number?

    Hello,
    I need a command for finding the version number of a specific application installed in OS X, and I need to be able to run it via the UNIX feature of Apple Remote Desktop, so that I can run it on hundreds of computers. First I tried this:
    system_profiler -detailLevel full
    It works, but it takes a long time to produce the output, because it's gathering and outputting all of the information that System Profiler provides. I don't know if there's a way to narrow it down so that it only gives me the version number of the specific application I need to know about. This is an example of what the output looks like for each application listed.
        iPhoto:
          Version: 9.2.1
          Last Modified: 10/27/11 10:05 AM
          Kind: Intel
          64-Bit (Intel): No
          App Store: No
          Location: /Applications/iPhoto.app
    Copying that to TextEdit and searching for the application's name takes way too long, especially for hundreds of computers. Are there any arguments or regular expressions I could add to the command to narrow it down, and make it only output the information I need?
    Someone suggested this command, which takes the information from Spotlight:
    mdls -name kMDItemVersion <path to file>
    That works for apps in the Applications folder, but the application I need the version number for is in the /usr/bin folder and I'm guessing that's not indexed by Spotlight, because it returns:
    kMDItemVersion = (null)
    Any help would be greatly appreciated!
    -Mike

    You rock! I'm definitely on the right track now. Yes, it's a regular application package, not a UNIX executable. Ok, so I use this command to display the Info.plist file inside that package:
    cat /usr/bin/uc/UndercoverRegistration.app/Contents/Info.plist
    And it outputs this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>UndercoverRegistration</string>
        <key>CFBundleIconFile</key>
        <string>Undercover</string>
        <key>CFBundleIdentifier</key>
        <string>com.orbicule.UndercoverRegistration</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>4.5</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>4.5</string>
        <key>NSMainNibFile</key>
        <string>MainMenu</string>
        <key>NSPrincipalClass</key>
        <string>NSApplication</string>
    </dict>
    </plist>
    So can I add arguments to that command to have it only display the version number, which is on line 18 (the value is 4.5 here)? So would I be able to display only line 18, or display whatever is below the line that reads "<key>CFBundleShortVersionString</key>"? Thanks!

  • Auto increment version number

    I want my program to be able to display a version number which is incremented automatically on every new build. Is there any way I can do this in Eclipse 3.2.1?

    It's not an Eclipse question it's a Java question, I just wanted to know whether there was some way of automating this through Eclipse as that is the IDE I'm using at the moment.

  • Problem to display a negative number in XML Publisher output in excel

    Hi All,
    I am facing problem in displaying a negative number in XML Publisher output in excel.
    My requirement is that I have to display a negative number in brackets when the output is taken in excel format. Eg: If the value is -123 then i have to display it as (123).
    I have put these brackets using a formula column in the RDF, but it is the default functionality of excel that whenever there is a number in brackets then it automatically displays that as a negative value.
    Can anyone please help me how I can display this negative number within brackets and not as a negative digit. Is there any special tag or is there any formula which can be used to convert this into text and written in the Help text of RTF template.
    This is very urgent. If someone knows please reply asap.
    Regards,
    Shruti

    This is very urgent. If someone knows please reply asap.We are all volunteers here, so no ones questions are more urgent then other ones.
    If its that urgent it would have helped if you had chosen the correct forum to ask your question BI Publisher

  • How can I display date+time and not the point number in excell?

    Hi everyone,
    Could anybody tell me how I can save date + time to a file, so that  I can display on a diagram(excel) : date+time in (ox) and data (oy)? :
    My program sets in (ox) the point number and not the date+time....( although  date and time are written correctly in the column...)
    Any help would be great,
    Thanks,
    regards,
    Marc

    hi there,
    excel uses 01.01.1900 00:00 as the time offset, LabVIEW uses 01.01.1904 02:00, so you can't display the correct datetime in excel when you write the time as a fractional number of seconds from LabVIEW. you must format the datetime in LabVIEW to a string and write that to the column. use the "Format Date/Time String" - function and for example "%d.%m.%Y %H:%M:%S%3u" as the format string (see the functions help for more examples). you also could format your data to a string using "Format Into String" - function and write the file as a 2D string array. the decimal point you have to use depends on your system and its settings, but you can specify the decimal point in the Format string like "%.;%f" (means fractional number with point as decimal point).
    best regards
    chris 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • SharePoint 2010 : How to display ALL Version History of a list item's multiline text box in a same list as a list view column?

    In SharePoint 2010 , I have version history enabled multiple text box 'issue details'.  Users mainly uses Data Sheet view and it does not show all version history of that multiple line text box, is there anyway we can display list view column in
    data sheet view to display all version history?
    2) If we can not display in datasheet view, in standard view, it should display all version history instead of just a link  to -view all entries'
    I have found one article here and it posts to use below line of code in sharepoint desinger
    <SharePoint:AppendOnlyHistory runat="server" ItemId="{$thisNode/@ID}" FieldName="Issue_x0020_Details" ControlMode="Display"></SharePoint:AppendOnlyHistory>
    WHen I use this line of code , it displays multiple line of same version history instead of each, please help.

    Hi
    Greetings. Hope it helps 
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/d1be5434-7dc9-4941-bf1d-8c12d7e6a155/display-version-history-in-list-view-column?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for