Results 1 to 4 of 4

Shift:=xlDown problem

Threaded View

  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

            Rows(p_portagem & ":" & p_portagem).Select
            Selection.Copy
            Selection.Insert Shift:=xlDown
    Attached Images Attached Images

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