Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default UDF and superscript

I have a UDF that returns values... I want to make the last digit in the UDF
a superscript. Is this possible? I have tried to call a sub from the
function, but I cannot get how to get around activecell... since the UDF
could be in several cells.

Does that make sense, thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default UDF and superscript

A UDF can not change the format of a cell when used within a sheet. A UDF can
only return a value to the cell that it is in. It can not change formatting
nor can it modify the values of other cells in the sheet. When called from
code (not called in a sheet) this restricion is lifted and it can do what it
wants to do to as many cells as it wants...
--
HTH...

Jim Thomlinson


"John" wrote:

I have a UDF that returns values... I want to make the last digit in the UDF
a superscript. Is this possible? I have tried to call a sub from the
function, but I cannot get how to get around activecell... since the UDF
could be in several cells.

Does that make sense, thanks!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default UDF and superscript

thanks

"Jim Thomlinson" wrote:

A UDF can not change the format of a cell when used within a sheet. A UDF can
only return a value to the cell that it is in. It can not change formatting
nor can it modify the values of other cells in the sheet. When called from
code (not called in a sheet) this restricion is lifted and it can do what it
wants to do to as many cells as it wants...
--
HTH...

Jim Thomlinson


"John" wrote:

I have a UDF that returns values... I want to make the last digit in the UDF
a superscript. Is this possible? I have tried to call a sub from the
function, but I cannot get how to get around activecell... since the UDF
could be in several cells.

Does that make sense, thanks!

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
Superscript Button Sloth Excel Programming 7 January 20th 06 10:39 PM


All times are GMT +1. The time now is 06:30 AM.

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

About Us

"It's about Microsoft Excel"