LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default bulk transfer of comments using a range

I'm trying to add comments to a range rather than one by one as follows...

Range(Cells(lRow, lOrigCol), Cells(lRow, lCol)).Comment = aRowComment

....in an effort to get better run times but get the following error

object variable or with block variable not set

....when I append .Text on the end of the command I get a compile error
saying assignment to a constant not permitted

aRowComment is an array of comments, built similarly to the array of values
currently transferring to the range with no problems.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to transfer specific range to another range ? ghost Excel Discussion (Misc queries) 0 June 11th 08 05:10 PM
adding colors, patterns, comments to large spreadsheets in bulk DB042188 Excel Programming 2 April 9th 08 07:27 PM
How to transfer emails from excel to bulk mailer Moving addresses from excel Excel Discussion (Misc queries) 1 December 20th 07 02:54 PM
ADO Excel to Access - bulk transfer of array? Post Tenebras Lux Excel Programming 3 April 12th 07 04:58 PM
Named Range Transfer Graham Haughs Excel Discussion (Misc queries) 9 February 21st 07 02:58 PM


All times are GMT +1. The time now is 07:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"