Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default VBA to SQL DB with user input and results to sheet

Hi folks,

I'm trying to create a little solution that will allow a user to open the
..xls and be prompted to input date values which would then be used to query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate subs()
that will fill a range based on an IF statement and calculate some more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having trouble
passing my parameters through the SQL query, and I haven't even starting to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date =
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default VBA to SQL DB with user input and results to sheet



"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open the
.xls and be prompted to input date values which would then be used to query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate subs()
that will fill a range based on an IF statement and calculate some more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having trouble
passing my parameters through the SQL query, and I haven't even starting to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date =
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!


Hurdle No. 1 completed. I figured out my syntax error in my SQL statement.
It was actualy two problems in one. First I needed to concat my statement
string with my variables "where oe_hdr.order_date = " & dtStartDate & " ...
Then I ran into the problem of datatype mismatchs which I was albe to fix by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back to my
sheet 1.

Any help is always appreciated.

Thanks!!!
  #3   Report Post  
Posted to microsoft.public.excel.programming
MH MH is offline
external usenet poster
 
Posts: 30
Default VBA to SQL DB with user input and results to sheet

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date =
dtStartDate AND order_date <= dtEndDate"


The above would be more efficient using BETWEEN instead of lowest and <
highest, you have to include the hashes to stop the comparrison from taking
your dates as strings:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
Between #" &
dtStartDate & "# AND #" & dtEndDate & "#"

Point 2.

You need to create a recordset object to store the returned records and then
look at the CopyFromRecordset method in Excel VBA help.

Post back if you get stuck again.

MH


"Stephen" wrote in message
...


"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open the
.xls and be prompted to input date values which would then be used to
query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate
subs()
that will fill a range based on an IF statement and calculate some more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having
trouble
passing my parameters through the SQL query, and I haven't even starting
to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so
far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
=

dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!


Hurdle No. 1 completed. I figured out my syntax error in my SQL statement.
It was actualy two problems in one. First I needed to concat my statement
string with my variables "where oe_hdr.order_date = " & dtStartDate & "
...
Then I ran into the problem of datatype mismatchs which I was albe to fix
by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back to
my
sheet 1.

Any help is always appreciated.

Thanks!!!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default VBA to SQL DB with user input and results to sheet

MH,
Thanks for jumping in... I got what your saying about the BETWEEN being more
effiecient, thanks.

I create my recordset object
Set rst = New ADODB.Recordset
and I can see how to get it to return to the sheet via the VBA help, but how
do I tell it to equal the results of the Sql string?

"MH" wrote:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date =
dtStartDate AND order_date <= dtEndDate"


The above would be more efficient using BETWEEN instead of lowest and <
highest, you have to include the hashes to stop the comparrison from taking
your dates as strings:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
Between #" &
dtStartDate & "# AND #" & dtEndDate & "#"

Point 2.

You need to create a recordset object to store the returned records and then
look at the CopyFromRecordset method in Excel VBA help.

Post back if you get stuck again.

MH


"Stephen" wrote in message
...


"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open the
.xls and be prompted to input date values which would then be used to
query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate
subs()
that will fill a range based on an IF statement and calculate some more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having
trouble
passing my parameters through the SQL query, and I haven't even starting
to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so
far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
=
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!


Hurdle No. 1 completed. I figured out my syntax error in my SQL statement.
It was actualy two problems in one. First I needed to concat my statement
string with my variables "where oe_hdr.order_date = " & dtStartDate & "
...
Then I ran into the problem of datatype mismatchs which I was albe to fix
by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back to
my
sheet 1.

Any help is always appreciated.

Thanks!!!




  #5   Report Post  
Posted to microsoft.public.excel.programming
MH MH is offline
external usenet poster
 
Posts: 30
Default VBA to SQL DB with user input and results to sheet

'Dim the recordset object and initiate a new instance of it
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
....
'Open the recordset here
rs.Open strSQL, dbConn
....
'Close the recordset object and release the memory space by setting the
object to nothing
rs.Close
Set rs = Nothing


I would use strSQL for your variable name instead of simply sql as this may
cause confusion later on.

HTH

MH

"Stephen" wrote in message
...
MH,
Thanks for jumping in... I got what your saying about the BETWEEN being
more
effiecient, thanks.

I create my recordset object
Set rst = New ADODB.Recordset
and I can see how to get it to return to the sheet via the VBA help, but
how
do I tell it to equal the results of the Sql string?

"MH" wrote:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
=
dtStartDate AND order_date <= dtEndDate"


The above would be more efficient using BETWEEN instead of lowest and <
highest, you have to include the hashes to stop the comparrison from
taking
your dates as strings:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
Between #" &
dtStartDate & "# AND #" & dtEndDate & "#"

Point 2.

You need to create a recordset object to store the returned records and
then
look at the CopyFromRecordset method in Excel VBA help.

Post back if you get stuck again.

MH


"Stephen" wrote in message
...


"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open
the
.xls and be prompted to input date values which would then be used to
query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate
subs()
that will fill a range based on an IF statement and calculate some
more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having
trouble
passing my parameters through the SQL query, and I haven't even
starting
to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so
far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE
order_date
=
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!

Hurdle No. 1 completed. I figured out my syntax error in my SQL
statement.
It was actualy two problems in one. First I needed to concat my
statement
string with my variables "where oe_hdr.order_date = " & dtStartDate &
"
...
Then I ran into the problem of datatype mismatchs which I was albe to
fix
by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back
to
my
sheet 1.

Any help is always appreciated.

Thanks!!!








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default VBA to SQL DB with user input and results to sheet

ok, I've got the recordset and I know my date range contains data, I evne
have the code popupating the forst row with the field names, but for the life
of me I can't figure out why I'm not returning any data??

"MH" wrote:

'Dim the recordset object and initiate a new instance of it
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
....
'Open the recordset here
rs.Open strSQL, dbConn
....
'Close the recordset object and release the memory space by setting the
object to nothing
rs.Close
Set rs = Nothing


I would use strSQL for your variable name instead of simply sql as this may
cause confusion later on.

HTH

MH

"Stephen" wrote in message
...
MH,
Thanks for jumping in... I got what your saying about the BETWEEN being
more
effiecient, thanks.

I create my recordset object
Set rst = New ADODB.Recordset
and I can see how to get it to return to the sheet via the VBA help, but
how
do I tell it to equal the results of the Sql string?

"MH" wrote:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
=
dtStartDate AND order_date <= dtEndDate"

The above would be more efficient using BETWEEN instead of lowest and <
highest, you have to include the hashes to stop the comparrison from
taking
your dates as strings:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
Between #" &
dtStartDate & "# AND #" & dtEndDate & "#"

Point 2.

You need to create a recordset object to store the returned records and
then
look at the CopyFromRecordset method in Excel VBA help.

Post back if you get stuck again.

MH


"Stephen" wrote in message
...


"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open
the
.xls and be prompted to input date values which would then be used to
query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate
subs()
that will fill a range based on an IF statement and calculate some
more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having
trouble
passing my parameters through the SQL query, and I haven't even
starting
to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so
far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE
order_date
=
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!

Hurdle No. 1 completed. I figured out my syntax error in my SQL
statement.
It was actualy two problems in one. First I needed to concat my
statement
string with my variables "where oe_hdr.order_date = " & dtStartDate &
"
...
Then I ran into the problem of datatype mismatchs which I was albe to
fix
by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back
to
my
sheet 1.

Any help is always appreciated.

Thanks!!!






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default VBA to SQL DB with user input and results to sheet

Replace your # around the dates with '
As I recall ADO doesn't like #.

If that doesn't work then post your current code and the generated SQL statement.

--
Tim Williams
Palo Alto, CA


"Stephen" wrote in message ...
ok, I've got the recordset and I know my date range contains data, I evne
have the code popupating the forst row with the field names, but for the life
of me I can't figure out why I'm not returning any data??

"MH" wrote:

'Dim the recordset object and initiate a new instance of it
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
....
'Open the recordset here
rs.Open strSQL, dbConn
....
'Close the recordset object and release the memory space by setting the
object to nothing
rs.Close
Set rs = Nothing


I would use strSQL for your variable name instead of simply sql as this may
cause confusion later on.

HTH

MH

"Stephen" wrote in message
...
MH,
Thanks for jumping in... I got what your saying about the BETWEEN being
more
effiecient, thanks.

I create my recordset object
Set rst = New ADODB.Recordset
and I can see how to get it to return to the sheet via the VBA help, but
how
do I tell it to equal the results of the Sql string?

"MH" wrote:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
=
dtStartDate AND order_date <= dtEndDate"

The above would be more efficient using BETWEEN instead of lowest and <
highest, you have to include the hashes to stop the comparrison from
taking
your dates as strings:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
Between #" &
dtStartDate & "# AND #" & dtEndDate & "#"

Point 2.

You need to create a recordset object to store the returned records and
then
look at the CopyFromRecordset method in Excel VBA help.

Post back if you get stuck again.

MH


"Stephen" wrote in message
...


"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open
the
.xls and be prompted to input date values which would then be used to
query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate
subs()
that will fill a range based on an IF statement and calculate some
more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having
trouble
passing my parameters through the SQL query, and I haven't even
starting
to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so
far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE
order_date
=
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!

Hurdle No. 1 completed. I figured out my syntax error in my SQL
statement.
It was actualy two problems in one. First I needed to concat my
statement
string with my variables "where oe_hdr.order_date = " & dtStartDate &
"
...
Then I ran into the problem of datatype mismatchs which I was albe to
fix
by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back
to
my
sheet 1.

Any help is always appreciated.

Thanks!!!








  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default VBA to SQL DB with user input and results to sheet

Fantastic, that did it!

"Tim Williams" wrote:

Replace your # around the dates with '
As I recall ADO doesn't like #.

If that doesn't work then post your current code and the generated SQL statement.

--
Tim Williams
Palo Alto, CA


"Stephen" wrote in message ...
ok, I've got the recordset and I know my date range contains data, I evne
have the code popupating the forst row with the field names, but for the life
of me I can't figure out why I'm not returning any data??

"MH" wrote:

'Dim the recordset object and initiate a new instance of it
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
....
'Open the recordset here
rs.Open strSQL, dbConn
....
'Close the recordset object and release the memory space by setting the
object to nothing
rs.Close
Set rs = Nothing


I would use strSQL for your variable name instead of simply sql as this may
cause confusion later on.

HTH

MH

"Stephen" wrote in message
...
MH,
Thanks for jumping in... I got what your saying about the BETWEEN being
more
effiecient, thanks.

I create my recordset object
Set rst = New ADODB.Recordset
and I can see how to get it to return to the sheet via the VBA help, but
how
do I tell it to equal the results of the Sql string?

"MH" wrote:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
=
dtStartDate AND order_date <= dtEndDate"

The above would be more efficient using BETWEEN instead of lowest and <
highest, you have to include the hashes to stop the comparrison from
taking
your dates as strings:

Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE order_date
Between #" &
dtStartDate & "# AND #" & dtEndDate & "#"

Point 2.

You need to create a recordset object to store the returned records and
then
look at the CopyFromRecordset method in Excel VBA help.

Post back if you get stuck again.

MH


"Stephen" wrote in message
...


"Stephen" wrote:

Hi folks,

I'm trying to create a little solution that will allow a user to open
the
.xls and be prompted to input date values which would then be used to
query
the remote SQL DB and return the results to sheet 1 of the .xls. Once
returned I'm going to have to perform some calculations in seperate
subs()
that will fill a range based on an IF statement and calculate some
more
figures based on the SUM of the IF range.

Right now I have a connection established to the DB but I'm having
trouble
passing my parameters through the SQL query, and I haven't even
starting
to
think about how I'm going to return these results.

Any help is greatly appreciated as always... here is what I have so
far...

' Define Input Date Parameters

Dim dtStartDate As Date
Dim dtEndDate As Date

' Ask for Data Range Input
dtStartDate = InputBox("Enter a starting date for the report range.",
"Beginning Date Range", "XX/XX/XXXX")
dtEndDate = InputBox("Enter End Date.", "Ending an ending date for the
report range.", "XX/XX/XXXX")

' Create the connection
Dim dbConn As Object
Dim Sql As String
Set dbConn = CreateObject("ADODB.Connection")
dbConn.Open "Driver={SQL Server}; Server=MY_SQL_SERVER;
Database=mydatabase;Uid=myuser; Pwd=mypassword;"
Sql = "SELECT order_date,order_no,completed FROM oe_hdr WHERE
order_date
=
dtStartDate AND order_date <= dtEndDate"
dbConn.Execute (Sql)
dbConn.Close
Set dbConn = Nothing

I get an error on the dbConn.Excute "invalid column name 'dtStartDate'

Thanks in advance!!!

Hurdle No. 1 completed. I figured out my syntax error in my SQL
statement.
It was actualy two problems in one. First I needed to concat my
statement
string with my variables "where oe_hdr.order_date = " & dtStartDate &
"
...
Then I ran into the problem of datatype mismatchs which I was albe to
fix
by
changes my DateTime variables into strings.

Now I have to figure out how to create the recordset and pass it back
to
my
sheet 1.

Any help is always appreciated.

Thanks!!!









Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
I would like to sort a work sheet based upon user input value,(dat John Bundy Excel Worksheet Functions 0 November 30th 06 04:18 PM
I would like to sort a work sheet based upon user input value,(dat A1CaddMan Excel Worksheet Functions 0 November 29th 06 03:53 PM
User input to name a sheet? StargateFan[_3_] Excel Programming 2 February 3rd 06 08:21 PM
User Input - sheet and ranges Richard Mertl Excel Programming 2 February 3rd 06 04:16 PM
Help with Macro. -- User input for sheet name Michael A Excel Programming 9 January 6th 06 03:17 PM


All times are GMT +1. The time now is 11:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"