PC Review


Reply
Thread Tools Rate Thread

Checking macro

 
 
merry_fay
Guest
Posts: n/a
 
      11th Dec 2007
Hi,
I have a macro in which I'm trying to define cells, but am not sure whether
it's working so I want to get it to put what it's defined in a cell so I can
check

I've defined this:
AMR_UL_CE = Voice_UL_CE (this being a named range in my spreadsheet)

now I want it to show AMR_UL_CE here:
Sheets("Forecast assumptions").Select
Range("F19").Select

What code do I need to make it paste/print/show the AMR_UL_CE value?

Thanks
merry_fay
 
Reply With Quote
 
 
 
 
Carim
Guest
Posts: n/a
 
      11th Dec 2007
Hi,

Range("F19").Value = Range("Voice_UL_CE").Value

HTH
 
Reply With Quote
 
merry_fay
Guest
Posts: n/a
 
      11th Dec 2007
Thanks, but I know what the range Voice_UL_CE is as I can already see it in
the spreadsheet, what I'm trying to find out is what the macro is defining
AMR_UL_CE as when I do the code

AMR_UL_CE = Voice_UL_CE

I'm doing this because I have a list where I'm defining several things as
above, but for one of them, I haven't yet named the range in the spreadsheet
yet when I F8 through the macro, it's not showing an error, so I'm unsure
whether what I'm doing is correct or not & need to see what the macro thinks
the cell is to check this.

Thanks
merry_fay

"Carim" wrote:

> Hi,
>
> Range("F19").Value = Range("Voice_UL_CE").Value
>
> HTH
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      11th Dec 2007
As ever ... post the code else we are just guessing.

And an explanation of what it does/should do.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"merry_fay" <(E-Mail Removed)> wrote in message
news:F2EDB857-F30F-42EF-9053-(E-Mail Removed)...
> Thanks, but I know what the range Voice_UL_CE is as I can already see it
> in
> the spreadsheet, what I'm trying to find out is what the macro is defining
> AMR_UL_CE as when I do the code
>
> AMR_UL_CE = Voice_UL_CE
>
> I'm doing this because I have a list where I'm defining several things as
> above, but for one of them, I haven't yet named the range in the
> spreadsheet
> yet when I F8 through the macro, it's not showing an error, so I'm unsure
> whether what I'm doing is correct or not & need to see what the macro
> thinks
> the cell is to check this.
>
> Thanks
> merry_fay
>
> "Carim" wrote:
>
>> Hi,
>>
>> Range("F19").Value = Range("Voice_UL_CE").Value
>>
>> HTH
>>



 
Reply With Quote
 
merry_fay
Guest
Posts: n/a
 
      12th Dec 2007
Hiya,

Thanks, I've found someone who can give me an answer -I needed a msgbox
which then showed the value which was being defined.
Unfortunately the macro is 15 pages long so a bit much to paste here!!

Thanks
merry_fay

"Bob Phillips" wrote:

> As ever ... post the code else we are just guessing.
>
> And an explanation of what it does/should do.
>
> --
> ---
> HTH
>
> Bob
>
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
>
>
> "merry_fay" <(E-Mail Removed)> wrote in message
> news:F2EDB857-F30F-42EF-9053-(E-Mail Removed)...
> > Thanks, but I know what the range Voice_UL_CE is as I can already see it
> > in
> > the spreadsheet, what I'm trying to find out is what the macro is defining
> > AMR_UL_CE as when I do the code
> >
> > AMR_UL_CE = Voice_UL_CE
> >
> > I'm doing this because I have a list where I'm defining several things as
> > above, but for one of them, I haven't yet named the range in the
> > spreadsheet
> > yet when I F8 through the macro, it's not showing an error, so I'm unsure
> > whether what I'm doing is correct or not & need to see what the macro
> > thinks
> > the cell is to check this.
> >
> > Thanks
> > merry_fay
> >
> > "Carim" wrote:
> >
> >> Hi,
> >>
> >> Range("F19").Value = Range("Voice_UL_CE").Value
> >>
> >> HTH
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking the Value of a Check Box in a Macro ScottL Microsoft Excel Programming 0 11th Feb 2010 09:04 PM
Checking Two Conditions in a Macro Jani Microsoft Access Form Coding 3 24th Nov 2008 06:09 PM
macro checking Stan Halls Microsoft Excel Worksheet Functions 1 28th Dec 2007 01:48 PM
Macro's checking for errors =?Utf-8?B?QnJhZA==?= Microsoft Excel Programming 2 20th Feb 2007 08:36 PM
File Checking Macro Bryan Microsoft Powerpoint 0 5th Aug 2003 03:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 AM.