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 Chriss Miller 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. IvanMoala

    File Extensions determined Programatically

    Hi jpinto1167 Check out this Addin ?? May help http://www.xcelfiles.com/DocProp.html What this does is gets the Microsoft office Doc. properties {You'll need to select File type "*") It will tell you if it is NOT a MSO Doc other wise it will load in the File details .... one of which is the...
  2. IvanMoala

    MSGBOX Trailing images

    You may have Application.Screenupdating Set to False OR Inadvertently tried to select/Activate a hidden sheet Ivan F Moala http://www.xcelfiles.com
  3. IvanMoala

    Control Windows Explorer Through VBA

    If you just need to map a network drive then Here is one of many ways...... Sub Tester() Dim WshNetwork As Object Set WshNetwork = CreateObject("WScript.Network") WshNetwork.MapNetworkDrive "H:", "\\Server\Public" Set WshNetwork = Nothing End Sub If you want to see the Dialog then...
  4. IvanMoala

    "fumei" saying goodbye

    This is indeed a loss. Best of luck for future. Take care. Ivan F Moala http://www.xcelfiles.com
  5. IvanMoala

    Drag and drop form from anywhere

    Here is a Non API method to do this Option Explicit Private mblnMouseDown As Boolean Private msngX As Single Private msngY As Single Private Sub UserForm_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single) If Button = 2 Then mblnMouseDown =...
  6. IvanMoala

    How do you brose a directory?

    Yes, use PHV's code for std browsing. It is only when you need to get a little more control and ensure no Errors that you will need to look @ the CLSID const. Ivan F Moala http://www.xcelfiles.com
  7. IvanMoala

    How do you brose a directory?

    Sorry .... missed the const Thanks Tony Ivan F Moala http://www.xcelfiles.com
  8. IvanMoala

    How do you brose a directory?

    If you just need to browse for a Folder and NOT files then try this....... '// Minimum DLL version shell32.dll version 4.71 or later '// Minimum operating systems Windows 2000, Windows NT 4.0 with Internet Explorer 4.0, '// Windows 98, Windows 95 with Internet Explorer 4.0 '// objFolder =...
  9. IvanMoala

    default to server forder

    If you use a version < 2002 then you will need to resort to API's to do this. Ivan F Moala http://www.xcelfiles.com
  10. IvanMoala

    &quot;Hide&quot; the Titlebar?

    No there isn't a Property of the Userform. There is however one for all Windows. To do this you need API's. Note. If you remove this you cannot move or close the form. Thats because this area houses the menus. The following code requires a Checkbox and is just an Example .... it includes code...
  11. IvanMoala

    Display the size of the active file

    Or just use native Excel commands Sub FileSize() Dim strFileSize As String On Error GoTo NoGo strFileSize = FileLen(ActiveWorkbook.FullName) / 1024 MsgBox ActiveWorkbook.Name & " is " & Format(strFileSize, "#,#00") & " KBytes" & vbLf & _ "It has been saved as " &...
  12. IvanMoala

    Disable RightClick of the mouse

    Have a look here ..... http://www.xcelfiles.com/VBA_Quick13.html You will see the code to disable this .... Ivan F Moala http://www.xcelfiles.com
  13. IvanMoala

    How To Maximize IE Window via VBA

    something like this ... Option Explicit Public Declare Function ShowWindow _ Lib "user32" ( _ ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Public Declare Function SetForegroundWindow _ Lib "user32" ( _ ByVal hwnd As Long) _ As Long Public Const SW_MAXIMIZE As...
  14. IvanMoala

    Closing Print Preview Screen with Visual Basic Code

    You can do this via API calls and sendkeys BUT you need to be using XL2000+ due to Addressof operator Have a look here http://www.xcelfiles.com/API_02.html Option Explicit Declare Function SetTimer Lib "user32" ( _ ByVal hwnd As Long, _ ByVal nIDEvent As Long, _ ByVal uElapse As...
  15. IvanMoala

    Excel XLA; error on FormName.Show

    Your need to Step through your code in the userform. Or post here what code you have running in your Userform intialize Ivan F Moala http://www.xcelfiles.com
  16. IvanMoala

    Put images from worksheet onto userform

    Have a look here for the underlying code to do this http://www.xcelfiles.com/VB_Quick17.html It shows he basics of saving an Image Ivan F Moala http://www.xcelfiles.com
  17. IvanMoala

    Detecting if a cell contains a function or just a value

    or just Function IsFormula(Rg As Range) As Boolean '// Only for single cell and not a selection IsFormula = Rg.HasFormula End Function you could also use the old Xl4 macro Ivan F Moala http://www.xcelfiles.com
  18. IvanMoala

    How do I launch a Select Cell Dialogue Box ?

    Sub subTest() Dim myRange As Range Set myRange = Application.InputBox(prompt:="Sample", Type:=8) MsgBox myRange.Address End Sub Ivan F Moala http://www.xcelfiles.com
  19. IvanMoala

    REferencing to a Type Library

    have a look @ this link which may help you out in referencing........... http://www.mrexcel.com/board2/viewtopic.php?t=8251 Ivan F Moala http://www.xcelfiles.com
  20. IvanMoala

    Flicker free alternative to application.screenupdating

    Excel can do a number of things. Games?? Have a look here for some of my Japanese friends games......you would be surprised. http://www.xcelfiles.com/Games.html Ivan F Moala http://www.xcelfiles.com

Part and Inventory Search

Back
Top