+ Reply to Thread
Results 1 to 3 of 3

 

Thread: Excel help

  1. #1
    This is the one

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2,881
    Thanks
    29
    Thanked 9 Times in 7 Posts


    I've been playing around trying to do this for a bit and can't manage to do it.

    I have a file that I look at in Excel and want to have the values of different fields entering into a statement like I have below. Obvisoult the example below doesn't work but where the A2, B2 and C2 are are where I want the values to be displayed.

    INSERT INTO file.name (word1, word2,
    number1) VALUES ('A2', 'B2', 'B2');

    I've tried all the ways such as =a2 etc that you usually do if you just want to display that info into another cell but it dosn't work in the above scenario.

    Is there a way of doing this (that's if anyone actually understands the question?!)

    Cheers
    Wardy

  2. #2
    Avoiding real work

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Buckinghamshire
    Posts
    1,373
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wardy,

    Not 100% sure I understand.

    Are you saying that you have the 3 cells and then want to put their contents into a 4th cell that also has the insert statement in it?

    If so you will have to put something like
    Code:
    ="INSERT INTO file.name (word1, word2, number1) VALUES ('" & A2 & "', '" & B2 & "', '" & C2 & "');"
    Into the other cell
    Last edited by ianm; 31-10-03 at 01:01 PM.

  3. #3
    This is the one

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2,881
    Thanks
    29
    Thanked 9 Times in 7 Posts
    Absolutely spot on matey just what I was after

    How great is is that you can post a question just before you have your dinner then come back after and the answer is there waiting!!!

    Cheers
    Wardy

+ Reply to Thread


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Commission Increase - Excel Airways
    By KevinEdwards in forum DGM Affiliates
    Replies: 0
    Last Post: 16-02-05, 04:27 PM
  2. Excel Airways
    By KevinEdwards in forum DGM Affiliates
    Replies: 0
    Last Post: 26-01-05, 04:27 PM
  3. Excel Airways Doubles Commission
    By rich2nd in forum DGM Affiliates
    Replies: 0
    Last Post: 06-10-04, 04:35 PM
  4. Excel Airways £8 Commission for Every Sale
    By rich2nd in forum DGM Affiliates
    Replies: 5
    Last Post: 28-07-04, 06:19 PM
  5. Excel Airways
    By Jamesc in forum DGM Affiliates
    Replies: 1
    Last Post: 23-03-04, 08:36 PM

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
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2