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: 5
Default formula in one cell needs to use a figure from another cell but it crashes

I have the follwoing code:

If Target.Address = "$F$165" Then
Rows(167).Resize(25).Hidden = True
If Target.Value = "No" Then _
Rows(167).Resize(F17 * 5).Hidden = False
End If

F165 gives a Yes or No response. There are 25 rows hidden from 167 to
192. If the response in 165 is NO, then it is to unhide a portion of
those 25 rows.

The portion I want unhidded is the cell F17 times 5 (where F17 is a
number between 1 and 5)

However I try to write that formula around that second Resize command
I get an error. I cannot figure what is wrong.

Help please!

RU
 
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
Excel workbook crashes when changing data in cell. John H. Milwaukee, WI Excel Discussion (Misc queries) 0 June 1st 09 09:26 PM
Single-cell formula to figure multiple percentages Ross Excel Discussion (Misc queries) 10 November 8th 08 04:49 PM
Want to make formula automatically figure out cell number in the r Daveb716 Excel Discussion (Misc queries) 1 August 29th 08 02:56 AM
Formatting a cell crashes Excel tpw Setting up and Configuration of Excel 0 May 26th 05 03:47 PM
Why Excel crashes everytime a cell is entered? BB Excel Discussion (Misc queries) 0 May 12th 05 03:04 PM


All times are GMT +1. The time now is 10:15 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"