+ Reply to Thread
Results 1 to 9 of 9

Marco range formula help

  1. #1
    Registered User
    Join Date
    03-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    5

    Marco range formula help

    I am writing and running a macro (details below) i just need to rewrite it, so the range is the active cell but one row up (-1,0??) instead of A8:CK9.

    Has anyone got any ideas to re-write in? i could also do with it being the entire row instead of just up to CK9

    Marco is


    Please Login or Register  to view this content.
    etc

    Thank you for your help
    Last edited by gavp; 03-04-2013 at 09:41 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Excel Macro Help

    Try:
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Excel Macro Help

    Its coming up a run time error?

    Hers is the de bug code

    Please Login or Register  to view this content.
    Bit hightlight in red is where its sayin the error is?
    Last edited by arlu1201; 03-04-2013 at 09:36 AM.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Excel Macro Help

    Gavp,

    Welcome to the forum.

    I have added code tags to your posts. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    03-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Marco range formula help

    Anyone have any ideas?

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Marco range formula help

    In looking at your code, it appears that you are trying to fill only one cell. In simple language, tell us what you are trying to do. If in fact you are only trying to paste a value into only one cell, then you do not need to use autofill. I am confused.

  7. #7
    Registered User
    Join Date
    03-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Marco range formula help

    I am trying to create a marco to insert a new line (which i have done) but then copy all the forumlaes/validations from the line above, the above is done on both sheets, 'schedule' and 'costing'

    Ivew got the insert bit fine, its just these cell always end up blank?

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Marco range formula help

    Replace this:
    Please Login or Register  to view this content.
    with this
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    03-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Marco range formula help

    Thank you for your help

+ 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