Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Code format question

Hi Group,

Just for the life of me can not remember the code which I used in the past
to format combined variables. First Variable should be (Fixed,Comma,2) and
the second should be as a %. It is the Fixed, Comma, 2 I am having trouble
with. Done it before, just can't remember.

Thanks,
David
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Code format question

Hi Again,

I found the example where I hd used it before, but it was used in a formula.
Not a help.

"David" wrote:

Hi Group,

Just for the life of me can not remember the code which I used in the past
to format combined variables. First Variable should be (Fixed,Comma,2) and
the second should be as a %. It is the Fixed, Comma, 2 I am having trouble
with. Done it before, just can't remember.

Thanks,
David

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Code format question

Stuck.
This what what I currently have:

ActiveCell.Offset(0, 2).Value = Wk4Avg & "/" & (Wk4AvgPer * 100) & "%"

and it puts this in the cell:
53.255/-2.27104339813363%

What I would like as the ending value is:
53.26/-2.27%

Any help would be appreciated.

Thanks,
David

"David" wrote:

Hi Group,

Just for the life of me can not remember the code which I used in the past
to format combined variables. First Variable should be (Fixed,Comma,2) and
the second should be as a %. It is the Fixed, Comma, 2 I am having trouble
with. Done it before, just can't remember.

Thanks,
David

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Code format question

Got it. Now it seems so simple. Must be getting old, memory the first thing
to go?

"David" wrote:

Hi Group,

Just for the life of me can not remember the code which I used in the past
to format combined variables. First Variable should be (Fixed,Comma,2) and
the second should be as a %. It is the Fixed, Comma, 2 I am having trouble
with. Done it before, just can't remember.

Thanks,
David

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
Question on this conversion code switching between r1c1 to A1 format tia sal2 temp Excel Worksheet Functions 1 September 16th 07 06:54 AM
Question on this conversion code switching between r1c1 to A1 format tia sal2 temp Excel Discussion (Misc queries) 2 September 14th 07 08:58 PM
Question on this conversion code switching between r1c1 to A1 format tia sal2 temp Excel Worksheet Functions 2 September 14th 07 08:58 PM
Question on this conversion code switching between r1c1 to A1 format tia sal2 temp Excel Programming 2 September 14th 07 08:58 PM
Leo Heuser format cleanup code, and a question GatesAntichrist Excel Programming 3 July 2nd 04 04:18 AM


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