Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Inserting Control Toolbox text field in Print function

Is there a way to print the value of a Control Toolbox text field in a
spreadsheet's header? I have a dynamic print function that prints out the
spreadsheet. I would like to be able to use the text box when the print out
spans multiple pages.


Sub PrintCart()

Dim lngBottomRow As Long
Dim rngData As Range

'Where is the end of the data beginning with row 24, 1-23 reserved for
header
Set rngData = Range("a24").End(xlDown)

lngBottomRow = rngData.Row

Range("A1", "J" & lngBottomRow).PrintOut

End Sub

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control toolbox text box font size Geoff Excel Discussion (Misc queries) 1 December 12th 07 02:03 PM
how to put margins on a text book from the excel control toolbox? Amy Excel Discussion (Misc queries) 2 May 23rd 07 02:31 AM
Problem: Control Toolbox Control resizes when clicked Ed Excel Programming 1 July 27th 05 07:55 AM
Help to edit (bold, colour etc) words in a text box created by control toolbox Jonathan hill via OfficeKB.com Excel Discussion (Misc queries) 1 February 12th 05 01:00 PM
Controls Toolbox control vs Form Toolbox control Tony_VBACoder Excel Programming 3 January 28th 05 08:30 AM


All times are GMT +1. The time now is 03:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"