+ Reply to Thread
Results 1 to 3 of 3

finding key word offset and repeat. plus move

  1. #1
    Registered User
    Join Date
    02-23-2012
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    14

    finding key word offset and repeat. plus move

    Hey everyone,

    I have been trying to automate my weekly reports while have created a workable solution, I am struggling with finding the best way complete my weekly tasks via VBA.

    Since my Reports are non-standard and does not have a unique identifier that I can reference. have decided that if I do a keyword search then offset from the word by 1 to 3 columns to extract the data, then place the value into a master sheet. I have several issues. 1. Have to report this action 30 times "aka third different word searches" 2. what happens when I move to the next day since all values currently linked to the previous day location. 3. issue i have is if the word doesn't exist at all.. it dumps me out the script. 4. as you can see I have to keep calling the Sheet or I get an error.

    If I stay on this paths, I will have hunderds of line of code, since I would have to repeat this section of Script 30 one for each item I am trying to extract than start over because the location of changes because value location would have to change so it doesn't over write last nights data.


    Any thoughts or suggestions?

    thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: finding key word offset and repeat. plus move

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    02-23-2012
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: finding key word offset and repeat. plus move

    mehmetcik, Thank you for the quick response code it was very helpful, I believe I understand what the code is doing you are use the MyArray to cycle thru all key words for a particular day. The keyword offset is in the array along with final destination, While stepping thru the code I noticed that the Destination is not being populated.

    Another area I would like your input on; do you think it would be best to put in a input box to enter in the name of the sheet or do you think it would be better to dump the files into a folder and have the Script pull the worksheet data then add it to the next empty line in the master spreadsheet?

    Thanks again for your help and support as I learn and get a better understanding

    -BB

+ 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. Create Formula, Repeat Formula, Move to next Worksheet and repeat
    By sparkyster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2018, 03:23 PM
  2. [SOLVED] Clear Contents of range, offset and repeat
    By mattmickle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2014, 05:07 PM
  3. Need to copy,paste, offset and repeat
    By lilynb in forum Excel General
    Replies: 2
    Last Post: 08-05-2014, 10:55 PM
  4. Need help to copy,paste, then offset and repeat
    By lilynb in forum Excel General
    Replies: 2
    Last Post: 08-05-2014, 10:54 PM
  5. VBA help: Copy, offset, add cells, repeat, all on one button?
    By JLSillitoe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2014, 11:05 AM
  6. [SOLVED] Repeat sheet offset values need removing somehow?
    By rdingley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2013, 04:56 PM
  7. Repeat sheet offset values need removing somehow?
    By rdingley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2013, 04:52 PM

Tags for this Thread

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