Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Macro in Excel 2003 will not run

Hello,

I have a frustrating issue. I have Excel 2003 installed on Vista Home. I
have set my macro security to low. When I try to run the following macro it
only changes the starting cell. It seems pretty straight forward. am just
trying to remove the hyperlink from a column of cells

Sub macro1()
Dim Changecell As Range
For Each Changecell In Range("c1:c910")
Selection.Hyperlinks.Delete
Next Changecell

End Sub

What am I missing?

Thanks for any help

Larry C

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Macro in Excel 2003 will not run

Maybe

For Each Changecell In Range("c1:c910")
Changecell.Hyperlinks.Delete
Next Changecell


"Larry C" wrote:

Hello,

I have a frustrating issue. I have Excel 2003 installed on Vista Home. I
have set my macro security to low. When I try to run the following macro it
only changes the starting cell. It seems pretty straight forward. am just
trying to remove the hyperlink from a column of cells

Sub macro1()
Dim Changecell As Range
For Each Changecell In Range("c1:c910")
Selection.Hyperlinks.Delete
Next Changecell

End Sub

What am I missing?

Thanks for any help

Larry C


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Macro in Excel 2003 will not run


Change "Selection" to Changecell.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"Larry C" wrote in message ...
Hello,

I have a frustrating issue. I have Excel 2003 installed on Vista Home. I
have set my macro security to low. When I try to run the following macro it
only changes the starting cell. It seems pretty straight forward. am just
trying to remove the hyperlink from a column of cells

Sub macro1()
Dim Changecell As Range
For Each Changecell In Range("c1:c910")
Selection.Hyperlinks.Delete
Next Changecell

End Sub

What am I missing?

Thanks for any help

Larry C

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Macro in Excel 2003 will not run

Thanks, that did the trick


"Jim Cone" wrote in message
...

Change "Selection" to Changecell.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"Larry C" wrote in message
...
Hello,

I have a frustrating issue. I have Excel 2003 installed on Vista Home. I
have set my macro security to low. When I try to run the following macro
it
only changes the starting cell. It seems pretty straight forward. am
just
trying to remove the hyperlink from a column of cells

Sub macro1()
Dim Changecell As Range
For Each Changecell In Range("c1:c910")
Selection.Hyperlinks.Delete
Next Changecell

End Sub

What am I missing?

Thanks for any help

Larry C


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
Macro- Excel 2003 OzzyJim Excel Discussion (Misc queries) 3 December 16th 09 10:42 PM
Excel 2003 Macro vitamin.c Excel Discussion (Misc queries) 2 December 2nd 09 09:06 PM
how to run acces 2003 macro in excell 2003 macro gonggo Excel Discussion (Misc queries) 0 October 6th 09 11:45 AM
macro in excel 2003 constance Excel Worksheet Functions 1 March 21st 05 09:50 AM
Excel 2003 macro Betina Andersen Excel Programming 0 December 2nd 04 07:28 AM


All times are GMT +1. The time now is 04:34 PM.

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"