LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default UserForm as Reader

I'd like to create a UserForm to be used as a "reader" for the active
cell. I have created UserForm1 with two text boxes on it, with the
following code:

Private Sub UserForm_Initialize()
TextBox1.text = ActiveCell.Value
TextBox2.Text = ActiveCell.Formula
End Sub

But when the UserForm is shown, it has the focus, and the focus is in
text box 1. I want to keep the focus on the worksheet, and edit and
use the WorkSheet in the "usual" manner, with the UserForm only
showing the contents of the ActiveCell actively.

And once the above is accomplished, the Userform must update
automatically with change in the active cell -- either content or
location.

How might this be done?

TIA

Fred Holmes

The font/typface in the text boxes will be larger.

The text boxes will wrap text multiline in order to show verbose
content fully.

The text boxes will be wider (characterwise) than the column width of
the active cell, in many instances.

The text boxes may perform additional functions, as I get ideas. Or I
could add other objects to the UserForm.

The worksheet formula editing bar does some of the above, but it
doesn't magnify the text. The userform can be put anywhere, while the
formula editing bar will expand to block the view of the top line on
the worksheet.
 
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
pdf Reader Libby Excel Programming 0 October 5th 09 05:56 PM
BIFF8 reader RB Smissaert Excel Programming 7 April 27th 07 05:06 PM
temperature reader Jon Peltier Excel Programming 0 January 10th 07 02:02 AM
exel reader jj Excel Discussion (Misc queries) 2 April 7th 05 08:26 PM
excel reader lilcajun Excel Programming 2 February 3rd 04 04:45 PM


All times are GMT +1. The time now is 06:55 AM.

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

About Us

"It's about Microsoft Excel"