Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I want to link a cell in the macro

I am trying to edit the macro: In the syntax given below I just want
to change the hard wired 0.12 to be linked to a cell and that cell
number is divided by 100.

For Ex : I have cell E15=12
and here in stead of 0.12 I want it to be linked to "E15/100".

Help me witht he syntax for the same.


Range("L39").Select
Range("L39").GoalSeek Goal:=0.12, ChangingCell:=Range("L43")
Range("L43").Select

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default I want to link a cell in the macro

Try something like this:

Target = Range("E15") / 100
Range("L39").Select
Range("L39").GoalSeek Goal:=Target, ChangingCell:=Range("L43")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
" wrote:
I am trying to edit the macro: In the syntax given below I just want
to change the hard wired 0.12 to be linked to a cell and that cell
number is divided by 100.

For Ex : I have cell E15=12
and here in stead of 0.12 I want it to be linked to "E15/100".

Help me witht he syntax for the same.


Range("L39").Select
Range("L39").GoalSeek Goal:=0.12, ChangingCell:=Range("L43")
Range("L43").Select


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
if i sort cell that has link to another page how to keep link steve Bahrain Excel Discussion (Misc queries) 1 August 16th 06 01:20 PM
if i sort cell that has link to another page how to keep link steve Bahrain Excel Discussion (Misc queries) 0 August 16th 06 07:37 AM
using macro that will link into web Conditional Formatting Excel Discussion (Misc queries) 0 May 11th 06 11:25 PM
How do I link a check box to a macro? Tom Excel Worksheet Functions 1 April 12th 05 04:37 AM
Macro updates and link goes #REF! ??? Rob Smith Links and Linking in Excel 1 February 16th 05 01:03 PM


All times are GMT +1. The time now is 08:33 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"