+ Reply to Thread
Results 1 to 5 of 5

I need to amend a script for 1 row only.

  1. #1
    Forum Contributor
    Join Date
    08-02-2005
    Location
    LONDON
    MS-Off Ver
    OFFICE365
    Posts
    167

    I need to amend a script for 1 row only.

    Hi

    Ive got the formula of

    =INDEX($BA$1:$CT$1,ROWS($A$6:A28))&" "&INDEX($BA$2:$CT$2,ROWS($A$6:A28))

    which I believe takes the data from cells BA1-CT1 and also from BA2 to CT2 and works it way down the rows on a page. What Im trying to do is get the data starting from BA3 and copy all the way down the sheet as It is with other formula. The only thing is it will always be row 3 and just the one row.

    Any Ideas?

    Thanks

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,679

    Re: I need to amend a script for 1 row only.

    Try the following: =INDEX(BA$3:CT$3,ROWS(A$6:A6))
    If that doesn't work then I suggest uploading a small nonproprietary sample of your spreadsheet to show us some data you might want to copy and the results you would expect based on that data.
    As you haven't been here for a while the paperclip icon no longer works so you will need to click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor sauerj's Avatar
    Join Date
    11-11-2009
    Location
    Lafayette, IN
    MS-Off Ver
    Excel 2019
    Posts
    163

    Re: I need to amend a script for 1 row only.

    Dear Tweacle, It is not clear what you are trying to do. Could you condense your problem to a few rows & columns in an example workbook, and attach it?

  4. #4
    Forum Contributor
    Join Date
    08-02-2005
    Location
    LONDON
    MS-Off Ver
    OFFICE365
    Posts
    167

    Re: I need to amend a script for 1 row only.

    Spot on. Big Thanks

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,679

    Re: I need to amend a script for 1 row only.

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. script to run the macro from Vb script with out opening the excel file
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2021, 03:33 AM
  2. Amend Email VBA Script
    By Vinny1959 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2015, 08:48 AM
  3. [SOLVED] Using a userform to amend a string of VBA Script
    By Steven8294 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-20-2012, 04:38 PM
  4. Integrating Mainframe emulator script with excel's vba script
    By Himanshu Mishra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 10:30 AM
  5. Create VBA script to short, dedicated button in excel for script?
    By realized in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2009, 11:54 PM
  6. Script that edits the text printed on the button that runs the script
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2008, 02:41 PM

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