ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   synchronizing folders (https://www.excelbanter.com/excel-programming/396475-synchronizing-folders.html)

Oldjay

synchronizing folders
 
Is it possible to be able to synchronize a folder on a local machine with a
folder on a server the same way you can in Windows
I want to do it with a command button

oldjay


JLGWhiz

synchronizing folders
 
Not sure what you want to do, but this is code from VBA help.

Private Sub app_WorkbookSync(ByVal Wb As Workbook, _
ByVal SyncEventType As Office.MsoSyncEventType)

If SyncEventType = msoSyncEventDownloadFailed Or _
SyncEventType = msoSyncEventUploadFailed Then

MsgBox "Workbook synchronization failed. " & _
"Please contact your administrator " & vbCrLf & _
"or try again later."

End If

End Sub


"Oldjay" wrote:

Is it possible to be able to synchronize a folder on a local machine with a
folder on a server the same way you can in Windows
I want to do it with a command button

oldjay


Abhishek[_3_]

synchronizing folders
 
On Aug 28, 3:52 pm, JLGWhiz wrote:
Not sure what you want to do, but this is code from VBA help.

Private Sub app_WorkbookSync(ByVal Wb As Workbook, _
ByVal SyncEventType As Office.MsoSyncEventType)

If SyncEventType = msoSyncEventDownloadFailed Or _
SyncEventType = msoSyncEventUploadFailed Then

MsgBox "Workbook synchronization failed. " & _
"Please contact your administrator " & vbCrLf & _
"or try again later."

End If

End Sub



"Oldjay" wrote:
Is it possible to be able to synchronize a folder on a local machine with a
folder on a server the same way you can in Windows
I want to do it with a command button


oldjay- Hide quoted text -


- Show quoted text -


it's not working buddy


Oldjay

synchronizing folders
 
Thanks I will try it

"JLGWhiz" wrote:

Not sure what you want to do, but this is code from VBA help.

Private Sub app_WorkbookSync(ByVal Wb As Workbook, _
ByVal SyncEventType As Office.MsoSyncEventType)

If SyncEventType = msoSyncEventDownloadFailed Or _
SyncEventType = msoSyncEventUploadFailed Then

MsgBox "Workbook synchronization failed. " & _
"Please contact your administrator " & vbCrLf & _
"or try again later."

End If

End Sub


"Oldjay" wrote:

Is it possible to be able to synchronize a folder on a local machine with a
folder on a server the same way you can in Windows
I want to do it with a command button

oldjay


Oldjay

synchronizing folders
 
I don't know what you mean by

oldjay- Hide quoted text -

- Show quoted text -


it's not working buddy


oldjay

"Abhishek" wrote:

On Aug 28, 3:52 pm, JLGWhiz wrote:
Not sure what you want to do, but this is code from VBA help.

Private Sub app_WorkbookSync(ByVal Wb As Workbook, _
ByVal SyncEventType As Office.MsoSyncEventType)

If SyncEventType = msoSyncEventDownloadFailed Or _
SyncEventType = msoSyncEventUploadFailed Then

MsgBox "Workbook synchronization failed. " & _
"Please contact your administrator " & vbCrLf & _
"or try again later."

End If

End Sub



"Oldjay" wrote:
Is it possible to be able to synchronize a folder on a local machine with a
folder on a server the same way you can in Windows
I want to do it with a command button


oldjay- Hide quoted text -


- Show quoted text -


it's not working buddy




All times are GMT +1. The time now is 02:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com