Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do i enable a function to change other cells?

i want to write a function that automatically fills other cells so i can
have a dynamic design.
here is my testfunction, if you tell me what to do to make it work, i can do
the rest alone:

public function test(text as string) as string
Cells(1, 2).value = "it works"
test = text
end function

thanks for your help
bommel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How do i enable a function to change other cells?

Hi
if you want to call this function in a spreadsheet cell the simple
answer is: this is not possible.

--
Regards
Frank Kabel
Frankfurt, Germany


Bommel wrote:
i want to write a function that automatically fills other cells so i
can have a dynamic design.
here is my testfunction, if you tell me what to do to make it work, i
can do the rest alone:

public function test(text as string) as string
Cells(1, 2).value = "it works"
test = text
end function

thanks for your help
bommel


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
Change a cells value with a function Ryan H Excel Worksheet Functions 4 April 26th 10 01:31 PM
Enable Function keys Thought I knew a lot Excel Discussion (Misc queries) 2 April 19th 09 08:03 PM
Enable copying function Freshman Excel Worksheet Functions 5 November 15th 06 07:42 PM
How can I change the colour of cells using an IF function? gctexcel Excel Worksheet Functions 1 January 10th 05 12:38 PM
Enable/Disable Worksheet Change Event code Stuart[_5_] Excel Programming 2 November 3rd 03 07:22 PM


All times are GMT +1. The time now is 05:10 AM.

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"