'close File
Application.DisplayAlerts = False
Workbooks(NewWorkbookName).Close SaveChanges:=False
Application.DisplayAlerts = True
Why doe is take so long to close a text file.....csv file in excel vba?
Is there a better method?
Matt
When I run macro1 I can actually see the Time Stop. Any Help would be appreciated.
Sub Macro1()
' Macro recorded 7/13/2005 by Matt Kerg
Repeat:
Time = Now
Length = Len(Time)
SpaceStr = InStr(1, Time, ":")
NewLength = Length - SpaceStr - 4
ReportTime =...
Is there a way in VBA to detect if a workbook is shared?
Is there a way in VBA to make a workbook shared and vica versa?
Thanks for your help in advance!
Matt
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.