+ Reply to Thread
Results 1 to 3 of 3

how to make it easy for one group of vba code to use in sheet 1 to sheet 30

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    how to make it easy for one group of vba code to use in sheet 1 to sheet 30

    dear sir

    how to make it easy, that is for sheet 1 , sheet 2 to sheet 100
    use the same vba code, now we only can do like follow
    how to use like sheet i , for i =1 to 100 ...like this ..
    how the vba code will be? pls help

    sub easy()

    Sheets("Sheet1").Select
    vba code

    "
    "

    Sheets("Sheet100").Select
    vba code

    end sub

    thanks
    tom

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to make it easy for one group of vba code to use in sheet 1 to sheet 30

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: how to make it easy for one group of vba code to use in sheet 1 to sheet 30

    Thanks sixthsense. It work.

+ 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. How to make your code run on a specific sheet
    By thewiseguy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-08-2015, 09:18 PM
  2. [SOLVED] Code to make changes to a sheet
    By Will03 in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 06-20-2014, 03:33 PM
  3. Replies: 2
    Last Post: 01-18-2014, 10:54 PM
  4. Make a Sheet Active from Code
    By rau in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-02-2014, 01:25 AM
  5. Replies: 3
    Last Post: 04-23-2013, 06:49 PM
  6. How do I make Sheet Code available in all sheets
    By antonf in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-20-2009, 04:31 PM
  7. Replies: 1
    Last Post: 06-02-2005, 06:05 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