Results 1 to 3 of 3

Printer Object in Excel 2010 VBA

Threaded View

  1. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Printer Object in Excel 2010 VBA

    You could put the string in a cell and then print the cell:

    Sub djQ()
      With Range("A1")
        .Value = "This is a test"
        .PrintOut
        .ClearContents
      End With
    End Sub
    Last edited by shg; 02-01-2015 at 02:56 PM.
    Entia non sunt multiplicanda sine necessitate

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel 2010 VBA Object Model
    By andrewc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2013, 11:33 AM
  2. Select printer VBA Office 2010
    By oo0tommyk0oo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2011, 06:43 PM
  3. Update excel OLE unbound object withing Access 2010
    By Snoopy2003 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-23-2011, 03:17 AM
  4. Update excel OLE unbound object withing Access 2010
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2011, 07:26 PM
  5. [SOLVED] How do I initiate the windows printer select object in Excel macro
    By Mick B in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2005, 06:06 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