Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cll
  • Order by date
  1. cll

    Password that user can manage

    You're right! I must give the database solution a closer look. Thanks a lot for your input! Regards Claus
  2. cll

    Password that user can manage

    OK, maybe I'm not very good to explain the matter. What I have made is, that when the workbook is opened, the user is asked (in a userform) for username and password. When User1 enter Password1 the workbook opens in one way. When User2 enter Password2 the workbook opens anotherway. When User3...
  3. cll

    Password that user can manage

    Hey!! Thanks for replying. The first I've got (have asked in several forums). The link desribes the "normal" way of protecting cells, sheets and workbook. What I want is a more dedicated "passwording" (which I have made as described), with possibility for the users to change password (which I...
  4. cll

    Password that user can manage

    Hi all I have a workbook (Excel2002) with an "entrance userform" where users fill in name (pre-defined) and password (pre-defined). The code opens then the workbook accordingly (some sheets hidden, some protected and so on) Can anyone show me how the user can manage their own password, or give...
  5. cll

    TOC in Word

    Thanks to the hints, I have figured this solution out: Private Sub tabcon1() Selection.HomeKey Unit:=wdStory Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldTOCEntry, Text:= _ Chr(34) & "text1" & Chr(9) & "text2" & Chr(9) & "text3" & Chr(9) &...
  6. cll

    TOC in Word

    Thanks, You might be right! (- already tried EngTips). Have found another promising link www.mvps.org/word. Regards cll
  7. cll

    TOC in Word

    This question was announced mid october but noone replied, maybe because a wrong subject? Cant anyone help me ?? Hi all I have a weird problem with TOC The following (simplified) code put a TC field and make a TOC from that: Private Sub TabCon() Selection.HomeKey unit:=wdStory...
  8. cll

    I wanna find more AutoCAD VBA sample. WHERE?

    Try this one: http://www.tenlinks.com/CAD/users/autocad/vba.htm I can also recommend participating www.augi.com, where you find a forum dedicated to AutoCad. Good luck Claus
  9. cll

    Hi all I have a weird problem with

    Hi all I have a weird problem with TOC The following (simplified) code put a TC field and make a TOC from that: Private Sub TabCon() Selection.HomeKey unit:=wdStory ActiveDocument.TablesOfContents.MarkEntry Range:=Selection.Range, _ Entry:="text1" & Chr(9) & "text2" &...
  10. cll

    Custom Sorting in VBA Excel

    Hey mark47, no, this was just an example. At the moment my list starts with 0S (but it could be 0A or anyother). As a workaround I have implemented the code: ExcelServer.SendKeys "%ki{enter}" DoEvents before sorting to make excel sort correct from my list. Another problem I...
  11. cll

    Replace block with attributes, VB

    Thanks vlhijlke! Actually I made it by combining some vba-samples and specialize them to my needs. I can update four named old titleblocks to our newest. I've worked a little with vba, but never got into lisp, thats why I prefer vba. Regards Claus
  12. cll

    Custom Sorting in VBA Excel

    I've found that if I do a manual sorting my macro will function thereafter. Or if I do a manual recalculation or even if I just go into the properties dialog in Excel and select OK - then my sortingmacro will work. for me it's a bit strange, but could give someone a clue. Regards Claus
  13. cll

    Custom Sorting in VBA Excel

    Correction to above: Selection.Sort Key1:=Range("A8"), Order1:=xlAscending, _ Header:=xlNo
  14. cll

    Custom Sorting in VBA Excel

    Hi jproj, i've tried to copy the code from Excel to VBA and vise versa, but no result. Here's the Excel makro (works): Range("A8:F250").Select Selection.Sort Key1:=Range("A24"), Order1:=xlAscending, _ Header:=xlNo, OrderCustom:=6, MatchCase:=False, _...
  15. cll

    Custom Sorting in VBA Excel

    Hi jproj Thanks anyway. I am aware of the standard sort method in Excel. But Excel has a cuctom sort method too, where it is possible to specify a sorting list. My problem is, that even when I can do the sorting correct in Excel (1Z1, 1Z2, 1Z11, 1Z12) this dosn't work from VBA ! Best regards cll
  16. cll

    Custom Sorting in VBA Excel

    Hi all, in a VBA code I am sorting data: objWorksheet.Range("A8:F250").Sort _ Key1:=objWorksheet.Range("A8"), _ Order1:=xlAscending, _ Header:=xlNo, _ OrderCustom:=6, _ MatchCase:=False, _ Orientation:=xlTopToBottom The CustomOrder:=6 prescribe sort-order to be: 1Z1 1Z2...
  17. cll

    Stand-alone attributes, Mechanical 6/AutoCad 2002

    Hi Adrian, Thanks a lot for your answer. I've just tried the ddmodify - it brings up the properties dialog box, where, as I described I can modify a lot, except what I pointed out (systemdate). I will try redefine the order at a later moment. I will consider the other good ideas. Thanks again...
  18. cll

    Stand-alone attributes, Mechanical 6/AutoCad 2002

    Hi all, I have found out (correct me if i am wrong) that the titleblock consist of stand-alone attributes. To edit them I can use DDedit (for Tag, Promt and value) and Properties to edit a number of properties. Now: The date is inserted automaticly as systemdate, but is not among the above...
  19. cll

    How to open a protected Word document?

    From Tek-tips I got this answer: "Have you tried the Protect Method? From VBA Help: Protect Method Protects the specified document from changes. When a document is protected, the user can make only limited changes, such as adding annotations, making revisions, or...
  20. cll

    Replace block with attributes, VB

    Help ! Problem: I want to replace a block (OldTitleblock) that have attribute (OldTagValue), with another (NewTitleblock) and transfer the attribute to NewTagValue. The OldTitleblock have Tag which value shall be transfered to another Tag in the NewTitleblock. I think it should be easy done...

Part and Inventory Search

Back
Top