Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm using the following function in a parameter
=indirect("Domestic!A"&row()) It works great until I save the spread sheet. When I reopen I get the following error message and the parm has disappeared? Could not obtain parameter from reference (Bad name or workbook not open). Proceed to prompt for value. Does anyone know why this is happening? Thank You |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The row() needs to reference something. Try this, assuming you are entering
the formula on row 1. =INDIRECT("Domestic!A"&ROW(A1)) "saveas getting rid of formulas" wrote: I'm using the following function in a parameter =indirect("Domestic!A"&row()) It works great until I save the spread sheet. When I reopen I get the following error message and the parm has disappeared? Could not obtain parameter from reference (Bad name or workbook not open). Proceed to prompt for value. Does anyone know why this is happening? Thank You |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No this had the same result.
both =INDIRECT("Domestic!A"&ROW(A1)) and =INDIRECT("Domestic!A"&ROW( )) work and return the cell value correctly. I get the error when I then save the spread sheet and try to reopen it. Thanks "Jonathan Cooper" wrote: The row() needs to reference something. Try this, assuming you are entering the formula on row 1. =INDIRECT("Domestic!A"&ROW(A1)) "saveas getting rid of formulas" wrote: I'm using the following function in a parameter =indirect("Domestic!A"&row()) It works great until I save the spread sheet. When I reopen I get the following error message and the parm has disappeared? Could not obtain parameter from reference (Bad name or workbook not open). Proceed to prompt for value. Does anyone know why this is happening? Thank You |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No, ROW() implicitly declares the current row, the row the formula is in.
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Jonathan Cooper" wrote in message ... The row() needs to reference something. Try this, assuming you are entering the formula on row 1. =INDIRECT("Domestic!A"&ROW(A1)) "saveas getting rid of formulas" wrote: I'm using the following function in a parameter =indirect("Domestic!A"&row()) It works great until I save the spread sheet. When I reopen I get the following error message and the parm has disappeared? Could not obtain parameter from reference (Bad name or workbook not open). Proceed to prompt for value. Does anyone know why this is happening? Thank You |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It's a parameter to what?
-- Kevin Vaughn "saveas getting rid of formulas" wrote: I'm using the following function in a parameter =indirect("Domestic!A"&row()) It works great until I save the spread sheet. When I reopen I get the following error message and the parm has disappeared? Could not obtain parameter from reference (Bad name or workbook not open). Proceed to prompt for value. Does anyone know why this is happening? Thank You |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Strange. I copied your formula exactly into a worksheet, saved and
re-opened it and it worled fine. Hans |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
it is a parameter for an external data source - sql server
"flummi" wrote: Strange. I copied your formula exactly into a worksheet, saved and re-opened it and it worled fine. Hans |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying a formulae down a column that includes an INDIRECT | Excel Discussion (Misc queries) | |||
Pivot table question | Excel Discussion (Misc queries) | |||
Using the Indirect function with a sheet number instead of a sheet name | Excel Worksheet Functions | |||
referencing named formula using INDIRECT function | Excel Worksheet Functions | |||
INDIRECT function question | Excel Worksheet Functions |