+ Reply to Thread
Results 1 to 3 of 3

Trying to make code below work on just one worksheet within a workbook

  1. #1
    Registered User
    Join Date
    12-08-2017
    Location
    Venice, Florida
    MS-Off Ver
    2016
    Posts
    22

    Trying to make code below work on just one worksheet within a workbook

    Hi, I'm trying to get the below code to work on one worksheet named "Data" within a workbook. The code works fine but it deletes line #2 in all the worksheets within the workbook. Thanks in advance. Alan

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,904

    Re: Trying to make code below work on just one worksheet within a workbook

    Maybe this:

    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
    12-08-2017
    Location
    Venice, Florida
    MS-Off Ver
    2016
    Posts
    22

    Re: Trying to make code below work on just one worksheet within a workbook

    Thanks so much! It worked as expected. Alan

+ 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. Request help to change my current macro code to work for all worksheet in a workbook
    By CloudXiang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2017, 11:00 PM
  2. [SOLVED] Make workbook work in 64 Bit environment
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-28-2015, 09:06 PM
  3. Make a Macro work on any workbook
    By axtryo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2015, 07:04 PM
  4. Make the same VBA code work for all sheets of the Workbook.
    By Francisco Sousa in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2015, 07:35 AM
  5. [SOLVED] Name worksheet from the cell (again:)). How to make it work for the whole workbook?
    By Aquamore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2013, 05:30 PM
  6. Replies: 1
    Last Post: 08-14-2013, 12:01 PM
  7. how to make code work
    By Oeysbrei in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2012, 06:22 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