+ Reply to Thread
Results 1 to 3 of 3

how to make my ThisWorkbook work with my code

  1. #1
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    how to make my ThisWorkbook work with my code

    i have this code that works in another spreadsheet. but when i run it on this workbook, it fails.

    Please Login or Register  to view this content.
    if fails on this line:

    Please Login or Register  to view this content.
    thoughts?

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: how to make my ThisWorkbook work with my code

    Hi,

    What is the error message? If it is a "Subscript out of range" error then it means that the workbook containing the code does not have a tab called "BigMaster".
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to make my ThisWorkbook work with my code

    weird, i just restored the code from the old worksheet and its working fine. must have been a typo or something.

    but yes that was the error message.

    thanks xlnitwit.

+ 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] how can i make this code work as a toggle?
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2016, 02:51 PM
  2. [SOLVED] Code is crashing, how can I make this work?
    By liquidmettle in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 01-08-2016, 01:28 AM
  3. Make the below code work faster!!!
    By devpp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2013, 06:13 AM
  4. Replies: 1
    Last Post: 08-14-2013, 12:01 PM
  5. how to make code work
    By Oeysbrei in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2012, 06:22 AM
  6. How do I make ThisWorkbook.Name a global variable?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-22-2011, 11:35 AM
  7. *Add-In Help* Need help to make code into Add-In - List work
    By torontoguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2011, 03:25 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