#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Formula

I am trying to take information from 1 worksheet into another. Example of
what I want is- If in worksheet B P7-P8 is < than 0.75,then place into
worksheet C with the name of the person from worksheet b from cell A6.

I hope this makes sense! This is really hard for me to explain.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Formula


in a vba macro the full path for referring to a cell is the following

workbooks("XXXXX").worksheets("XXXXX").cells(XX, XX).XXXXX
the path can be truncated if you track where your at. IE if you leave off
the workbooks portion it will refer to that worksheet and cell in the
currently active workbook, the same is true for worksheets. For example using
a conditional if statement with cells in different workbooks

if workbooks("Cool1").worksheets("Sheet1").cells(5, 8).value =
workbooks("Cool2").worksheets("Sheet1").cells(5, 8).value then

hope this helps

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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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