Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel visual basic

I want to write a macro that will write values to cells on a sequence given
by a counter. For example counter = 1 then writes a certain value to cell A1,
then if counter goes to 2, i want the result to be posted on cell A2 and so
on so forth, so when this macro is run, it will do some calculations and post
for example 20 results in 20 rows on the same column. Could be easy to do
using the R[]C[] notation but I dont know how to do that... can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Excel visual basic

Hi
cells(counter,1).value="certain value"

--
Regards
Frank Kabel
Frankfurt, Germany

"pacheco" schrieb im Newsbeitrag
...
I want to write a macro that will write values to cells on a sequence

given
by a counter. For example counter = 1 then writes a certain value to

cell A1,
then if counter goes to 2, i want the result to be posted on cell A2

and so
on so forth, so when this macro is run, it will do some calculations

and post
for example 20 results in 20 rows on the same column. Could be easy

to do
using the R[]C[] notation but I dont know how to do that... can

anyone help?

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
Is Visual Basic the same as Visual Studio 2008? Mike Stewart Excel Worksheet Functions 5 January 11th 09 04:58 PM
Visual BASIC in Excel Emerogork via OfficeKB.com Excel Worksheet Functions 1 August 27th 07 04:53 PM
changing the visual basic in office 2003 to visual studio net bigdaddy3 Excel Discussion (Misc queries) 1 September 13th 05 10:57 AM
Visual Basic within Excel visually challenged Excel Programming 3 June 11th 04 11:21 PM
Visual Basic and Excel Hotbird[_3_] Excel Programming 5 May 13th 04 09:06 PM


All times are GMT +1. The time now is 01:29 PM.

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"