+ Reply to Thread
Results 1 to 6 of 6

Merge two Private Sub Worksheets - Troubleshoot

  1. #1
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Merge two Private Sub Worksheets - Troubleshoot

    Today, I got stuck with a new problem, actually how do we merge these two Private Sub worksheet as it seems to not work and throws
    up error and no way with my understanding why..... hope excel champs....will guide me.....


    Please Login or Register  to view this content.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Merge two Private Sub Worksheets - Troubleshoot

    Currently I assume your error is having 2 subs with the same name...

    Will this not work?

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Re: Merge two Private Sub Worksheets - Troubleshoot

    Great !!!!!!!!!!!!!!!!!!!!!! that seems to work........ but one last query regarding ......With ActiveSheet.Range("A:A").Font ....
    In A1 I have the headers......this includes that also as default....... if i change it as A2:A...... it throws up an error....any suggestions......i really value them...from your side..thanking you....

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Merge two Private Sub Worksheets - Troubleshoot

    A:A means entire column... if you start with A2 (meaning you specify row 2) then the second A also needs a row specified... try:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Re: Merge two Private Sub Worksheets - Troubleshoot

    that works like a charmmmmmmmmmmm..... thank you for this tip.......made my day.. bye... rep'd and closing this ....greto..

  6. #6
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Merge two Private Sub Worksheets - Troubleshoot

    Thanks
    Glad I could help!

+ 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. Public variable in private routine across worksheets
    By LeanAccountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-05-2014, 07:02 AM
  2. Replies: 1
    Last Post: 08-12-2014, 09:15 AM
  3. Private Sub Worksheet_Change Merge help required.
    By darrenkaye in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2013, 01:47 PM
  4. [SOLVED] Multiple Private Sub Worksheet_Change Merge
    By darrenkaye in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2013, 07:04 PM
  5. [SOLVED] Merge two Private Sub Worksheet_Change code
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-14-2012, 07:46 AM
  6. Merge 2 Worksheets (Same concept as RegEdit Merge or Outlook Vcard)
    By stevedes7 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-20-2009, 11:17 PM
  7. [SOLVED] troubleshoot merge cells - checked protection. Why is icon dim?
    By Walter K in forum Excel General
    Replies: 4
    Last Post: 12-13-2005, 11:20 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