Jump to content

SimonVal

Members
  • Posts

    4
  • Joined

  • Last visited

SimonVal's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I'm looking for a way to put a dialog box permanent on top in the screen. I know the alway-op-top-flag $MB_TOPMOST. That only keeps the dialog box floating 'above' other windows. I want the dialog box to appear at the top of the screen. Other windows cannot float over or under the dialog box. As a matter of fact: if another window is maximized, it leaves the dialog box visible . I'm not sure what the English term for this kind of behavior is, so excuses me for using a description. Anybody any ideas?
  2. Thanks everyone for your quick replies! The code from JLogan3o13 works fine: $oSheet.Protect("Password1") I know there are programs/scripts/macros out there to unlock a sheet. However, I'm using the protection to prevent 'accidental' editing.
  3. Thank you, DanyamicRookie for your fast reply, Your suggestion works manually in Excel. I would like AutoIT to perform the actions. Or am I missing something in your answer?
  4. Being a newbie on this forum, I couldn't find any topic on this. I've got a Excel file with one tab containing output from an AutoIT-script. I want to protect this tab against editing. The code I does set the attributes right, but doesn't set the password. In VBA this works great. The code: With $objExcel.ActiveSheet.Protect .DrawingObjects = True .Contents = True .Scenarios = True _ .AllowFormattingCells = True .AllowFormattingColumns = True .AllowFormattingRows = True .AllowSorting = True .AllowFiltering = True .AllowUsingPivotTables = True .Password = "123" EndWith Any suggestions?
×
×
  • Create New...