+ Reply to Thread
Results 1 to 6 of 6

How to avoid "$" from a cell address ?

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    50

    How to avoid "$" from a cell address ?

    Hello guys,

    I would like to get a cell address in the following format: "string + long". The first idea was to use the replace function . Even it seems a bit puerile it works. To be more specific I post the code below:
    Please Login or Register  to view this content.
    Do you know other solutions to solve better this small exercise ? Thanks in advance.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: How to avoid "$" from a cell address ?

    Use Address(0,0).
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    06-08-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: How to avoid "$" from a cell address ?

    Hello Norie,
    Thank you very much for this simple detail. It is exactly what I want. By the way, are you the same person with that from my last post posted on the Access section ?

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: How to avoid "$" from a cell address ?

    nemo66ro

    Yes it was me - did you get anywhere with the problem?

    I know I wasn't really much help especially with using an array to add records, but that really was the first time I'd seen it for ADO.

  5. #5
    Registered User
    Join Date
    06-08-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: How to avoid "$" from a cell address ?

    Hello Norie,

    Your suggestions helped me in way...After many searches and tests I think that my issue cannot be solved within ADO limits. Because of this limitation - we can load an array using GetRows method but we do not have something complementary to populate the rows from array - I am about to change the Access with Microsoft SQL Server 2008 which has a bulk insert option besides many other features. Because it is not properly to develop here this topic, I will come back to that thread posting a solution rather convenient - even it is based on looping ...Thank you very much for your interest.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: How to avoid "$" from a cell address ?

    What do you mean by there's nothing 'complementary?

    I think it is possible by manipulating the array populated wth GetRows into a suitable format.

    Might not be pretty but it could be done.


    PS Did you look into my suggestion of importing/linking the table with the data you want to add then running an append query?

    All of that could be done with code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1