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 SkipVought 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: *

  1. GrodanBoll

    Get Word template folder?

    Hi I have made som templates for my company that I now would like to copy to the users comuters via vbscript. But I can't find the variable for words template path (i.e. 'C:\Documents and Settings\Andreas\Application Data\Microsoft\Mallar') i can only get the template folder under the user...
  2. GrodanBoll

    Custom properties from Normal.dot doesn't reproduce in new documents

    And the dicussion continues at http://www.vbaexpress.com/forum/showthread.php?p=43542 Thanks =] Grodan
  3. GrodanBoll

    Custom properties from Normal.dot doesn't reproduce in new documents

    Hi and thanks for your answers. =] The custom properties are copied to a new document if I have them in any other template than "Normal.dot". And if I understand fumeis answer correctly that is the way it works? So I should put the code to create the properties in the Document_New sub as...
  4. GrodanBoll

    Custom properties from Normal.dot doesn't reproduce in new documents

    Hi :) I have some custom properties in my templates (i.e. letter.dot) that I use. And these work like a charm. I also have the same custom properties in the Normal.dot but they will not reproduce when I create a new document based on this normal.dot. Why is that? Thanks Grodan
  5. GrodanBoll

    Update reference fields via VBA?

    Used ' 'Updates all fields in the document. 'From: http://www.gmayor.com/installing_macro.htm ' Sub UpdateAll() Dim oStory As Range For Each oStory In ActiveDocument.StoryRanges oStory.Fields.Update If oStory.StoryType <>...
  6. GrodanBoll

    Update reference fields via VBA?

    Hi In my template I reference custom propertie fields (DOCPROPERTY) via the reference fields. When I close my user form that I use to populate al the custom properties I do a print preview in my code to update all the reference fields. The reference fields in the headers and footer gets...
  7. GrodanBoll

    Reference table cells: Using a table instead of an VBA form...

    Ah, sry for the bad spec. it looked clear in my head. ;) Today I have built up some templates with VBA and userforms. But I don't really have the time to update and create new ones for my work. So, I was thinking of some new way of creating simple templates that are easy and fast to create. I...
  8. GrodanBoll

    Reference table cells: Using a table instead of an VBA form...

    Hi I'd like to replace the popupform I currently are using in my word templates with an invisable (at print) table instead. Is it possible to use a certain cells value to reference in other parts of an document (for example headings, header, footer)? If so, can you give me a push in the right...
  9. GrodanBoll

    Problem with a recusiv function with a multi array

    Thanks a bunch sleipnir214. =] Ur function was much nicer and cleaner, i'll steal it if U don't mind. ;] Regarding that the last element was not showing, I hade an coditional error in my 'for' loop ($i <= count()). =/ Thanks Grodan
  10. GrodanBoll

    Problem with a recusiv function with a multi array

    Hi :) I have filled an array with data containing a hierarchical structure. $testarray = array ( 1 => array ( "id" => 100, "descr" => "etthundra", "parentId" => "root" ), 2 => array ( "id" => 200, "descr" => "tvåhundra", "parentId" => "root" ), 3 => array ( "id" => 300, "descr" =>...
  11. GrodanBoll

    Excel - Can I have a rowbreak in a cell with wrap text?

    Thx Jock1970. :) That was the answer I was looking for. Sry trqchina if my post was diffuse. /Grodan
  12. GrodanBoll

    Excel - Can I have a rowbreak in a cell with wrap text?

    Hi I'm about to create a time rapport for my work. In a cell I'd like to write a desciption for the hours. But in this description I'd sometimes like to have a row break to make my description easier to read. I've tried SHIFT + RETURN but it doesn't work. Can I do this? Thanks :) Grodan
  13. GrodanBoll

    Call a function from a cell in Excel?

    Thanks alot PHV, U saved my day. Sometimes it's hard to start something new and then it's very helpful to get a push in the right direction. Thanks again. Hope U have a nice weekend! :) /Grodan
  14. GrodanBoll

    Call a function from a cell in Excel?

    Hi I have treid to search the forum and the faq but I can't find the answer. I have created ia function in VBA in 'ThisWorkbook'. Now I'd like to call the function from a cell in my worksheet. I have tried to use '=test01(Typ)' like if i'd call a predifined function but it does not work, I get...
  15. GrodanBoll

    Different languages in the same table?

    Hi :) Can I have different kinds of laguages in the same table, and by this I mean laguages like swedish, japanese, russian? Don't I need different kind of char.tables then? What should I think of when I'd like do this. I don't have control over the MySQL server. I'm sorry for any spelling...
  16. GrodanBoll

    Get information from tablecells

    Great :) I'll have a look at your answers. Thanks grodan
  17. GrodanBoll

    Get information from tablecells

    I know how to it with bookmarks and fields. But I find it annoying to have to use forms when U add or edit data. The stupid bookmarks disappears when U add data to it. So U end up with a lot of VBA code. :/ And then i wonderd if there maybe would be som easeir way to do this. :) Still hopeing...
  18. GrodanBoll

    Get information from tablecells

    Thx for your answer Tony. :) Sorry if I was unclear. :/ I'd like to have two different headers. On the first page there will be more information, on the following pages only some of this information are needed. I have done som templates before, based those on bookmarks. But can I use the...
  19. GrodanBoll

    Get information from tablecells

    Hi I'm trying to build a simpel template in Word. The template have a table in the header on the firts page. The user puts test in some of the table cells. This information should also automaticlly appear on the following pages in the header in some form (bookmark, field or tablecell whatever...

Part and Inventory Search

Back
Top