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 Westi 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. LauNai

    Retrieving Folder attributes: "Owner"

    Yes it is working find here for VBA Public Function fctGetOwner(strFile As String) As String Dim objWMIService As Object Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") Set colitems = objWMIService.ExecQuery _ ("ASSOCIATORS OF...
  2. LauNai

    Complete Selection of Rows

    If you want your macro to run on existing data in your worksheet, use : SpecialCells(xlLastCell) This line will delete all data recorded in your WS Worksheets("WS").Range("A1", .Cells.SpecialCells(xlLastCell)).ClearContents

Part and Inventory Search

Back
Top