VBA - Lotus Quickr/Connector

george hart

Board Regular
Joined
Dec 4, 2008
Messages
241
The code below works fine when importing from my "O" drive, yet I need this now to point to files within my Lotus QuickR - I have the connector within my windows explorer . How would I change this to point to the Quickr server - current in library/QBR/xls etc?

I can't seem to find anything on this

Dim wbOpen As Workbook
Dim wbNew As Workbook
'Change Path
Const strPath As String = "O:\OPS\Operational Training Admin\QBR\Central Template\"
Dim strExtension As String
Application.ScreenUpdating = False
'On Error Resume Next
ChDrive strPath
ChDir strPath
'Change extension
strExtension = Dir("QBR*.xls")

Do While strExtension <> ""
Set wbOpen = Workbooks.Open(strPath & strExtension, UpdateLinks:=0)
With wbOpen
.Sheets.Copy After:=ThisWorkbook.Sheets(2)
'wbNew.Sheets(wbNew.Sheets.Count).Name = wbNew.Sheets(wbNew.Sheets.Count).Cells(1, 1)
.Close SaveChanges:=False
End With

strExtension = Dir
Loop

Application.ScreenUpdating = True
On Error GoTo 0
End Sub

Many thanks in advance
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,613
Messages
6,179,896
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top