To keep things simple, I have stripped out the rest of the code and limited it to the main function, which is to send an SMS message on a click event, via a server that has been set up.
Error message is object required. This happens, of course, at the Set declaration. It's late, I'm tired...
To keep things simple, I have stripped out the rest of the code and limited it to the main function, which is to send an SMS message on a click event, via a server that has been set up.
Error message is object required. This happens, of course, at the Set declaration. It's late, I'm tired...
It's ok, I sorted it myself.
Private Sub ActiveXCtl148_Click()
On Error Resume Next
Dim strSourceFolder, strDestinationFolder, strFileExtension, strLogFile
strSourceFolder = ("C:\send")
strDestinationFolder = "O:\sitefile\"
strLogFile = "move_files.log"
' Declare objects.
Dim FSO: Set FSO =...
I have written this script to manage documents between a local computer and a server on the network. The code loops through every document within a folder on the C drive and then distributes that files based on both the first 3 letters of the file name (this is equal to one of many folders) and...
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.