+ Reply to Thread
Results 1 to 4 of 4

ERROR Selection.Insert Shift:=xlDown

  1. #1
    Registered User
    Join Date
    01-02-2023
    Location
    Portugal
    MS-Off Ver
    Office 2013
    Posts
    3

    Exclamation ERROR Selection.Insert Shift:=xlDown

    Hello everybody,

    CROSSPOSTED here: https://www.mrexcel.com/board/thread...ldown.1225839/

    I'm trying to run the following code to add one empty line, but it only works if I run the macro as soon as I open the excel:

    Please Login or Register  to view this content.
    If i change anything in the file after open it up and before run the code, I get the error attached.

    Thanks for your help!
    Attached Images Attached Images
    Last edited by Glenn Kennedy; 01-02-2023 at 07:50 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: ERROR Selection.Insert Shift:=xlDown

    Thanks. A pity you didn't read the other rules, too...

    https://www.excelforum.com/forum-rul...rum-rules.html

    Rule 3

    We have just found out that you have posted the same question elsewhere.... and haven't told us. Feel free to cross-post on other sites...

    But. Every forum has its rules. Please see Forum Rule #3 about cross-posting. So.

    Do not keep it a secret. We all are willing to give you our time, freely. However, some of us get very annoyed if we waste our time developing a solution for you, when you already have a nice solution elsewhere. All we ask is that you show us some respect and tell us:

    1) if you have cross-posted, and

    2) the URL of the cross posts.

    That way, those of us who don't want to waste their time can quickly check to see if you're already happy with another solution.



    However, since you are either a new member or a very infrequent user, on this occasion, I have done it for you. Is it cross-posted anywhere else?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-02-2023
    Location
    Portugal
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: ERROR Selection.Insert Shift:=xlDown

    Hi Glenn,

    There you go:
    https://stackoverflow.com/questions/...t-shift-xldown

    Thanks a lot!
    Last edited by Glenn Kennedy; 01-02-2023 at 10:23 AM.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: ERROR Selection.Insert Shift:=xlDown

    Thanks. Thread OPEN again. I edited the spaces out to make a live link.

    A word of advice.

    If I see that someone has posted the same query on ONE site, I will check to see if it has been answered or not before looking further at the problem.

    If I see it has been posted on MULTIPLE sites, I will usually ignore the thread and do something else.

    It can be a bit off-putting to see that it's everywhere on the interweb.

    I'll not be helping further... but only 'cos I know nothing about VBA.
    Last edited by Glenn Kennedy; 01-02-2023 at 10:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. “Selection.Insert Shift:=xlDown” gets Run-time error '1004'
    By watsonea4 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-02-2023, 07:07 AM
  2. [SOLVED] Macro Error (Selection.End(xlDown).Offset(1, 0).Select)
    By Sultan1994 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2022, 05:30 AM
  3. Compile Error - Selection.Insert Shift:=x1Down when used in Office 365
    By grantnorton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2018, 07:32 PM
  4. [SOLVED] Insert shift:=xlDown inserts junks on the sheet
    By Karen16 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-07-2017, 10:19 AM
  5. Excel hangs while doing [Selection.Insert Shift:=xlDown]
    By dhorellou in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 05:13 AM
  6. [SOLVED] Selection.Insert Shift:=xlDown NOT WORKING!?!?!?!?
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-07-2012, 04:43 PM
  7. Help - Insert method of Range class failed - Selection.Insert Shift:=xlToRight
    By sandy@excelforum in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2012, 11:14 AM

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