#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Iguss
 
Posts: n/a
Default Refresh Button


I am trying to create a module/procedure code which would let me fill
missing fields in Excel based on the values that are above and below it.
(That is realy confusing)

As an example I have 6 cells one of them has variable? "Close" and the other
"New".

I need to write a loop in Excel where empty fields that are above or below
variable "Close" would show "Close" and variable "New" would fill empty
space that are below "New" cell.

I believe that it would start something like Sub RefButton()

If cell = "Close" empty cell above is also "Close" and empty cell below =
"Close.

Then

If cell is "New" empty cell below would also be= "New".

Would anyone know of a cure to my problem?

Igor


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
Command Button anomalies RWN Excel Discussion (Misc queries) 5 May 4th 05 05:09 AM
Command Button VBA code Dave Peterson Excel Discussion (Misc queries) 2 January 25th 05 11:28 PM
how to create button commande to refresh data in query in excel 2. Jean-Francois Excel Discussion (Misc queries) 1 January 6th 05 08:03 PM
command button moves Stuart Excel Discussion (Misc queries) 2 December 15th 04 05:56 PM
How do I setup a spin button in excel Andy K Excel Discussion (Misc queries) 1 November 26th 04 09:08 PM


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