Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Change property of comments only

Hi there,

I'd like to change property of comments only with a macro. The code in

http://support.microsoft.com/default...b;en-us;211769

is changing the property of all objects in the sheet.

Does anyone know if this is possible.

--
Regards,

Martin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Change property of comments only

What property do you want to change and do you want to change all comments
or just one comment?

--
Regards,
Tom Ogilvy

"Martin" wrote in message
...
Hi there,

I'd like to change property of comments only with a macro. The code in

http://support.microsoft.com/default...b;en-us;211769

is changing the property of all objects in the sheet.

Does anyone know if this is possible.

--
Regards,

Martin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Change property of comments only

Hi Tom,

Sorry I was not clear enough. I want to change all comments to xlMove.
--
Regards,

Martin


"Tom Ogilvy" wrote:

What property do you want to change and do you want to change all comments
or just one comment?

--
Regards,
Tom Ogilvy

"Martin" wrote in message
...
Hi there,

I'd like to change property of comments only with a macro. The code in

http://support.microsoft.com/default...b;en-us;211769

is changing the property of all objects in the sheet.

Does anyone know if this is possible.

--
Regards,

Martin




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Change property of comments only

Sub abcd()
For Each cmt In ActiveSheet.Comments
cmt.Shape.Placement = xlMove
Next
End Sub

--
Regards,
Tom Ogilvy

"Martin" wrote in message
...
Hi Tom,

Sorry I was not clear enough. I want to change all comments to xlMove.
--
Regards,

Martin


"Tom Ogilvy" wrote:

What property do you want to change and do you want to change all

comments
or just one comment?

--
Regards,
Tom Ogilvy

"Martin" wrote in message
...
Hi there,

I'd like to change property of comments only with a macro. The code in

http://support.microsoft.com/default...b;en-us;211769

is changing the property of all objects in the sheet.

Does anyone know if this is possible.

--
Regards,

Martin






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Change property of comments only

Brilliant, thanks a lot.
--
Regards,

Martin


"Tom Ogilvy" wrote:

Sub abcd()
For Each cmt In ActiveSheet.Comments
cmt.Shape.Placement = xlMove
Next
End Sub

--
Regards,
Tom Ogilvy

"Martin" wrote in message
...
Hi Tom,

Sorry I was not clear enough. I want to change all comments to xlMove.
--
Regards,

Martin


"Tom Ogilvy" wrote:

What property do you want to change and do you want to change all

comments
or just one comment?

--
Regards,
Tom Ogilvy

"Martin" wrote in message
...
Hi there,

I'd like to change property of comments only with a macro. The code in

http://support.microsoft.com/default...b;en-us;211769

is changing the property of all objects in the sheet.

Does anyone know if this is possible.

--
Regards,

Martin






Reply
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
Change insidewidth property M Selvaraj Charts and Charting in Excel 1 April 23rd 06 01:07 PM
how to use object variable to change the property of a Fendic[_13_] Excel Programming 4 August 6th 05 07:12 PM
Combobox change property SASMan Excel Programming 1 November 30th 04 11:22 PM
change Company property Maileen Excel Programming 2 September 29th 04 09:02 PM
Worksheet / Workbook Change Property Peter Excel Programming 3 April 28th 04 01:56 PM


All times are GMT +1. The time now is 12:07 AM.

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

About Us

"It's about Microsoft Excel"