Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 05-20-2005, 08:00   #1 (permalink)
Piotr
Civilians

 
Default How to do cells(x,y) for merged field

I have huge problem I cant get data from merged cell it is 4-5,9 in
excell when i try to point
CELLS(4,9) it returns null
cells(5,9) return null as well

how can i get this data I cant change the .xls file
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 05-20-2005, 12:00   #2 (permalink)
Jerry W. Lewis
Civilians

 
Default Re: How to do cells(x,y) for merged field

I cannot reproduce your problem. You do understand that the order of
arguments in Cells() is row, column?

I merged cells I4:I5 and filled the meged cell with "Eureka!" and ran
the following macro

Sub tryit()
For i = 4 To 5
Cells(i, 1) = Range("I" & i).Value
Cells(i, 2) = Cells(i, 9).Value
Next i
End Sub

which put "Eureka!" into A4:B4 and 0 into A5:B5

Jerry

Piotr wrote:

> I have huge problem I cant get data from merged cell it is 4-5,9 in
> excell when i try to point
> CELLS(4,9) it returns null
> cells(5,9) return null as well
>
> how can i get this data I cant change the .xls file


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
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
Filtering on merged cells mtaylor Microsoft Applications 1 09-09-2005 12:00
How to autofit row height for merged wrapped cells michele@quality-computing.com Microsoft Applications 3 05-23-2005 00:00
Merged Cells Jon Robertson Microsoft Applications 1 06-16-2004 02:21
Referencing merged cells Bill Allen Microsoft Applications 4 06-16-2004 01:43
Re: This operation requires the merged cells to be identically sized. Earl Brant Microsoft Applications 2 06-15-2004 15:09


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 13:44.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.66814 seconds with 18 queries