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 strongm 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. Bogiemon

    Cheap host with php facilities UK based

    I use http://macoman.co.uk Their prices start from £20 a year and there's a phone number on their contact page. I've never had any problems with them
  2. Bogiemon

    search str for text

    Have a look at the strstr() and substr() functions.
  3. Bogiemon

    Unprotect then protect doc looses form information

    I'm assuming you're using Word. I've noticed this problem before but don't know a built in way around it. The only way I know is to store all of the formfield results in an array before you unprotect the document and then copy the array values back to the formfield result after you've...
  4. Bogiemon

    Password Reminder script

    The book I used to learn PHP was 'PHP and MySQL for Dynamic Websites' by Larry Ullman. http://www.amazon.co.uk/exec/obidos/ASIN/0321336577/qid=1136391494/sr=8-1/ref=sr_8_xs_ap_i1_xgl/026-0602950-0301214 If you know other languages you should be able to pick it up quite quickly. As jpadie says...
  5. Bogiemon

    TransferSpreadsheet dropping last (Rightmost) column

    ERPEndDate is not in the SELECT part of the query. Only in the GROUP BY part.
  6. Bogiemon

    PHP/Mysql Selecting latest addition to database

    SELECT * FROM table WHERE id=(SELECT max(id) FROM table) Should do it
  7. Bogiemon

    Passing a workbook name to a variable

    You can assign it to a variable as: Dim w As Workbook Set w = Application.ActiveWorkbook and you can reference w instead of activeworkbook. You can put the Dim statement in the Declarations but not the Set. This way you will need to Set the variable once in each module. Bogiemon
  8. Bogiemon

    Basic CSS question

    Cheers dmears, works a treat.
  9. Bogiemon

    Basic CSS question

    I've got a css file called blue.css code below: <style type="text/css"> <!-- body { background-color: #003A4D; background-image: url(pictures/background450x500.jpg); color: #A8BAff; font-family: haettenschweiler, tahoma, courier; } --> </style> When I link to this from a...
  10. Bogiemon

    Controlling Many TextBoxes on One Form

    One way to do it would be to create a sub that requires controls as inputs: Sub myStuff(c1 as Control, c2 as Control) Do Stuff End Sub And on each of your BeforeUpdate sub's call the MyStuff routine: Private Sub tbEAResiDem_BeforeUpdate(ByVal Cancel As MSForms.ReturnBoolean) mystuff...
  11. Bogiemon

    VBA/API pasting from clipboard in Word

    Have a look at the DataObject ojbect
  12. Bogiemon

    Automate to Attachmate Extra

    I'm no expert with attachmate but could you use Session.Screen.GetString(row, column, length).
  13. Bogiemon

    Macro to create and use a new excel workbook

    The easiest way would be to pre-define the new Workbook. Dim wb As Workbook Set wb = Workbooks.Add wb.Activate
  14. Bogiemon

    VBA Clearing the clipboard.

    They maybe a easier way, but this works. Dim ClipBoard As DataObject Set ClipBoard = New DataObject ClipBoard.SetText "" ClipBoard.PutInClipboard
  15. Bogiemon

    Printing same cells as cover page

    Why don't you have another sheet that's formatted how you want the header page and when you do the print copy the name and subject over to this new sheet and print that.
  16. Bogiemon

    Sheet protection &gt; Protect from editing, leaving it open for vba?

    You can set the Visible property to 2 (Very Hidden), this way the user can not unhide the sheet. You can always protect the sheet with a password and unprotect the sheet in your VBA before you do any amendments to it.
  17. Bogiemon

    Opening files on network drives within a macro.

    ou will need to use the fully qualified path and name. "\\networkdrivename\partitionname\dir\dir\filename
  18. Bogiemon

    Create email address as hyperlink

    To get the link you will have to use HTML .HTMLBody = "<A HREF='mailto:email@domain.com'>email@domain.com</A>
  19. Bogiemon

    Using a Macro to add Days to a date

    Wouldn't it be easier to have the Monday Date in say Cell A1. Then the formula in B1 =A1 + 1, C1 = B1 + 1 etc... Then all you would need to do is add 7 to Cell A1. Range("A1").Value = Range("A1").Value + 7
  20. Bogiemon

    outlook 2003 filing email button

    This might help: Dim nms As NameSpace, sel As Selection ', fld As MAPIFolder Set sel = Application.ActiveExplorer.Selection Set nms = Application.GetNamespace("MAPI") Set fld = nms.Folders("MainFolder").Folders("SubFolder1").Folders("SubfFolder2") 'Keep using .Folders until...

Part and Inventory Search

Back
Top