+ Reply to Thread
Results 1 to 3 of 3

adjustment in vba properties editor for sheet tabs and merging of codes

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    adjustment in vba properties editor for sheet tabs and merging of codes

    Hi All
    Can a macro make a change in the sheet name box in the vba properties editor for two sheets Wsworkings for workings sheet tab and Ws master as Master sheet tab.

    Actually I have to this manually

    Take note I did note write the vba code below

    The two codes are run individually, if they could merge I would be happy .

    Issue can the the WsMaster and Wsworkings be done automatically and merging the two vba code

    manually add Wsworkings and Ws master in vba editor

    The Add bridge_1 is run first then subcopyspecific code

    Please Login or Register  to view this content.

    Workings Sheet Tab

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by JEAN1972; 04-18-2017 at 11:44 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862

    Re: adjustment in vba properties editor for sheet tabs and merging of codes

    Are you trying to change the sheet name (the one in brackets) or the sheet codename (the other one)? If it's the other one - not in brackets - then:
    Please Login or Register  to view this content.
    Note that to access the codename you need access to the VBAProject - goto macro settings and set "Trust access to the VBA object model".

    The other questions about merging the code ... if it's just a case of running them one after the other rather than separately, just create a new sub:
    Please Login or Register  to view this content.
    MatrixMan.
    --------------------------------------
    If this - or any - reply helps you, remember to say thanks by clicking on *Add Reputation.
    If your issue is now resolved, remember to mark as solved - click Thread Tools at top right of thread.

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: adjustment in vba properties editor for sheet tabs and merging of codes

    Hi

    Not sure in the images attached in the vba properties , need to add manually wsMaster and wsWorkings otherwise the code throws error.

    A way to do that without to interfere in vba properties manually

+ 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. Turning on properties in VBA editor
    By Szwadron6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2017, 08:41 AM
  2. Need advice: Change VBA codes on worksheet without opening VBA Editor
    By Danny2312 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-01-2017, 11:38 AM
  3. Properties of Modules in VB editor missing (Office 365 - Mac - Yosemite)
    By crehan57 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2015, 09:28 AM
  4. How to access "properties" window in VBA editor on mac?
    By brmuda in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2015, 09:21 PM
  5. merging two codes into one
    By cybrkada in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-02-2014, 06:22 AM
  6. Merging two vba codes
    By yorilla in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2012, 05:19 AM
  7. Excel 2007 : Using Properties in Multiple Tabs
    By mibshubby in forum Excel General
    Replies: 0
    Last Post: 09-27-2011, 03:30 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