Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to insert formula using cell reference/text - Urgent
I have a column in my master project list, column L that holds filenames of
all the project that are being worked on. E.g Column L row 2 = \\Housing\project1.xls It is possible to create a macro that will use this cell and the filename to insert a formula in Colum M row 2 to reference to a named range on the sheet? So Cell M2 ='\\Housing\project1.xls'!Aug08 once the macro has run? Any help on this will be greatly appreciated. Many thanks regards Arran |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to insert formula using cell reference/text - Urgent
You don't need a macro
="'"&L2&"'!Aug08" -- __________________________________ HTH Bob "stuck4once" wrote in message ... I have a column in my master project list, column L that holds filenames of all the project that are being worked on. E.g Column L row 2 = \\Housing\project1.xls It is possible to create a macro that will use this cell and the filename to insert a formula in Colum M row 2 to reference to a named range on the sheet? So Cell M2 ='\\Housing\project1.xls'!Aug08 once the macro has run? Any help on this will be greatly appreciated. Many thanks regards Arran |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to insert formula using cell reference/text - Urgent
Hi Bob,
Thanks for your quick response. The problem is, I need this to actually bring back the result of what is in the named range on the other spreadsheet, where as this just shows the file name and the range. "Bob Phillips" wrote: You don't need a macro ="'"&L2&"'!Aug08" -- __________________________________ HTH Bob "stuck4once" wrote in message ... I have a column in my master project list, column L that holds filenames of all the project that are being worked on. E.g Column L row 2 = \\Housing\project1.xls It is possible to create a macro that will use this cell and the filename to insert a formula in Colum M row 2 to reference to a named range on the sheet? So Cell M2 ='\\Housing\project1.xls'!Aug08 once the macro has run? Any help on this will be greatly appreciated. Many thanks regards Arran |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
URGENT: Can you insert a formula into a reference ie $B4:$C(row(x | Excel Worksheet Functions | |||
Macro 2 insert formula if part of cell contains specific text | Excel Programming | |||
Macro 2 insert formula if part of cell contains specific text | Excel Programming | |||
Can I insert a cell reference into a block of text? | Excel Discussion (Misc queries) | |||
Need macro to insert text string while inside cell (formula) | Excel Discussion (Misc queries) |