+ Reply to Thread
Results 1 to 4 of 4

how to select a row in Excel and print only the columns we want With Macro

  1. #1
    Registered User
    Join Date
    09-12-2022
    Location
    IRAN
    MS-Off Ver
    2016
    Posts
    2

    Red face how to select a row in Excel and print only the columns we want With Macro

    Hello friends, how are you?
    I have a question, is it possible to select a row in Excel and print only the columns we want? With a macro?
    I have a worksheet with 1000 rows and 30 columns. For example, if I select row 423 and press the macro button, columns a423, b423, c423 from that row will be prepared for printing

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: how to select a row in Excel and print only the columns we want With Macro

    Hi and Welcome

    You could try something like this to print columns A to C of the selected range

    Please Login or Register  to view this content.
    Happy with my advice? Click on the * reputation button below

  3. #3
    Registered User
    Join Date
    09-12-2022
    Location
    IRAN
    MS-Off Ver
    2016
    Posts
    2

    Re: how to select a row in Excel and print only the columns we want With Macro

    hi thanks bro
    I have another question
    If I want to select these columns ("H","J","C","D"), should I write in this way for printing?

    Please Login or Register  to view this content.

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: how to select a row in Excel and print only the columns we want With Macro

    Not sure you can do that. I would hide the columns I didn't want printed.

+ 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. Macro to select Print Areas in Excel to PowerPoint
    By jayman7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2009, 07:00 AM
  2. [SOLVED] how do i print select combinations of columns in Excel?
    By jbrown in forum Excel General
    Replies: 3
    Last Post: 06-28-2006, 05:55 PM
  3. Create a print macro that would automatically select print area?
    By Ron de Bruin in forum Excel Formulas & Functions
    Replies: 42
    Last Post: 09-06-2005, 07:05 PM
  4. Create a print macro that would automatically select print area?
    By Ron de Bruin in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 09-06-2005, 05:05 PM
  5. [SOLVED] Create a print macro that would automatically select print area?
    By wastedwings in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  6. [SOLVED] Create a print macro that would automatically select print area?
    By wastedwings in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. [SOLVED] Create a print macro that would automatically select print area?
    By wastedwings in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  8. Create a print macro that would automatically select print area?
    By wastedwings in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Tags for this Thread

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