+ Reply to Thread
Results 1 to 3 of 3

Attempting to AutoFit Row on another Worksheet

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    Central PA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Attempting to AutoFit Row on another Worksheet

    Greetings All,

    I've been attempting to deliver a solution involving some basic VBA (most of the work is being done with formulas). I'm looking at 3 worksheets (AppendixA, AppendixB and Summary) - there also is a Data worksheet, but that contains all my tables and is hidden. The users will make selections in Appendix A and this will translate into numeric values in Appendix B (being handled) and pass entered text into cells on the Summary worksheet.
    The catch is allowing users to enter their text in Comments in Appendix A and having the corresponding cells in Summary autofit their row height correctly.
    I'm looking to have this row autofit performed automatically (SelectionChange) as each Comment cell in AppendixA is updated (there are 8 in total).
    My questions are: (1) where should this be placed (AppendixA or Module1 or ThisWorkbook)? and (2) exactly how do I get the Rows.AutoFit to call properly?

    What I have so far (which is not working) located in AppendixA's code:

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Attempting to AutoFit Row on another Worksheet

    Hello dhoff,

    Welcome to the Forum.

    Deleted my suggestion as it won't work.

    I'll be back with a ready solution.
    Last edited by Winon; 08-06-2013 at 01:03 PM.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Attempting to AutoFit Row on another Worksheet

    Hello dhoff,


    Please try this Code:

    Please Login or Register  to view this content.
    Also see the "Please consider" note at the bottom of this post.

+ 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. Attempting to run SQL code in VBA.
    By Turtleman10 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2013, 10:08 AM
  2. [SOLVED] AutoFit Columns in specific worksheet
    By Dundas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-16-2012, 10:26 AM
  3. Problem with Autofit loop for each worksheet
    By Airgaf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-24-2011, 05:08 PM
  4. Attempting the impossible?
    By sarina1113 in forum Excel General
    Replies: 7
    Last Post: 10-08-2006, 07:26 PM
  5. Avoiding Errors When Attempting To Retrieve Data From A Non-existant Worksheet
    By BloodyShrapnel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2006, 09:25 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