Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2008

Tip: Looking for answers? Try searching our database.

replace apostrophe with values above

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Koen - 15 Jan 2008 21:22 GMT
Hi, I'm looking for a solution for the following problem:
I have data in more or less the following form:

    A           B
1/1/08    Alex
    "             "
    "             "
13/1/08 Sarah
    "             "
    "             "

The apostrophes meaning that this cell has the same entry as the one above

So what I want to have is my data in the following form:

    A           B
1/1/08    Alex
1/1/08    Alex
1/1/08    Alex
13/1/08 Sarah
13/1/08 Sarah
13/1/08 Sarah

I used the code like in the following thread:

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.
public.excel.programming&tid=00384b45-5fdc-4668-b83d-615ed32fd142&cat=en_US_3a79
3e1f-4961-419d-9ec7-899d6e6086cd&lang=en&cr=US&sloc=en-us&m=1&p=1


It works fine for all symboles except for the apostrophe, because it has
some sort of function in VBA (don't know, because I cannot program in VBA)

Can anyone help me, or do I have to use a different symbol?

Thanks in advance,

Koen
Dave Miller - 15 Jan 2008 21:30 GMT
> Hi, I'm looking for a solution for the following problem:
> I have data in more or less the following form:
[quoted text clipped - 31 lines]
>
> Koen

If cell.Value = chr(34) Then
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.