Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am using the following to reference worksheets which works fine except for
when the worksheet name contains a space. =INDIRECT($A8&"!AI$8") I dont want to remove the space from the worksheet name because it will cause all other sorts of issues. How can I get this to work? Im guess it involves enclosing the the W/S in ' ' but I've had no sucess Bruce |
#2
![]() |
|||
|
|||
![]()
Pay CLOSE ATTENTION to the ' placement in the formula
=INDIRECT("'"&A1&"'!C1") =INDIRECT("'"&A1&"'!C1") -- Don Guillett SalesAid Software "Bruce" wrote in message ... I am using the following to reference worksheets which works fine except for when the worksheet name contains a space. =INDIRECT($A8&"!AI$8") I dont want to remove the space from the worksheet name because it will cause all other sorts of issues. How can I get this to work? Im guess it involves enclosing the the W/S in ' ' but I've had no sucess Bruce |
#3
![]() |
|||
|
|||
![]()
Yes, you'll have to enclose the ws name in single quotes.
Try: =INDIRECT("'"&$A8&"'!AI8") HTH Jason Atlanta, GA -----Original Message----- I am using the following to reference worksheets which works fine except for when the worksheet name contains a space. =INDIRECT($A8&"!AI$8") I dont want to remove the space from the worksheet name because it will cause all other sorts of issues. How can I get this to work? Im guess it involves enclosing the the W/S in ' ' but I've had no sucess Bruce . |
#4
![]() |
|||
|
|||
![]()
=INDIRECT("'"&A1&"'!C1")
thats " ' " & a1 & " '!c1" -- Don Guillett SalesAid Software "Bruce" wrote in message ... I am using the following to reference worksheets which works fine except for when the worksheet name contains a space. =INDIRECT($A8&"!AI$8") I dont want to remove the space from the worksheet name because it will cause all other sorts of issues. How can I get this to work? Im guess it involves enclosing the the W/S in ' ' but I've had no sucess Bruce |
#5
![]() |
|||
|
|||
![]()
Thanks guys, got it sorted...
"Don Guillett" wrote: =INDIRECT("'"&A1&"'!C1") thats " ' " & a1 & " '!c1" -- Don Guillett SalesAid Software "Bruce" wrote in message ... I am using the following to reference worksheets which works fine except for when the worksheet name contains a space. =INDIRECT($A8&"!AI$8") I dont want to remove the space from the worksheet name because it will cause all other sorts of issues. How can I get this to work? Im guess it involves enclosing the the W/S in ' ' but I've had no sucess Bruce |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copyright and worksheet protection | Excel Discussion (Misc queries) | |||
Indirect reference from one worksheet to another | Excel Worksheet Functions | |||
Reference Data in Moved Worksheet | Setting up and Configuration of Excel | |||
Worksheet name and Backward compatibility | Excel Discussion (Misc queries) | |||
Using Indirect & Creating a worksheet Macro | Excel Worksheet Functions |