Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a question about VBA in Excel. I received from Access of the data that I insert in Excel. I use a formula with a IF like below. I place it in the B24 cell then I recopy it in an automatic way to cell IV24 but I cannot use in IF for saying if I have anything, I do anything if not make calculation and frames the cell by a border. Code: -------------------------------------------------------------------------------- IF(B5="";"";b14*100/b22) -------------------------------------------------------------------------------- How to do in VBA this: I place myself in the B24 cell, If B5 and empty then I do anything if not I make B14*100/B22 and I put a border at my cell then I shift of a cell, I place myself in C24 and if C5 is empty I do anything if not I make C14*100/C22 then I frame my cell and so on. I would like to make a procedure which automatically starts reception of the data of Access. Could you help me on this problem. Keawee ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting question (if cell = 0, wrap cell in quotes) | New Users to Excel | |||
copying the function contained within a cell to anouther cell. | Excel Worksheet Functions | |||
function CELL() to return the formula in the referenced cell | Excel Worksheet Functions | |||
Function to determine if any cell in a range is contained in a given cell | Excel Worksheet Functions | |||
Question: Cell formula or macro to write result of one cell to another cell | Excel Programming |