Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can not write string to a cell

Hello everybody,

I want to do a really simple thing and just can't accomplish it.
I just want to write a string into a cell using VBA.

A simplified version of the vba code looks like this:

Sub Testing()
Application.Volatile
'Cells(1,2).Item="Geht nicht"
Range("A1").Value="Geht auch nicht"
End Sub

If I step through it in Debug mode, it terminates when executing th
Cells... or Range... line.

Looking at the simplicity, it has got to be some fundamental principl
that I don't get. :(
I appreciate your help!

Werne

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can not write string to a cell

There doesn't seem to be any problem with your code. It works perfectl
fine when i tried it.

- Manges

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can not write string to a cell

Hi Mangesh,

thanks for trying it!
I could confirm it meanwhile. I don't know what was causing the troubl
earlier.

Werne

--
Message posted from http://www.ExcelForum.com

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
Need to test for a specific text string and write value to another Pyramid 36 Excel Worksheet Functions 2 August 3rd 07 12:55 AM
Can I write an infinite amount in a cell with expanding the cell? adrnlnjnky Excel Discussion (Misc queries) 1 July 20th 07 10:32 AM
How can i write a vba code to get string or integer "C15" from $c$15? d Excel Programming 2 August 29th 03 06:11 PM
Create a formula into a String then assign string to a cell Myrna Larson[_2_] Excel Programming 6 August 23rd 03 09:42 PM
Question: Cell formula or macro to write result of one cell to another cell Frederik Romanov Excel Programming 1 July 8th 03 03:03 PM


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