+ Reply to Thread
Results 1 to 6 of 6

Using VBA to move line to another spreadsheet & creating search bar.

  1. #1
    Registered User
    Join Date
    02-06-2025
    Location
    Australia
    MS-Off Ver
    Microsoft365
    Posts
    2

    Question Using VBA to move line to another spreadsheet & creating search bar.

    Hi all. I am familiar with excel but have very limited experience with VBA and I need some help with making my spreadsheet (which I hope I have attached correctly) easier to use.
    I would like the following:
    1. Once a job from 'Table1' on the 'Job Requests' spreadsheet is marked as 'Completed' in the status column, it automatically moves to the next available line in 'Table2' on the 'Completed Job Requests' spreadsheet.
    2. The row that the completed job was occupying on the 'Job Requests' spreadsheet gets deleted once it has moved to the 'Completed Job Requests' spreadsheets.
    3. On the 'Search' spreadsheet I want to create a dynamic search bar that will search the columns 'Department', 'Job #', 'Name', 'Unit #' & 'Date Finished' from 'Table2' on the 'Completed Job Requests' spreadsheet.
    4. I need the hyperlink to remain active on the completed job has moved to 'Table 2' on the 'Completed Job Requests' spreadsheet and when showing the results from the search bar on the 'Search' spreadsheet.
    Because I'm terrible with VBA I'm not sure if all this is possible or how to go about it.
    And I apologise if something I've written doesn't make sense or I have done something wrong in creating this post.
    Hoping someone can help me out.
    Thank you in advance.
    Mary
    Attached Files Attached Files
    Last edited by Clappo77; 02-11-2025 at 05:56 AM.

  2. #2
    Valued Forum Contributor MikeVol's Avatar
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    MSO Prof Plus 2021 x64 (En)
    Posts
    509

    Re: Using VBA to move line to another spreadsheet & creating search bar.

    Hi @Clappo77! Look in the file, is that what you wanted? I hope I helped you. Good luck.
    NOTE: As the original poster/owner, only you can mark your thread as SOLVED (Thread Tools above Post #1).
    You can say "Thanks" in your thread to everyone who offered to help you.
    You can also reward them by clicking * "Add Reputation" under their username on the left.
    With Regards, MikeVol.

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,363

    Re: Using VBA to move line to another spreadsheet & creating search bar.

    My sugggestion for Search sheet.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  4. #4
    Registered User
    Join Date
    02-06-2025
    Location
    Australia
    MS-Off Ver
    Microsoft365
    Posts
    2

    Re: Using VBA to move line to another spreadsheet & creating search bar.

    Thanks everyone

  5. #5
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,363

    Re: Using VBA to move line to another spreadsheet & creating search bar.

    You're welcome and thanks for rep+.

  6. #6
    Valued Forum Contributor MikeVol's Avatar
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    MSO Prof Plus 2021 x64 (En)
    Posts
    509

    Re: Using VBA to move line to another spreadsheet & creating search bar.

    Good luck and thanks for rep+

+ 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. [SOLVED] Creating a customizeable drop down image search spreadsheet
    By davidgeorge212 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-27-2024, 04:39 AM
  2. Extract a last line of a multi-line cell, to move it below
    By FlorianBB in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-17-2022, 10:17 AM
  3. Move row to new sheet and delete - Explain this code line by line
    By omoHF in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-11-2018, 12:38 PM
  4. Replies: 1
    Last Post: 03-16-2017, 04:41 PM
  5. Replies: 1
    Last Post: 04-05-2013, 03:40 PM
  6. VBA - Search xls spreadsheet for specific data and move cell value up one position
    By qnmahan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2013, 05:55 PM
  7. [SOLVED] How do I move a line marker on a line column combination chart?
    By dknj30 in forum Excel General
    Replies: 7
    Last Post: 05-08-2012, 09:21 AM

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