+ Reply to Thread
Results 1 to 7 of 7

HP TRIM records Management VBA commands

  1. #1
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    HP TRIM records Management VBA commands

    hi all,

    Does any one know the VBA commands for HP TRIM records Management.

    The company is currently using TRIM but i can't seem to find anything on the net or in other resources about vba commands for use.

    When you use the save as command it brings up the TRIM dialog to enter the details for the file and which trim location to save it.

    It would be useful if VBA could automate this process but at the moment I can't find a solution. Any help would be appreciated.


    Thanks in advance.

    Paul
    Last edited by pauluk; 05-16-2011 at 05:25 AM.
    regards
    Paul
    http://www.frontlineuk.com
    FrontLineUK

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: HP TRIM records Management VBA commands

    Paul

    Not specifically but have you tried recording a macro? It might give you a starting point.

    Dion

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: HP TRIM records Management VBA commands

    Please tell us:

    - the start situation
    - the desired result

    - what 'HP trim records management' performs.

    And please post a sample workbook.



  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: HP TRIM records Management VBA commands

    This link any good to you?
    HP TRIM - Specifications and Limitations

    This bit doesn't sound to promising.
    When Microsoft Excel is open with an HP TRIM add-in enabled, other applications will
    have difficulty accessing Excel’s Save menu items.
    Workaround: Close Excel.
    [EDIT]
    Here's another with some code examples
    HP TRIM - COM SDK
    Last edited by Marcol; 05-15-2011 at 11:19 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: HP TRIM records Management VBA commands

    Quote Originally Posted by snb View Post
    Please tell us:

    - the start situation
    - the desired result

    - what 'HP trim records management' performs.

    And please post a sample workbook.
    EA sample workbook could be provided but it wouldn't be much use at it would not include the TRIM function as this ia 3rd party software that intergrates with excel. Therefore unless your had the same version of TRIM you would be unable to replicate my situtation.

    As for what I wish to do, it is only knowing what if any commands there are for the TRIM SDK for VBA interaction.

  6. #6
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88

    Re: HP TRIM records Management VBA commands

    Quote Originally Posted by Marcol View Post
    This link any good to you?
    HP TRIM - Specifications and Limitations

    This bit doesn't sound to promising.


    [EDIT]
    Here's another with some code examples
    HP TRIM - COM SDK
    Reading through the documentation you have linked there does seem some hope but however reading through the information has led me to the conclusion that it would cause more problems then benefit. Therefore it is probably wise to place this item of functionallity on the backburner for the time. I doubt that in the near future HP will add this function, as most record management is defunced in my opinion esp with the advent of better models such as CLOUD and other robust databases for the storage and access to records/files.

    Thank you very much for taking the time out of your day to answer my query, it is as always greatly appreciated!!

    Paul

  7. #7
    Forum Contributor
    Join Date
    05-27-2014
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    2007 & 2010
    Posts
    273

    Re: HP TRIM records Management VBA commands

    I wonder if there's been any movement on this in the years since it was originally posted.

    My office is using TRIM too and, as is recommended, documents are stored according to an agreed naming convention. This means that the name of any documents being created by any of my code is predictable and as such should be determined by the code with no need for user input regarding that. Ordinarily, without TRIM, my code would just create a file and save it using the agreed naming convention and the user would not need to do anything further.

    TRIM, however, has it's own SaveAs dialog (via HP TRIM Office AddIn). The default value for the document name in this dialog is the current filename of the document being saved, usually something like "Book1.xlsx".

    I have created a workaround where my code saves the file locally using a name determined by the code following the naming convention and then when the user clicks "Save As", the TRIM SaveAs dialog will now have whatever filename my code came up with as the default value.

    This isn't ideal for two reasons: 1- Saving the file locally first is totally missing the whole point of TRIM; 2- The user's drive space is left with the originally saved, code generated, local copy after they have saved their TRIM copy.

    The way I see my problem, I'd be happy with either of these three solutions I think...
    1- A way to name a workbook without saving it locally (or at all) so the TRIM SaveAs dialog shows the correct name.
    2- A way to invoke and manipulate the TRIM SaveAs dialog using VBA (not very hopeful about that one).
    3- A way to clean up any local files that are left behind after the user saves the file to TRIM.

    Thanks guys
    Please click *Add Reputation if I've helped

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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