Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Conditionallly formatting a textbox

I am using Excel 97. Is it possible with code to conditonally format a
textbox or shape depending on the value of a cell on a seperate worksheet or
even workbook?

If so, can someone assist me with some code, please?
--
Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditionallly formatting a textbox

there is no built in support for it.

What causes the cell to change value? What kind of textbox (drawing
toolbar? )

You can probably use an event to react to that or use the calculate event to
update on every calculate.

Given that, what do you need to know?

--
Regards,
Tom Ogilvy

"Mark" wrote in message
...
I am using Excel 97. Is it possible with code to conditonally format a
textbox or shape depending on the value of a cell on a seperate worksheet

or
even workbook?

If so, can someone assist me with some code, please?
--
Mark



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Conditionallly formatting a textbox

The cell value will change on a weekly basis. The spreadsheet with the cell
value changes is emailed from our HQ, I would write some code to point the
that workbook, if you could help with some code it would be greatly
appreciated.
--
Mark


"Tom Ogilvy" wrote:

there is no built in support for it.

What causes the cell to change value? What kind of textbox (drawing
toolbar? )

You can probably use an event to react to that or use the calculate event to
update on every calculate.

Given that, what do you need to know?

--
Regards,
Tom Ogilvy

"Mark" wrote in message
...
I am using Excel 97. Is it possible with code to conditonally format a
textbox or shape depending on the value of a cell on a seperate worksheet

or
even workbook?

If so, can someone assist me with some code, please?
--
Mark




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditionallly formatting a textbox

Assming this is a textbox from the Drawing toolbar, why not link it to the
cell below the textbox (assuming it resides in the worksheet).

Then, you can link that cell to the external workbook.

Sub LinkCell()
sName = "MyFile"
Range("A1").formula = "=[C:\Myfolder\" & sName & ".xls]Sheet3!B9"
End Sub

--
Regards,
Tom Ogilvy

"Mark" wrote in message
...
The cell value will change on a weekly basis. The spreadsheet with the

cell
value changes is emailed from our HQ, I would write some code to point the
that workbook, if you could help with some code it would be greatly
appreciated.
--
Mark


"Tom Ogilvy" wrote:

there is no built in support for it.

What causes the cell to change value? What kind of textbox (drawing
toolbar? )

You can probably use an event to react to that or use the calculate

event to
update on every calculate.

Given that, what do you need to know?

--
Regards,
Tom Ogilvy

"Mark" wrote in message
...
I am using Excel 97. Is it possible with code to conditonally format

a
textbox or shape depending on the value of a cell on a seperate

worksheet
or
even workbook?

If so, can someone assist me with some code, please?
--
Mark






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
textbox formatting jnf40 Excel Discussion (Misc queries) 1 August 3rd 06 08:12 PM
TextBox Formatting grahammal Excel Discussion (Misc queries) 3 April 12th 06 04:54 PM
Help With TextBox Formatting Minitman[_4_] Excel Programming 1 November 4th 04 07:25 AM
TextBox Formatting ToddG[_2_] Excel Programming 5 April 7th 04 09:29 PM
Textbox formatting Todd Huttenstine[_3_] Excel Programming 5 January 25th 04 12:25 AM


All times are GMT +1. The time now is 11:37 PM.

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"