Warning: Cannot modify header information - headers already sent by (output started at /home/excel13/public_html/blog/wp-content/themes/cordobo-green-park-09-beta-09/functions.php:2) in /home/excel13/public_html/blog/wp-includes/feed-rss2-comments.php on line 8
Comments on: Thanks a lot, macro recorder! http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/ More geeky stuff from the author of www.excelguru.ca... Mon, 31 Oct 2011 15:51:25 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: Ken Puls http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/comment-page-1/#comment-161276 Ken Puls Sun, 05 Jul 2009 19:28:53 +0000 http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/#comment-161276 Jon/Bob... yes, Pivot Tables seem to work fine for my needs. I've frequently recorded PT actions in 2007 and always got code. Adam, the formula that I was using was hugely long, so maybe that's it. The irony is that recording a macro to enter the same formula in a cell gives you the code. So it's not like it can't do it, it just buggers up when it's part of the cf. Oh, and fwiw, I'm running SP2 as well. Jon/Bob… yes, Pivot Tables seem to work fine for my needs. I’ve frequently recorded PT actions in 2007 and always got code.

Adam, the formula that I was using was hugely long, so maybe that’s it. The irony is that recording a macro to enter the same formula in a cell gives you the code. So it’s not like it can’t do it, it just buggers up when it’s part of the cf.

Oh, and fwiw, I’m running SP2 as well.

]]>
By: AdamV http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/comment-page-1/#comment-161266 AdamV Sun, 05 Jul 2009 17:49:41 +0000 http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/#comment-161266 I could not reproduce this bug with my install of Excel 2007 sp2, perhaps it only occurs for particularly long or complex formulae? syntax in VBA for this is essentially the formula wrapped in double quotes as a string, and with normal escape procedures to double up other quotes to make them literal. eg: Selection.FormatConditions.Add Type:=xlExpression, Formula1:= "=A1=""hello world""" I could not reproduce this bug with my install of Excel 2007 sp2, perhaps it only occurs for particularly long or complex formulae?
syntax in VBA for this is essentially the formula wrapped in double quotes as a string, and with normal escape procedures to double up other quotes to make them literal.
eg:
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= “=A1=”"hello world”"”

]]>
By: Bob Phillips http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/comment-page-1/#comment-160762 Bob Phillips Thu, 02 Jul 2009 07:31:44 +0000 http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/#comment-160762 I recorded a basic pivot last week, and also a pivot filter and both worked fine, but I agree, they have really been blasé about breaking the macro recorder. And of course, I am sure they ave no intention of fixing it. I recorded a basic pivot last week, and also a pivot filter and both worked fine, but I agree, they have really been blasé about breaking the macro recorder. And of course, I am sure they ave no intention of fixing it.

]]>
By: Jon Peltier http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/comment-page-1/#comment-159991 Jon Peltier Sat, 27 Jun 2009 21:46:35 +0000 http://www.excelguru.ca/blog/2009/06/26/thanks-a-lot-macro-recorder/#comment-159991 The 2007 recorder comes up short for most features which were added or significantly changed in 2007. Shapes are completely absent from the recorder, while charts (which are comprised of shapes) lacks any of the formatting inherited from the shapes. I'm not surprised that you tripped over conditional formatting. Have you tried macro recording of pivot tables? (I haven't, I'm just interested to hear.) The 2007 recorder comes up short for most features which were added or significantly changed in 2007. Shapes are completely absent from the recorder, while charts (which are comprised of shapes) lacks any of the formatting inherited from the shapes.

I’m not surprised that you tripped over conditional formatting. Have you tried macro recording of pivot tables? (I haven’t, I’m just interested to hear.)

]]>