INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Syntax for Excel in an Execute SQL Task to drop a specific cell

Syntax for Excel in an Execute SQL Task to drop a specific cell

(OP)
I'm trying to delete two specific cells in a ss. (A32 and A33)
I'm using an Exxecute SQL task to do this. I've seen examples online that show this syntax:

Drop Table ['My Sheet Summ$A32:A33'] - The name of my sheet is ['Agent Summary Report-Agent Summ$']

This doesn't work, since it can't find a sheet labeled, My Sheet Summ$A32:A33

So I've tried all alternatives I can think of:

Drop Table ['Agent Summary Report-Agent Summ$'](A32:A33)
Drop Table ['Agent Summary Report-Agent Summ$']A32:A33

etc.

Anyone know what the syntax should be to refer to a cell or cell range?
Here is the web page that I'm using for reference:

Link

Cross posted in the SQL group.
Thanks in advance!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close