Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Sorting Issues!

Hi there,
I am using a userform with a Excel Spreadsheet within the userform. I am
using this to store all the data needed to be retured within the userform.

There is a section that returns specific data from the spreasheet, what i am
after is a way to then sort the information.

I need to sort by column within this embedded spreadhseet using vba. If
anyone can help that would be much appriciated.

Can i just say that at noo time is any information inserted, pasted, or
placed on the activeworkbook it is the embedded excel spreadsheet within the
userform that contains the information.

many thanks
paulw
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Sorting Issues!

request is too vague. Why don't you use the record macro (tools menu -
macro) and record wihile you manually perform the sort operations. Then use
the macro code to create your own VBA. If you need aditional help post the
learn macro on this site and we will help.

"PaulW" wrote:

Hi there,
I am using a userform with a Excel Spreadsheet within the userform. I am
using this to store all the data needed to be retured within the userform.

There is a section that returns specific data from the spreasheet, what i am
after is a way to then sort the information.

I need to sort by column within this embedded spreadhseet using vba. If
anyone can help that would be much appriciated.

Can i just say that at noo time is any information inserted, pasted, or
placed on the activeworkbook it is the embedded excel spreadsheet within the
userform that contains the information.

many thanks
paulw

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Sorting Issues!

Hi Joel,

Thanks for replying. Apologies for the vaguenses, i'll try again!

1. I have a userform that uses the directx OCM11 Spreadsheet function (added
to the toolbar). This sits on a mulitpage and holds all my source data hidden
from view.

2. On the Userform i have series of Textboxes which i have programmed to
pull data from the OCM11 Spreadsheet into view (This is based on set
criteria, ie view all open files, closed files etc by pushing togglebuttons)

3. I am trying to programme buttons (one for each row) that will sort the
data on view in the textboxes AZ / ZA based on the togglebutton True / False.

4. I have tried recording a macro and looking at the code it produces but
the recordde cannot see what is completed on the activex application. I have
also tried all manner of sorting code that works on a spreadsheet, but will
not translate to the OCM11 spreadsheet. There are sorting buttons on the
application so i know it is possible!

I hope this claifies the situation a little more.

Any help gratefully accepted.

Many thanks
PaulW


"Joel" wrote:

request is too vague. Why don't you use the record macro (tools menu -
macro) and record wihile you manually perform the sort operations. Then use
the macro code to create your own VBA. If you need aditional help post the
learn macro on this site and we will help.

"PaulW" wrote:

Hi there,
I am using a userform with a Excel Spreadsheet within the userform. I am
using this to store all the data needed to be retured within the userform.

There is a section that returns specific data from the spreasheet, what i am
after is a way to then sort the information.

I need to sort by column within this embedded spreadhseet using vba. If
anyone can help that would be much appriciated.

Can i just say that at noo time is any information inserted, pasted, or
placed on the activeworkbook it is the embedded excel spreadsheet within the
userform that contains the information.

many thanks
paulw

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Sorting Issues!

I don't think I can help. The problem is I don't have OCM11. You will need
to run Application.XXXXX commands that I would not be able to test. You arre
right the application codes do not show up on recorded macros.

"PaulW" wrote:

Hi Joel,

Thanks for replying. Apologies for the vaguenses, i'll try again!

1. I have a userform that uses the directx OCM11 Spreadsheet function (added
to the toolbar). This sits on a mulitpage and holds all my source data hidden
from view.

2. On the Userform i have series of Textboxes which i have programmed to
pull data from the OCM11 Spreadsheet into view (This is based on set
criteria, ie view all open files, closed files etc by pushing togglebuttons)

3. I am trying to programme buttons (one for each row) that will sort the
data on view in the textboxes AZ / ZA based on the togglebutton True / False.

4. I have tried recording a macro and looking at the code it produces but
the recordde cannot see what is completed on the activex application. I have
also tried all manner of sorting code that works on a spreadsheet, but will
not translate to the OCM11 spreadsheet. There are sorting buttons on the
application so i know it is possible!

I hope this claifies the situation a little more.

Any help gratefully accepted.

Many thanks
PaulW


"Joel" wrote:

request is too vague. Why don't you use the record macro (tools menu -
macro) and record wihile you manually perform the sort operations. Then use
the macro code to create your own VBA. If you need aditional help post the
learn macro on this site and we will help.

"PaulW" wrote:

Hi there,
I am using a userform with a Excel Spreadsheet within the userform. I am
using this to store all the data needed to be retured within the userform.

There is a section that returns specific data from the spreasheet, what i am
after is a way to then sort the information.

I need to sort by column within this embedded spreadhseet using vba. If
anyone can help that would be much appriciated.

Can i just say that at noo time is any information inserted, pasted, or
placed on the activeworkbook it is the embedded excel spreadsheet within the
userform that contains the information.

many thanks
paulw

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Sorting Issues!

Thanks for looking anyway, i know its fairly untested ground as most people
only stick to the toolbar options that are defult.

If at first i fail, i'll try and try again.
Thanks
PaulW

"Joel" wrote:

I don't think I can help. The problem is I don't have OCM11. You will need
to run Application.XXXXX commands that I would not be able to test. You arre
right the application codes do not show up on recorded macros.

"PaulW" wrote:

Hi Joel,

Thanks for replying. Apologies for the vaguenses, i'll try again!

1. I have a userform that uses the directx OCM11 Spreadsheet function (added
to the toolbar). This sits on a mulitpage and holds all my source data hidden
from view.

2. On the Userform i have series of Textboxes which i have programmed to
pull data from the OCM11 Spreadsheet into view (This is based on set
criteria, ie view all open files, closed files etc by pushing togglebuttons)

3. I am trying to programme buttons (one for each row) that will sort the
data on view in the textboxes AZ / ZA based on the togglebutton True / False.

4. I have tried recording a macro and looking at the code it produces but
the recordde cannot see what is completed on the activex application. I have
also tried all manner of sorting code that works on a spreadsheet, but will
not translate to the OCM11 spreadsheet. There are sorting buttons on the
application so i know it is possible!

I hope this claifies the situation a little more.

Any help gratefully accepted.

Many thanks
PaulW


"Joel" wrote:

request is too vague. Why don't you use the record macro (tools menu -
macro) and record wihile you manually perform the sort operations. Then use
the macro code to create your own VBA. If you need aditional help post the
learn macro on this site and we will help.

"PaulW" wrote:

Hi there,
I am using a userform with a Excel Spreadsheet within the userform. I am
using this to store all the data needed to be retured within the userform.

There is a section that returns specific data from the spreasheet, what i am
after is a way to then sort the information.

I need to sort by column within this embedded spreadhseet using vba. If
anyone can help that would be much appriciated.

Can i just say that at noo time is any information inserted, pasted, or
placed on the activeworkbook it is the embedded excel spreadsheet within the
userform that contains the information.

many thanks
paulw

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
Sorting Issues Blissfully Ignorant Excel Discussion (Misc queries) 3 October 27th 08 06:44 PM
Sorting issues Wereman Excel Discussion (Misc queries) 2 September 4th 08 04:10 PM
Sorting issues KKT Excel Worksheet Functions 2 June 16th 08 01:36 PM
Sorting issues... JNW Excel Programming 2 March 22nd 07 06:22 PM
Issues with sorting Matthew McManus Excel Discussion (Misc queries) 1 June 29th 05 12:34 PM


All times are GMT +1. The time now is 02:21 AM.

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"