+ Reply to Thread
Results 1 to 3 of 3

VBA help -- after macro is run, page layout view changes

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Goergia USA
    MS-Off Ver
    Excel 2007
    Posts
    102

    VBA help -- after macro is run, page layout view changes

    Hi all!

    I need help with fixing this macro.

    The macro in this worksheet enables whatever is inputted into cell B2, will be placed in the footer also. Problem is, when I type into B2 and press enter, the view changes (please see the pic attached) - - the contents of page one extends to another page (page one only showing columns A through F, instead of A through H).

    Thanks so much in advance for any insight!

    Macro used:

    Please Login or Register  to view this content.
    This question also posted under the following link:
    https://www.mrexcel.com/forum/excel-...ml#post5254815
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by marshak; 04-04-2019 at 12:06 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: VBA help -- after macro is run, page layout view changes

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Goergia USA
    MS-Off Ver
    Excel 2007
    Posts
    102

    Re: VBA help -- after macro is run, page layout view changes

    Hi Jeff, thanks so much for the welcome and the instructions on posting code. Any help would be greatly appreciated.

+ 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] Hide page breaks in page layout view
    By Solvax in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2018, 01:25 PM
  2. Page Layout View
    By jpp7717 in forum Excel General
    Replies: 2
    Last Post: 03-08-2017, 04:57 PM
  3. Command Buttons not working in Page Layout view
    By Epscan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2017, 03:00 PM
  4. Replies: 2
    Last Post: 01-16-2016, 03:26 PM
  5. Removing extra sheets in Page Layout View
    By doozman in forum Excel General
    Replies: 1
    Last Post: 11-29-2012, 12:09 PM
  6. How to only the print area in the page layout view?
    By monarchos in forum Excel General
    Replies: 2
    Last Post: 05-24-2012, 05:30 PM
  7. Please provide Page Layout View in Excel 2003
    By JohnA in forum Excel General
    Replies: 0
    Last Post: 05-23-2006, 12:10 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