View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
tg tg is offline
external usenet poster
 
Posts: 58
Default using formula =sum('*'!A1) in a macro does not work.

I am trying to use the formula above in a macro that is ran once a button is
clicked.

the problem is that the formula goes from =sum('*'!A1) to =sum('*''!A1'),
this results in an error message (#NAME), does anyone know why this is
happening when it is used in a macro? If i use this in a cell and type it
myself it works great!


Thanks in advance,

TG