+ Reply to Thread
Results 1 to 4 of 4

Shift:=xlDown problem

  1. #1
    Registered User
    Join Date
    07-08-2010
    Location
    Lisbon
    MS-Off Ver
    Excel 2007
    Posts
    11

    Shift:=xlDown problem

    Hello my friends,

    I need some help here please.

    I have a macro in VBA that is supposed to select a row, copy's the format and uses "Shift:=xlDown" to shift the cells down.

    But i got a problem, when the line with "Shift:=xlDown" is executed, a dialog box appears (see attached image), can anyone help me to get rid of the dialog box?

    This was working (the dialog box wasn't appearing), and now i don't know why it stopped working.

    The code i have is this

    Please Login or Register  to view this content.
    Attached Images Attached Images

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Shift:=xlDown problem

    That would suggest the cells you are copying contain a reference to an external file which is not longer available. So the File dialog is displayed.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-08-2010
    Location
    Lisbon
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Shift:=xlDown problem

    Quote Originally Posted by Andy Pope View Post
    That would suggest the cells you are copying contain a reference to an external file which is not longer available. So the File dialog is displayed.
    Hi Andy. Thanx for your reply.

    I went to see the formulas in that row and i found one in a column but it only refers to a sheet in the same workbook

    Please Login or Register  to view this content.
    No other formula in that row's columns.

    And i tried deleting that formula and run the macro again, and the dialog box still appears
    Last edited by bleeding_me; 07-08-2010 at 06:25 AM.

  4. #4
    Registered User
    Join Date
    07-08-2010
    Location
    Lisbon
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Shift:=xlDown problem

    Well i figured it out..

    There were some links in the workbook that were broken, which i missed....

    but your help was crucial to point me in the right direction

    thanx Andy

+ 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