Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sandi
 
Posts: n/a
Default HELP NEEDED FOR IF Function Inside a Macro

when using an IF then else function inside a macro, how do you reference a
cell for a specifc value in the IF function. Any help would be greatly
appreciated.

Thanks
--
Sandi Gardner
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default HELP NEEDED FOR IF Function Inside a Macro

Worksheets("Sheet1").Range("A1").Value
or
Worksheets("Sheet1").Cells(1, 1).Value
or if the cell is named
Worksheets("Sheet1").Range("MyCellName").Value


"Sandi" wrote:

when using an IF then else function inside a macro, how do you reference a
cell for a specifc value in the IF function. Any help would be greatly
appreciated.

Thanks
--
Sandi Gardner

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
Macro to turn on "Track Changes" function John A Excel Discussion (Misc queries) 0 December 7th 05 05:31 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Function Macro for Nested IF Qaspec Excel Worksheet Functions 5 March 10th 05 07:25 PM


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