+ Reply to Thread
Results 1 to 2 of 2

Workbook.Open question

  1. #1
    Barb Reinhardt
    Guest

    Workbook.Open question

    I have this within my code:

    Set oWB = Workbooks.Open(Cells(i, "B"), ReadOnly = True, UpdateLinks
    = False)


    It works fine when I have something like Y:\workbook.xls, but I'm not sure
    if it will work properly when I have something like \\locfile\workbook.xls in
    column B. Can someone tell me for sure?

    Thanks,
    Barb Reinhardt

  2. #2
    Tom Ogilvy
    Guest

    RE: Workbook.Open question

    the cell contained a valid URL such as:

    \\Server1\HOME\O\OgilvyTW\Docs\FIND_3_Strings.xls

    and it worked fine for me.

    --
    Regards,
    Tom Ogilvy


    "Barb Reinhardt" wrote:

    > I have this within my code:
    >
    > Set oWB = Workbooks.Open(Cells(i, "B"), ReadOnly = True, UpdateLinks
    > = False)
    >
    >
    > It works fine when I have something like Y:\workbook.xls, but I'm not sure
    > if it will work properly when I have something like \\locfile\workbook.xls in
    > column B. Can someone tell me for sure?
    >
    > Thanks,
    > Barb Reinhardt


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1