Re: $$Excel-Macros$$ Urgent help plss..

2013-05-28 Thread David Grugeon
Perhaps you have more than one sheet selected.

Regards
David Grugeon



On 28 May 2013 14:37, Prabhu Pinky prabhupin...@gmail.com wrote:

 hi experts

 I have one excel, from that excel I am unable to copy and paste the data
 to new excel..even a single cell..am getting this command is cannot be
 processd in multiple selection error message..

 But am sure I selected and copied only single, but donno how am getting
 thus errorpls help...

 Prabhu R

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Macro Help

2013-05-27 Thread David Grugeon
Bulloo Shire Council in Thargomindah Queensland Australia.

Regards
David Grugeon



On 27 May 2013 16:13, VBA VABZ v...@vabs.in wrote:

 hey

 for which co you work.

 thx


 On Mon, May 27, 2013 at 7:20 AM, Bv Dileep bvdil...@gmail.com wrote:

 Hello,

 ** **

 Please find attached the sheet.

 ** **

 Macro Requirement : I will receive the data for 20 associates in my team
 in a separate sheets (20 Sheets) in the attached format. Now I want a macro
 which should consolidate the data in the shown format (Format Tab).

 ** **

 Format is showed on Format Tab

 The data format which I receive is showed on Data format

 **

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ How to split cell in Excel

2013-05-27 Thread David Grugeon
How about doing it in two adjacent cells.  I doubt if it will be possible,
or certainly not easy in one cell.

When you say vertically aligned do you mean that the letters will be
rotated 90 degrees to the right, or do you want the letters the normal way
round, but one over the other?

The last might be possible if you have it rght aligned in a cell and put
the horizontal text, a space, and the first letter of the vertical text, an
Alt-return, the next vertical letter, and so on like this

*fred  F*
*R*
*E*
*D*



Regards
David Grugeon



On 27 May 2013 16:59, Prathap prathap@gmail.com wrote:

 Hi Experts,

 How do we split a cell in excel in to two where one part of text is
 vertical aligned and other is being horizontal aligned.

 Pls help
 Best Regards,
 PRATHAP D
 M +91 9899-370-328

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Macro Help

2013-05-26 Thread David Grugeon
Which bit of this are you not able to do yourself?  Have you tried
recording the steps, examining and understanding the code produced, and
then stringing it together to make a complete routine to do what you want?

I operate on the teach a man to fish principle.  If you want me to
produce the entire code for you that is a consulting job.  I currently
charge my clients AUD 140 per hour for such services.  If you do it
yourself you will be better placed to cope with other issues in the future.

Regards
David Grugeon



On 27 May 2013 11:50, Bv Dileep bvdil...@gmail.com wrote:

 Hello,

 ** **

 Please find attached the sheet.

 ** **

 Macro Requirement : I will receive the data for 20 associates in my team
 in a separate sheets (20 Sheets) in the attached format. Now I want a macro
 which should consolidate the data in the shown format (Format Tab).

 ** **

 Format is showed on Format Tab

 The data format which I receive is showed on Data format

 **

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Material In Out Register (Stock Register)

2013-05-25 Thread David Grugeon
I am fairly certain there is a standard excel template for this.  Just use
file new and select the template.  It is probably called inventory.

On Saturday, 25 May 2013, vikas khen wrote:

 Hello Group,

 Anybody have material In Out Register Sheet (Stock Register) If yes
 request you to kindly mail the same.

 Thanks  regards

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Problem in file..?

2013-05-23 Thread David Grugeon
Can't guess without seeing the file.  Can you attach it?

Regards
David Grugeon



On 23 May 2013 16:49, Prabhu Pinky prabhupin...@gmail.com wrote:

 Hi experts,
 I have one excel file. Size is below 1mb. Even though it is very slow
 working in that file. If I do copy paste any single cell, it takes too much
 time.

 What could be the reasons...?

 Prabhu R

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Problem in file..?

2013-05-23 Thread David Grugeon
Try setting the calculation to Manual.  Then see if Cut and Paste still
takes a lot of time.  It could be that there are a lot of formulas having
to be recalculated when there is a change to the worksheet.  If this is
identified as the cause you may be able to get a gain by redesigning hr
worksheets, or by keeping calculation turned off and pressing F9 when you
want it to calculate.

Regards
David Grugeon



On 23 May 2013 21:26, Prabhu Pinky prabhupin...@gmail.com wrote:

 thanks vijay, lemme try this too.

 but my doubt is if already Use all the processors on this computer
 option is selected. then..?


 Regards,
 Prabhu R



 On 23 May 2013 16:48, P.VIJAYKUMAR vijay.4...@gmail.com wrote:

 Respected Prabhu,

 Please  go to excel options button and from there go to the advanced tab
 and under that go to the formulas section.The third point will contain how
 many processors are used for excel calculations.check the radio button to
 use all the processors for calculations.This may boost up ur speed a little
 bit.There may be various other reasons for slowness of the processes like
 compatibility issues,macros errors or virus etc.I frequently face this
 problem when the workbook contains plenty of calculations and number of
 sheets and every small step even a copy and format takes many minutes to
 accomplish.

 Regards,
 Vijaykumar


 On Thu, May 23, 2013 at 4:15 PM, Prabhu Pinky prabhupin...@gmail.comwrote:

 Hi Abhishek : thanks for the idea. i will try this one.


 David : i am unable attach the file, because it is violation in our
 office.





 On 23 May 2013 13:39, David Grugeon da...@grugeon.com.au wrote:

 Can't guess without seeing the file.  Can you attach it?

 Regards
 David Grugeon



 On 23 May 2013 16:49, Prabhu Pinky prabhupin...@gmail.com wrote:

 Hi experts,
 I have one excel file. Size is below 1mb. Even though it is very slow
 working in that file. If I do copy paste any single cell, it takes too 
 much
 time.

 What could be the reasons...?

 Prabhu R

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3

Re: $$Excel-Macros$$ Problem in file..?

2013-05-23 Thread David Grugeon
Also do you have macros which are run when changes are made to the sheets.
 It may be possible to reorganise them so they run faster or are not
triggered so readily.

Regards
David Grugeon



On 23 May 2013 21:47, David Grugeon da...@grugeon.com.au wrote:

 Try setting the calculation to Manual.  Then see if Cut and Paste still
 takes a lot of time.  It could be that there are a lot of formulas having
 to be recalculated when there is a change to the worksheet.  If this is
 identified as the cause you may be able to get a gain by redesigning hr
 worksheets, or by keeping calculation turned off and pressing F9 when you
 want it to calculate.

 Regards
 David Grugeon



 On 23 May 2013 21:26, Prabhu Pinky prabhupin...@gmail.com wrote:

 thanks vijay, lemme try this too.

 but my doubt is if already Use all the processors on this computer
 option is selected. then..?


 Regards,
 Prabhu R



 On 23 May 2013 16:48, P.VIJAYKUMAR vijay.4...@gmail.com wrote:

 Respected Prabhu,

 Please  go to excel options button and from there go to the advanced tab
 and under that go to the formulas section.The third point will contain how
 many processors are used for excel calculations.check the radio button to
 use all the processors for calculations.This may boost up ur speed a little
 bit.There may be various other reasons for slowness of the processes like
 compatibility issues,macros errors or virus etc.I frequently face this
 problem when the workbook contains plenty of calculations and number of
 sheets and every small step even a copy and format takes many minutes to
 accomplish.

 Regards,
 Vijaykumar


 On Thu, May 23, 2013 at 4:15 PM, Prabhu Pinky prabhupin...@gmail.comwrote:

 Hi Abhishek : thanks for the idea. i will try this one.


 David : i am unable attach the file, because it is violation in our
 office.





 On 23 May 2013 13:39, David Grugeon da...@grugeon.com.au wrote:

 Can't guess without seeing the file.  Can you attach it?

 Regards
 David Grugeon



 On 23 May 2013 16:49, Prabhu Pinky prabhupin...@gmail.com wrote:

 Hi experts,
 I have one excel file. Size is below 1mb. Even though it is very slow
 working in that file. If I do copy paste any single cell, it takes too 
 much
 time.

 What could be the reasons...?

 Prabhu R

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en
 .
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM

Re: $$Excel-Macros$$ External excel file insert to single excel file

2013-05-22 Thread David Grugeon
Can they open the files through the network manually while the files are on
you computer and they are on their computers.  If so they will use a
network path to do so.  You will need to use this network path in the
hyperlink.


On Wednesday, 22 May 2013, Chaya wrote:

 Dear experts,


 I have more then three excel (Say A, B, C) file in under folder
 (D:\Master File). Now I have a single workbook know as “Master file”. In
 the Master file i have created hyperlink to all for the workbook (A, B, C)
 in the cell A1 = A excel hyperlink, A2= B excel hyperlink, A3 = C excel
 hyperlink and so on as like in the attachment. While where on cliking the
 particular cell, say on clicking A1, the A file will open and so on.

 But now i have a problem while sending the master file excel to some
 body else. While some one click on the hyperlink the file does not open at
 all (as the A, B, C excel file contains in my computer not the some one
 else computer).

Please advice me or provide me solution for this as i don't have to
 send all the file across to some one except Master file (Where hyperlink
 contains).

Many many thanks in advance to all.


 Regards,
 Chaya

 The excel learner  :-)

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ External excel file insert to single excel file

2013-05-22 Thread David Grugeon
Can they open the files through the network manually while the files are on
you computer

On Wednesday, 22 May 2013, Chaya wrote:

 Dear experts,


 I have more then three excel (Say A, B, C) file in under folder
 (D:\Master File). Now I have a single workbook know as “Master file”. In
 the Master file i have created hyperlink to all for the workbook (A, B, C)
 in the cell A1 = A excel hyperlink, A2= B excel hyperlink, A3 = C excel
 hyperlink and so on as like in the attachment. While where on cliking the
 particular cell, say on clicking A1, the A file will open and so on.

 But now i have a problem while sending the master file excel to some
 body else. While some one click on the hyperlink the file does not open at
 all (as the A, B, C excel file contains in my computer not the some one
 else computer).

Please advice me or provide me solution for this as i don't have to
 send all the file across to some one except Master file (Where hyperlink
 contains).

Many many thanks in advance to all.


 Regards,
 Chaya

 The excel learner  :-)

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Vlookup value with comments

2013-05-18 Thread David Grugeon
Excel can do it but unfortunately the restriction not to use VBA prevents
it.  Perhaps you should talk to your IT department and ask them how to
solve it.

Regards
David Grugeon



On 19 May 2013 07:02, santosh subudhi santoshkumar.subu...@gmail.comwrote:

 Hi Group,

 Attached is the sample sheet where in the comments part have been taken
 place by cell colour.

 I cannot use VBA due to some internal IT restrictions.

 If the cell colour can be picked by vlookup it will be of much helpful.
 --
 Regards
 Santosh
 santoshkumar.subu...@gmail.com

 Date: Wed, 15 May 2013 16:53:06 +1000
 Subject: Re: $$Excel-Macros$$ Vlookup value with comments
 From: da...@grugeon.com.au
 To: excel-macros@googlegroups.com


 It is possible using VBA.  Please supply a sample workbook so we can
 understand exactly how your data is organised and how you want to look it
 up.

 Regards
 David Grugeon



 On 15 May 2013 13:51, Prabhu Pinky prabhupin...@gmail.com wrote:

 Nope. it is not possible..


 On 15 May 2013 01:14, santosh subudhi santoshkumar.subu...@gmail.comwrote:

 Hi Group,

 Is it possible in excel to lookup the comments along with the value.
 --
 Regards
 Santosh
 santoshkumar.subu...@gmail.com

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Am new to VBA - help me to became expert.

2013-05-17 Thread David Grugeon
Did you mean to attach the file?

Regards
David Grugeon



On 17 May 2013 14:32, P.VIJAYKUMAR vijay.4...@gmail.com wrote:

 Respected Prabhu,

 Hope this file will be of little help to u.


 Regards,
 VIJAYKUMAR


 On Tue, May 14, 2013 at 9:08 PM, Prabhu Pinky prabhupin...@gmail.comwrote:

 Hi all,

 I am very new to VBA working in MNC as a WFM specialist. we are working
 lots of reports on a monthly, weekly as well as daily basis.

 i came acrossed many situation to create report, but i do it manually. i
 wants to became a expert or atleast intermediate in creating VBA reports in
 excel.

 Can anyone please refer a best way how can i learn VBA from beginning but
 in clear. sometimes i do record macro and trying to understand the codes.
 since i dont know about the actual working method of codes i cannot
 understand the codings.

 Please help me.

 Thanks
 Prabhu R

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --









 P.VIJAY KUMAR

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Macros Tips

2013-05-17 Thread David Grugeon
Two major things will help you.  One is the help files which are invoked
whenever you click on a word in a macro and then press F1.  I am sure you
have found that, but do you use it whenever you do not understand all about
a keyword such as Dim?

The other thing is intellisense.  When you are typing in a sub or function,
the options for a command you are using will appear in a drop-down list.
 Try some of them and then press F1 to find out about it.  For example, if
you type

Dim x as

immediately you press the space after the as you will get a list of all the
types you can define a variable as.  This will be a lot of help to you.

Also always click debug/compile on the menu before you run a procedure you
have written.  It checks that the syntax is correct, and shows you where
they are wrong.

In context of this, always have Option Explicit at the top of all
modules.  This forces you to Dim each variable before you use it, and it
will show up any spelling mistakes in variable names.

This list is best to help with specific queries rather than general
requests for help.  Always try to do as much as you can of a task before
asking for help and then show us what you have done and what it is doing
wrong.  If there are any error messages write them down exactly and tell
us, if it is possible to find out, what line the error occurred on.

Above all, just keep writing and testing code and you will soon be one of
the ones giving the answers on the list.

Regards
David Grugeon



On 17 May 2013 20:00, Chaya chayamon...@gmail.com wrote:

 Dear experts and all,

   I am trying to learn excel macros from initial steps. please provide
 some advance tips to learn the source from initial. Actually, i am learning
 by recording the macros and trying to get the logic, but it does not make
 me fullfil to learn. even i reading ebooks and trying to practice in excel,
 but no effective.

 After all, i use to get solution from google and from you all, even
 after reading and practice i am not getting the logical and its scripts.

   Please advice me with your suitable suggestion and guidance.

 Say for small example :

 even today i don't know how to use Dim after reading books, i know
 it is use for declaring values but i even don't know what and which value
 are to be use and where.

   Please don't consider the above example, as it is just a small hint of
 mine and provide me some tips or advice from where i can understand clearly
 the logical coding and can write codes as per the necessity like you all.

 Thanks a millions to all.


 Regards,
 Chaya

 The excel learner  :-)

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit

Re: $$Excel-Macros$$ Copying cells while keep cell references

2013-05-16 Thread David Grugeon
The main issue is where the references point.  If they are pointing within
the block you are copying, there is no issue as they will continue to point
to the appropriate cells within the block.  If they are to another sheet
and the block is pasted in a different starting position (same or other
sheet) there will be an issue which could be corrected by making the
references absolute.If they are to an area outside the block on the same
sheet and the block is pasted to a different sheet you will have problems
anyhow.  You will need to reconstruct those references to point to the old
sheet, not the new one.  If you are copying the block to a different
position on the same sheet and the references are to areas outside the
block on that sheet, then setting absolute references is needed.

To convert all the formulas in a block to absolute you can use the
following VBA

Public Sub MyConvertFormulas()

  Dim oRange As Range

Dim c as Range

  Set oRange = Selection

for each c in oRange

  c.Formula = Application.ConvertFormula(Formula:=c.Formula, _
fromreferencestyle:=Application.ReferenceStyle,
toabsolute:=xlAbsolute)

End Sub





Regards
David Grugeon



On 17 May 2013 01:22, Chris christoph...@gmail.com wrote:


 Hi, I have a spreadsheet with large areas of cells that do not have
 anchors in the formuals. In other words, the content of a cell would for
 example show =A1 instead of =$A$1

 I need to copy this block of cells to a another location (not move, I
 understand this works with cut/paste) where I would like to reuse it.
 However, when doing so, obviously Excel updates all the cell references. Is
 there a way to keep cell references through some trick (again, there are no
 anchors and I'm too lazy to go into every cell and achor the references)? I
 tried under copy/paste-value Paste Links but that didn't work because it
 just created a link to the cell where copied from. Not what I'm looking
 for.

 I believe I asked something similar but searched this form and couldn't
 find anything. My apologies if this was asked before.

 Thanks,
 Chris

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Copying cells while keep cell references

2013-05-16 Thread David Grugeon
Sorry premature send!

The code is

Public Sub MyConvertFormulas()

  Dim oRange As Range

Dim c as Range

  Set oRange = Selection

for each c in oRange

  c.Formula = Application.ConvertFormula(Formula:=c.Formula, _
fromreferencestyle:=Application.ReferenceStyle,
toabsolute:=xlAbsolute)

Next c

End Sub


Regards
David Grugeon



On 17 May 2013 07:44, David Grugeon da...@grugeon.com.au wrote:

 The main issue is where the references point.  If they are pointing within
 the block you are copying, there is no issue as they will continue to point
 to the appropriate cells within the block.  If they are to another sheet
 and the block is pasted in a different starting position (same or other
 sheet) there will be an issue which could be corrected by making the
 references absolute.If they are to an area outside the block on the same
 sheet and the block is pasted to a different sheet you will have problems
 anyhow.  You will need to reconstruct those references to point to the old
 sheet, not the new one.  If you are copying the block to a different
 position on the same sheet and the references are to areas outside the
 block on that sheet, then setting absolute references is needed.

 To convert all the formulas in a block to absolute you can use the
 following VBA

 Public Sub MyConvertFormulas()

   Dim oRange As Range

 Dim c as Range

   Set oRange = Selection

 for each c in oRange

   c.Formula = Application.ConvertFormula(Formula:=c.Formula, _ 
 fromreferencestyle:=Application.ReferenceStyle, toabsolute:=xlAbsolute)

 End Sub





 Regards
 David Grugeon



 On 17 May 2013 01:22, Chris christoph...@gmail.com wrote:


 Hi, I have a spreadsheet with large areas of cells that do not have
 anchors in the formuals. In other words, the content of a cell would for
 example show =A1 instead of =$A$1

 I need to copy this block of cells to a another location (not move, I
 understand this works with cut/paste) where I would like to reuse it.
 However, when doing so, obviously Excel updates all the cell references. Is
 there a way to keep cell references through some trick (again, there are no
 anchors and I'm too lazy to go into every cell and achor the references)? I
 tried under copy/paste-value Paste Links but that didn't work because it
 just created a link to the cell where copied from. Not what I'm looking
 for.

 I believe I asked something similar but searched this form and couldn't
 find anything. My apologies if this was asked before.

 Thanks,
 Chris

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com

Re: $$Excel-Macros$$ Combine Data From Two Sheets into a Single Sheet

2013-05-16 Thread David Grugeon
Depends on the version.  If you have 2010 or later you can use:

Iferror(the formula,)

For earlier versions you use

If(iserror(the formula),,the formula)

But both of these only work on the vl;ookup formulas.  They will not work
in columns B, and H-L.  For these you will need on row 7

If(A7=,,the formula)

I hope this is clear.

Regards
David Grugeon



On 17 May 2013 10:50, Christopher Kevin christopher@gmail.com wrote:

 David, thank you it worked perfectly, however, when I use the fill handle
 to drag and fill down I ended up with 0, #NA and 0/01/1900 on the filled
 row. How do I use IF(ISERROR ( function to get rid of 0, #NA and 0/01/1900??

 Once again thanks for any help.

 Chris


 On Thu, May 16, 2013 at 4:26 PM, Christopher Kevin 
 christopher@gmail.com wrote:

 David, thank you very much for the help and I will go through the file
 and update...

 Thanks

 Chris

 On 5/16/13, David Grugeon da...@grugeon.com.au wrote:
  Sorry - Attachment here
 
  Regards
  David Grugeon
 
 
 
  On 16 May 2013 13:12, David Grugeon da...@grugeon.com.au wrote:
 
  Easier with formulas - see attached.  I had to change the ID for ABC
 from
  FR002 to FR001 to match the details.  Also I did not get the swapped
  items
  in the last 2 rows shown in your combined.
 
  Regards
  David Grugeon
 
 
 
  On 16 May 2013 12:38, Christopher Kevin christopher@gmail.com
  wrote:
 
  Dear Experts,
 
   Can Anyone help me on the following.
 
   I want to combine all columns from MasterRaw and DetailsRaw into as
   shown in CombinedRaw Sheet. Is it possible to use Excel VBA or
   Formula??? However would prefer VBA. Please see attached sheet.
 
   Please help me on this. I desperately need help on this..
 
   Thanks for any help.
   Chris
 
   --
 
  --
  Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
  It’s
  =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
  https://www.facebook.com/discussexcel
 
  FORUM RULES
 
  1) Use concise, accurate thread titles. Poor thread titles, like
 Please
  Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice
  will not get quick attention or may not be answered.
  2) Don't post a question in the thread of another member.
  3) Don't post questions regarding breaking or bypassing any security
  measure.
  4) Acknowledge the responses you receive, good or bad.
  5) Jobs posting is not allowed.
  6) Sharing copyrighted material and their links is not allowed.
 
  NOTE  : Don't ever post confidential data in a workbook. Forum owners
  and
  members are not responsible for any loss.
  ---
  You received this message because you are subscribed to the Google
  Groups
  MS EXCEL AND VBA MACROS group.
  To unsubscribe from this group and stop receiving emails from it, send
  an
  email to excel-macros+unsubscr...@googlegroups.com.
  To post to this group, send email to excel-macros@googlegroups.com.
  Visit this group at http://groups.google.com/group/excel-macros?hl=en
 .
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
 
  --
  Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s
  =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
  https://www.facebook.com/discussexcel
 
  FORUM RULES
 
  1) Use concise, accurate thread titles. Poor thread titles, like Please
  Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will
  not get quick attention or may not be answered.
  2) Don't post a question in the thread of another member.
  3) Don't post questions regarding breaking or bypassing any security
  measure.
  4) Acknowledge the responses you receive, good or bad.
  5) Jobs posting is not allowed.
  6) Sharing copyrighted material and their links is not allowed.
 
  NOTE  : Don't ever post confidential data in a workbook. Forum owners
 and
  members are not responsible for any loss.
  ---
  You received this message because you are subscribed to the Google
 Groups
  MS EXCEL AND VBA MACROS group.
  To unsubscribe from this group and stop receiving emails from it, send
 an
  email to excel-macros+unsubscr...@googlegroups.com.
  To post to this group, send email to excel-macros@googlegroups.com.
  Visit this group at http://groups.google.com/group/excel-macros?hl=en.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting

Re: $$Excel-Macros$$ Vlookup value with comments

2013-05-15 Thread David Grugeon
It is possible using VBA.  Please supply a sample workbook so we can
understand exactly how your data is organised and how you want to look it
up.

Regards
David Grugeon



On 15 May 2013 13:51, Prabhu Pinky prabhupin...@gmail.com wrote:

 Nope. it is not possible..


 On 15 May 2013 01:14, santosh subudhi santoshkumar.subu...@gmail.comwrote:

 Hi Group,

 Is it possible in excel to lookup the comments along with the value.
 --
 Regards
 Santosh
 santoshkumar.subu...@gmail.com

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ IF FORMULA NOT WORKING

2013-05-15 Thread David Grugeon
The formula refers to 34 in B5 but B5 is 36, not 34

Regards
David Grugeon



On 15 May 2013 16:41, P.VIJAYKUMAR vijay.4...@gmail.com wrote:

 Respected Experts,

 My exact requirement is that if 12(or any constant number specific to
 login) is typed in Cell B4 of the attachment it should display the log-in
 time according to the formula or otherwise working.In the same way if 34
 (or any constant number specific to log-out)  is mentioned in cell B5 the
 log-out time should be displayed according to the formula.Suppose a person
 log-in the morning the 12 is typed in B4 Cell, and if the person logs-out
 at the evening the 34 is typed to get the evening log-out time.But, the
 problem is if the system clock is changed after typing both log-in and
 log-out times even to one minute more both the log-in and logout times are
 changing irrespective of the IF Formula present there and the IF conditions
 are not working.

 Regards,
 VIJAYKUMAR




 On Wed, May 15, 2013 at 11:16 AM, Abhishek Jain abhishek@gmail.comwrote:

 Your query is not clear. There are no log out times in the attachment.

 Please elaborate.


 On Wed, May 15, 2013 at 10:59 AM, P.VIJAYKUMAR vijay.4...@gmail.comwrote:

 Respected Experts,

 I Have an excel sheet which is used for getting the log-in and log-out
 times of employees.I have used if formulas as is seen in the attachment.
 But, when log-in time is updated unfortunately log-out time is also
 changing even if the IF condition does not apply in the case. I don't
 understand what is the reason behind that.I hope the experts will clear and
 solve the matter or suggest alternative methods for achieving the goal.


 Regards,
 P.VIJAYKUMAR










 P.VIJAY KUMAR

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --









 P.VIJAY KUMAR

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential

Re: $$Excel-Macros$$ Combine Data From Two Sheets into a Single Sheet

2013-05-15 Thread David Grugeon
Easier with formulas - see attached.  I had to change the ID for ABC from
FR002 to FR001 to match the details.  Also I did not get the swapped items
in the last 2 rows shown in your combined.

Regards
David Grugeon



On 16 May 2013 12:38, Christopher Kevin christopher@gmail.com wrote:

 Dear Experts,

  Can Anyone help me on the following.

  I want to combine all columns from MasterRaw and DetailsRaw into as
  shown in CombinedRaw Sheet. Is it possible to use Excel VBA or
  Formula??? However would prefer VBA. Please see attached sheet.

  Please help me on this. I desperately need help on this..

  Thanks for any help.
  Chris

  --

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Combine Data From Two Sheets into a Single Sheet

2013-05-15 Thread David Grugeon
Sorry - Attachment here

Regards
David Grugeon



On 16 May 2013 13:12, David Grugeon da...@grugeon.com.au wrote:

 Easier with formulas - see attached.  I had to change the ID for ABC from
 FR002 to FR001 to match the details.  Also I did not get the swapped items
 in the last 2 rows shown in your combined.

 Regards
 David Grugeon



 On 16 May 2013 12:38, Christopher Kevin christopher@gmail.com wrote:

 Dear Experts,

  Can Anyone help me on the following.

  I want to combine all columns from MasterRaw and DetailsRaw into as
  shown in CombinedRaw Sheet. Is it possible to use Excel VBA or
  Formula??? However would prefer VBA. Please see attached sheet.

  Please help me on this. I desperately need help on this..

  Thanks for any help.
  Chris

  --

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Combine Data From Two Sheets into a Single Sheet.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Filter on Row to hide column

2013-05-10 Thread David Grugeon
You cannot filter horizontally.  You could have a macro to hide all columns
from column d onwards which were not Week1, if that is what you want.

Regards
David Grugeon



On 10 May 2013 16:28, Amit Desai (MERU) amit.de...@merucabs.com wrote:

  Dear Friends,

 ** **

 Please help.

 ** **

 I need a macro or any other solution to put a filter in a row number 3 of
 the attached file.

 ** **

 I have few columns as Wk 1, Wk 2, Wk 3  Month (with other columns). I
 wants to see all the columns with column head as say “Wk 1” in row 3.
 Attached is the sample file.

 ** **

 Best Regards,

 Amit Desai

 +91 98672 32534

 ** **

 --
 Disclaimer: This message and its attachments contain confidential
 information and may also contain legally privileged information. This
 message is intended solely for the named addressee. If you are not the
 addressee indicated in this message (or authorized to receive for
 addressee), you may not copy or deliver any part of this message or its
 attachments to anyone or use any part of this message or its attachments.
 Rather, you should permanently delete this message and its attachments (and
 all copies) from your system and kindly notify the sender by reply e-mail.
 Any content of this message and its attachments that does not relate to the
 official business of Meru Cab Company Pvt. Ltd. must be taken not to have
 been sent or endorsed by any of them. Email communications are not private
 and no warranty is made that e-mail communications are timely, secure or
 free from computer virus or other defect.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Excel VBA code to handle choose file to upload window in internet explorer

2013-05-09 Thread David Grugeon
In essence, internet explorer does not understand excel files.  You could
save the file as a web page and load that.  It would not have the
functionality of excel though.

There are some proprietary products which allow you to run excel
spreadsheets through a browser.  They cost though!  Min $500, I think.

Or you could upload the file to Google Apps or Office 365 and then open
that in a browser.

Regards
David Grugeon



On 9 May 2013 16:31, Mathan mathan4s...@gmail.com wrote:

 Hi David/Anil,

 We are trying to upload the excel file through excel vba.

 The files are from common shared folder not on the local drive.

 I hope this helps, However, I will share the screenshot by tonight. Thanks
 for your time.

 Thanks


 On Thu, May 9, 2013 at 10:11 AM, David Grugeon da...@grugeon.com.auwrote:

 IN particular we need to know what type of file is it that you want to
 Upload.  Is it an internet file like .html, .asp .php etc or is it an
 excel XLS file, xlsm, xlsb, etc. or perhaps a different type.

 Then we need to know if there is an internet server running on the site
 where the file is located.

 We also need to know why VBA code is required, rather than simply a
 hyperlink.

 Regards
 David Grugeon



 On 9 May 2013 06:56, Mathan mathan4s...@gmail.com wrote:

 Hi Experts,

 I'm trying to upload a file from shared folder (directory) to the
 internet explorer.

 Need a VBA code to do this. Could anyone help me on this?

 Thanks in advance.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email

Re: $$Excel-Macros$$ Excel VBA code to handle choose file to upload window in internet explorer

2013-05-09 Thread David Grugeon
OK.  To to this you need to analyse the URL that is sent when you do it
manually, then you need to construct an appropriate URL and make this a
hyperlink.Then you can refer to the cell containing the hyperlink and open
the hyperlink.

It will be something like Range(A1).hyperlink.follow.

Regards
David Grugeon



On 10 May 2013 06:42, Mathan mathan4s...@gmail.com wrote:

 Sorry, please refer to this screenshot. Thanks


 On Fri, May 10, 2013 at 2:11 AM, Mathan mathan4s...@gmail.com wrote:

 Hi David,

 Please refer to the attached screenshot. I believe you would get my point
 after seeing that. I might have confused you earlier.

 Thanks
 Mathan


 On Thu, May 9, 2013 at 12:30 PM, David Grugeon da...@grugeon.com.auwrote:

 In essence, internet explorer does not understand excel files.  You
 could save the file as a web page and load that.  It would not have the
 functionality of excel though.

 There are some proprietary products which allow you to run excel
 spreadsheets through a browser.  They cost though!  Min $500, I think.

 Or you could upload the file to Google Apps or Office 365 and then open
 that in a browser.

 Regards
 David Grugeon



 On 9 May 2013 16:31, Mathan mathan4s...@gmail.com wrote:

 Hi David/Anil,

 We are trying to upload the excel file through excel vba.

 The files are from common shared folder not on the local drive.

 I hope this helps, However, I will share the screenshot by tonight.
 Thanks for your time.

 Thanks


 On Thu, May 9, 2013 at 10:11 AM, David Grugeon da...@grugeon.com.auwrote:

 IN particular we need to know what type of file is it that you want to
 Upload.  Is it an internet file like .html, .asp .php etc or is it an
 excel XLS file, xlsm, xlsb, etc. or perhaps a different type.

 Then we need to know if there is an internet server running on the
 site where the file is located.

 We also need to know why VBA code is required, rather than simply a
 hyperlink.

 Regards
 David Grugeon



 On 9 May 2013 06:56, Mathan mathan4s...@gmail.com wrote:

 Hi Experts,

 I'm trying to upload a file from shared folder (directory) to the
 internet explorer.

 Need a VBA code to do this. Could anyone help me on this?

 Thanks in advance.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en
 .
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles

Re: $$Excel-Macros$$ Macro for overlapping data

2013-05-09 Thread David Grugeon
I have doubts about whether you can arrive at this with any certainty.

I am assuming the channels are some sort of broadcast channels.  Perhaps TV
or Radio channels.  CCG is ambiguous.  It could mean Canadian Coast Guard
or perhaps Central Control Government or dozens of other things.

The problem is that you do not know which of 2 channels a particular user
will be using at the time of the impression.  This means that a user who is
common between A and E may see 75,000 impressions on Channel E or may see
250,000 on Channel A.  You will need to draw up a list of assumptions to be
built into any algorithm, such as - if a user is common to 2 channels that
user is assumed to use each channel 50% of the time.  This assumption would
allow you to eliminate the overlapping users (You would subtract 5 users
from Channel A and 5 from Channel E.

There may be other issues, particularly with regards to the users with
access to 3 or more channels.  The above assumption eliminates these.
 However it may unfairly impact the low usage channels (such as E) because
these seem to have disproportionate cross channel overlaps.

If you want to give a bit more information, particularly about what the
terms CCG, Channel, and Impression mean, it may be feasible for me or
another member (ideally a statistician) to help you further.

Regards
David Grugeon



On 10 May 2013 13:47, Sri Jai jaisri1...@gmail.com wrote:

 Dear Experts,

 Need your help on the below

 Attached is an example that uses sample figures from Channels A, B and C
 form the spreadsheet

 The example assumes that there is an overlap between all three channels
 (A, B and C) because we know that there is an overlap between AB, AC and
 BC.

 I have attached a diagramatic representation and a word document

 Can i write a macro on the attached to eliminate the overlap and just have
 the actual numbers across multiple columns a,b and c . for now and even
 future if the values changes in future..Thanks a ton for the help in
 advance


 Sri

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Macro for overlapping data

2013-05-09 Thread David Grugeon
From the data available there is no way to determine how many users have 3
or more channels.

Regards
David Grugeon



On 10 May 2013 15:34, Sri Jai jaisri1...@gmail.com wrote:

 Thanks david for the response
 I think i confused you uncessarilly..(Apologies)As attached in the
 word document i want a formula to remove the overlapping users which may be
 in 3 sectors as in venn diagram I will always know the numbers but is there
 a way i can automate it statistically and macros that if can get the
 Overlapping and non overlapping users seperateAgain sry for confusing
 you earlier



 On Fri, May 10, 2013 at 1:06 PM, David Grugeon da...@grugeon.com.auwrote:

 I have doubts about whether you can arrive at this with any certainty.

 I am assuming the channels are some sort of broadcast channels.  Perhaps
 TV or Radio channels.  CCG is ambiguous.  It could mean Canadian Coast
 Guard or perhaps Central Control Government or dozens of other things.

 The problem is that you do not know which of 2 channels a particular user
 will be using at the time of the impression.  This means that a user who is
 common between A and E may see 75,000 impressions on Channel E or may see
 250,000 on Channel A.  You will need to draw up a list of assumptions to be
 built into any algorithm, such as - if a user is common to 2 channels that
 user is assumed to use each channel 50% of the time.  This assumption would
 allow you to eliminate the overlapping users (You would subtract 5 users
 from Channel A and 5 from Channel E.

 There may be other issues, particularly with regards to the users with
 access to 3 or more channels.  The above assumption eliminates these.
  However it may unfairly impact the low usage channels (such as E) because
 these seem to have disproportionate cross channel overlaps.

 If you want to give a bit more information, particularly about what the
 terms CCG, Channel, and Impression mean, it may be feasible for me or
 another member (ideally a statistician) to help you further.

 Regards
 David Grugeon



 On 10 May 2013 13:47, Sri Jai jaisri1...@gmail.com wrote:

 Dear Experts,

 Need your help on the below

 Attached is an example that uses sample figures from Channels A, B and C
 form the spreadsheet

 The example assumes that there is an overlap between all three channels
 (A, B and C) because we know that there is an overlap between AB, AC and
 BC.

 I have attached a diagramatic representation and a word document

 Can i write a macro on the attached to eliminate the overlap and just
 have the actual numbers across multiple columns a,b and c . for now and
 even future if the values changes in future..Thanks a ton for the help
 in advance


 Sri

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email

Re: $$Excel-Macros$$ Need City in Blanck Coloume.

2013-05-08 Thread David Grugeon
Priti, You are absolutely right.  It is up to the person who raised the
query to test sugestested solutions and respond.  If it is not working to
say in what respect it is not working,  If it is working to acknowledge
that.

Regards
David Grugeon



On 8 May 2013 22:16, priti verma pritiverma1...@gmail.com wrote:

 Dear Sant Ram,

 You may note that in the original query  there was nothing related to the
 sorting and I tried to apply a different and simple approach which works
 without the sorting so the solution is not inoperable and if the data is
 not sorted, it is not temporary also. You can find problems with any
 solution provided by anyone and I think you guys are working hard to do it.
 You or anyone else can point out any mistake in any of the solutions, but
 twisting with the query and adding scenarios just for the sake of objecting
 is not in the right spirit.

 I agree with you that we people try and provide solutions but we do
 it voluntarily and if there is any problem with the solution, the one who
 asked the query always points it out. I just don't see the point in jumping
 in between, adding new things and judging people without any application of
 mind. The only reason, other people should judge the solutions of other's
 query could be learning, which I am sure is not the intention here.

 If I wanted to increase my post counts, there are many other ways to do it
 rather than actually trying to resolve the query.

 Hope this makes sense to you.

 Regards,

 Priti



 On Wed, May 8, 2013 at 5:11 PM, priti verma pritiverma1...@gmail.comwrote:

  Thanks for your suggestion, i know what i need to do ..




 On Wed, May 8, 2013 at 5:05 PM, Sant Ram santram...@gmail.com wrote:

 Exactly Priti you are right  but your formula is not working ... as i
 observe that you are just want increase your post count ..

 in this group  we will try to provide top best solution not a temporary
 solution

 I totally agree with sunny...


 On Wed, May 8, 2013 at 5:04 PM, Sant Ram santram...@gmail.com wrote:

 Exactly Priti you are right  but your formula is not working ... as i
 observe that you are just want increase your post count ..

 in we will provide top best solution not a temporary solution

 I totally agree with sunny...


 On Wed, May 8, 2013 at 11:26 AM, priti verma 
 pritiverma1...@gmail.comwrote:

 Hi Sunnny ,
 sometime its better to think very simple , we can use Index match as
 an array formula but if you have a large data you can have a slow and a
 heavy workbook.
 so i think of sorting data with if function .

 let me know if you have any question on this

 regards
 Priti verma


 On Tue, May 7, 2013 at 10:26 PM, Sunny Chauhan sunnyc...@gmail.comwrote:

 Hi Priti,

 Have you checked your solution. it's working fine? (Please sort the
 data and check)

 Priti please don't put inoperable solution.. its my request




 On Tue, May 7, 2013 at 7:28 PM, priti verma pritiverma1...@gmail.com
  wrote:

 Hi Manoj,
 Please see the attachment
 Regards,
 Priti verma


 On Tue, May 7, 2013 at 6:13 PM, Manoj Kumar 
 manoj.11...@gmail.comwrote:


 Dear Expert.

 please help to solve query.

 regd
 Manoj

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna
 be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this 
 forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any
 security measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum
 owners and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses

Re: $$Excel-Macros$$ Excel VBA code to handle choose file to upload window in internet explorer

2013-05-08 Thread David Grugeon
IN particular we need to know what type of file is it that you want to
Upload.  Is it an internet file like .html, .asp .php etc or is it an
excel XLS file, xlsm, xlsb, etc. or perhaps a different type.

Then we need to know if there is an internet server running on the site
where the file is located.

We also need to know why VBA code is required, rather than simply a
hyperlink.

Regards
David Grugeon



On 9 May 2013 06:56, Mathan mathan4s...@gmail.com wrote:

 Hi Experts,

 I'm trying to upload a file from shared folder (directory) to the internet
 explorer.

 Need a VBA code to do this. Could anyone help me on this?

 Thanks in advance.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ please give suggestion...

2013-05-02 Thread David Grugeon
You are more likely to get a response if you use a meaninful heading and
include the details of your problem in the body of the post.

Regards
David Grugeon



On 3 May 2013 03:33, SAJID MEMON sajidwi...@hotmail.com wrote:

 I have attached a file, please give me vba code of my problem which i have
 explained in my file.

 Regards
 Sajid Memon

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Loop issue

2013-04-30 Thread David Grugeon
Well, that bit works OK for me.  The questions I would ask are what sheet
is active at the time?  What is the value of k immediately before the
rows... select is run?  What is the macro selecting?

There are a number of issues with your code.  One which concerns me in
particular is the line
Dim i, j, k, l As Double

This will dim i, j, and k as variants and l as a double.  In fact I think
you want them all as Longs, not doubles. so use

Dim i as Long, j as Long, k as Long, l as Long

There are other similar Dim statements where the As will only apply to the
last variable declared in the line.

Generally when you select a range and then perform an action it is more
efficient, simpler, easier to follow, and less error-prone to just perform
the action on the range.  For example, you have

 Rows(102:  k).Select
Selection.Delete Shift:=xlUp

This could be

 Rows(102:  k).Delete Shift:=xlUp




Regards
David Grugeon



On 30 April 2013 13:56, excel learner knowledgeforex...@gmail.com wrote:

 this particular line it is Just skipping  Rows(102:  k).Select

 and deletion line also not performed.




 On Mon, Apr 29, 2013 at 4:19 AM, David Grugeon da...@grugeon.com.auwrote:

 Thanks, Ram

 So you are saying that it correctly does the line

  Rows(102:  k).Select

 At that point you can look at the spreadsheet and see that the relevant
 rows have been selected.  Then, when you run the next line
 Selection.Delete Shift:=xlUp

 It does not delete the selection.

 What does it do?  Are the rows still selected?  If not, where is the
 active cell after this line is run?

 Regards
 David Grugeon



 On 28 April 2013 16:36, excel learner knowledgeforex...@gmail.comwrote:

 hi David,

 I tried step by step execution but still it is executing fine without
 any error but deletion part in first transaction tab is not done..

 Thanks  Regards,
 Ram


 On Sun, Apr 28, 2013 at 12:04 PM, David Grugeon da...@grugeon.com.auwrote:

 You have highlighted 5 lines

 Try stepping through the code and finding out which line does not work
 as required.



 Regards
 David Grugeon



 On 28 April 2013 16:25, knowledgeforex...@gmail.com wrote:

 Hi Experts,

 i have come across an issue where in auto filter code  is skipping
 over without performing the required action and running next course of
 action.

 I Have highlighted the line where am getting error can any one correct
 me where am facing this issue.

 Macro is executing well but this particular lines it is not performing
 the action.


 ActiveSheet.Range(A101:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
  Rows(102:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A101).Select
 Selection.AutoFilter


 *complete code*

 Public Sub OPEX_Reporting()

  Dim Master As Workbook' Macro and Master Workbook
 'Dim Linked As Workbook' CCA PL Linked File
 Dim NewFile As Workbook   ' New File

 Dim macro, CCA As Worksheet   ' Worksheets in Macro and Master Workbook
 'Dim Report, CON As Worksheet  ' Worksheets in CCA PL Linked File
 Dim sh As Worksheet   ' Searching for sheets

 Dim rng As Range

 Dim i, j, k, l As Double
 Dim Outerloop, Innerloop As Integer

 Dim PATH, PATH1  As String
 Dim FileName As Double
 Dim FileNamesave As Double

 Set Master = ThisWorkbook

 Set macro = Master.Sheets(Macro)


 i = macro.Cells(Rows.Count, A).End(xlUp).Row

 Application.ScreenUpdating = False
 Application.DisplayAlerts = False

 PATH = macro.Range(C4)

 Dim Answer As String
 Dim MyNote As String

 'Place your text here
 MyNote = You are about to run the Macro. Are you Sure?  Chr(13)
  Chr(13)  If Yes! Make sure the below Path is empty -   Chr(13) 
 Chr(13)  PATH

 'Display MessageBox
 Answer = MsgBox(MyNote, vbQuestion + vbYesNo, Macro Confirmation
 Message !!!)

 If Answer = vbNo Then
 'Code for No button Press
 'MsgBox You pressed NO!
 End
 Else
 'Code for Yes button Press
 'MsgBox You pressed Yes!
 End If

 For Outerloop = 8 To 10
 j = macro.Cells(Outerloop, Columns.Count).End(xlToLeft).Column


 FileName = macro.Cells(Outerloop, 1)


 Set NewFile = Workbooks.Add

 For Innerloop = 3 To j
 Dim CC As String

 CC = 
 CC = macro.Cells(Outerloop, Innerloop)
 Set sh = Master.Worksheets(CC)
 sh.Activate
 ActiveSheet.Copy before:=NewFile.Sheets(1)
 k = ActiveSheet.Cells(Rows.Count, A).End(xlUp).Row

 NewFile.Sheets(CC).Select
 Cells.Find(What:=Mapping Data, After:=ActiveCell,
 LookIn:=xlFormulas, _
 LookAt:=xlPart, SearchOrder:=xlByRows,
 SearchDirection:=xlPrevious, _
 MatchCase:=False, SearchFormat:=False).Activate

 'If Sheets(CC).FilterMode = True Then
 'Selection.AutoFilter
 'Else
 'Selection.AutoFilter
 'End If


  If CC = Transaction Details Then
 ActiveSheet.Range(A101:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
  Rows(102:  k).Select
 Selection.Delete Shift:=xlUp

Re: $$Excel-Macros$$ Loop issue

2013-04-28 Thread David Grugeon
You have highlighted 5 lines

Try stepping through the code and finding out which line does not work as
required.



Regards
David Grugeon



On 28 April 2013 16:25, knowledgeforex...@gmail.com wrote:

 Hi Experts,

 i have come across an issue where in auto filter code  is skipping over
 without performing the required action and running next course of action.

 I Have highlighted the line where am getting error can any one correct me
 where am facing this issue.

 Macro is executing well but this particular lines it is not performing the
 action.


 ActiveSheet.Range(A101:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
  Rows(102:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A101).Select
 Selection.AutoFilter


 *complete code*

 Public Sub OPEX_Reporting()

 Dim Master As Workbook' Macro and Master Workbook
 'Dim Linked As Workbook' CCA PL Linked File
 Dim NewFile As Workbook   ' New File

 Dim macro, CCA As Worksheet   ' Worksheets in Macro and Master Workbook
 'Dim Report, CON As Worksheet  ' Worksheets in CCA PL Linked File
 Dim sh As Worksheet   ' Searching for sheets

 Dim rng As Range

 Dim i, j, k, l As Double
 Dim Outerloop, Innerloop As Integer

 Dim PATH, PATH1  As String
 Dim FileName As Double
 Dim FileNamesave As Double

 Set Master = ThisWorkbook

 Set macro = Master.Sheets(Macro)


 i = macro.Cells(Rows.Count, A).End(xlUp).Row

 Application.ScreenUpdating = False
 Application.DisplayAlerts = False

 PATH = macro.Range(C4)

 Dim Answer As String
 Dim MyNote As String

 'Place your text here
 MyNote = You are about to run the Macro. Are you Sure?  Chr(13) 
 Chr(13)  If Yes! Make sure the below Path is empty -   Chr(13) 
 Chr(13)  PATH

 'Display MessageBox
 Answer = MsgBox(MyNote, vbQuestion + vbYesNo, Macro Confirmation
 Message !!!)

 If Answer = vbNo Then
 'Code for No button Press
 'MsgBox You pressed NO!
 End
 Else
 'Code for Yes button Press
 'MsgBox You pressed Yes!
 End If

 For Outerloop = 8 To 10
 j = macro.Cells(Outerloop, Columns.Count).End(xlToLeft).Column


 FileName = macro.Cells(Outerloop, 1)


 Set NewFile = Workbooks.Add

 For Innerloop = 3 To j
 Dim CC As String

 CC = 
 CC = macro.Cells(Outerloop, Innerloop)
 Set sh = Master.Worksheets(CC)
 sh.Activate
 ActiveSheet.Copy before:=NewFile.Sheets(1)
 k = ActiveSheet.Cells(Rows.Count, A).End(xlUp).Row

 NewFile.Sheets(CC).Select
 Cells.Find(What:=Mapping Data, After:=ActiveCell, LookIn:=xlFormulas, _
 LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlPrevious, _
 MatchCase:=False, SearchFormat:=False).Activate

 'If Sheets(CC).FilterMode = True Then
 'Selection.AutoFilter
 'Else
 'Selection.AutoFilter
 'End If


  If CC = Transaction Details Then
 ActiveSheet.Range(A101:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
  Rows(102:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A101).Select
 Selection.AutoFilter
 ElseIf CC = Phased Actuals Then
 ActiveSheet.Range(A49:AY  k).AutoFilter Field:=51, Criteria1:=
  FileName
 Rows(50:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A49).Select
 Selection.AutoFilter
 ElseIf CC = Summary Then
 Rows(11:11).Select
 ActiveSheet.Range($A$11:$BF$19  k).AutoFilter Field:=50,
 Criteria1:=  FileName
 Rows(12:  k).Select
 Selection.Delete Shift:=xlUp
 Range(a11).Select
 Selection.AutoFilter
 'ElseIf CC = Nat Exp Vs Plan Then
 'ActiveSheet.Range(A94:AH  k).AutoFilter Field:=35, Criteria1:=
  FileName
 'Rows(95:  k).Select
 'Selection.Delete Shift:=xlUp
 'Range(A94).Select
 'Selection.AutoFilter
 'Else
 'ActiveSheet.Range(A94:AH  k).AutoFilter Field:=34, Criteria1:=
  FileName
 'Rows(95:  k).Select
 'Selection.Delete Shift:=xlUp
 'Range(A94).Select
 'Selection.AutoFilter
 End If

 Next
 NewFile.Activate
 On Error Resume Next
 NewFile.Sheets(Array(Sheet1, Sheet2, Sheet3)).Delete
 NewFile.SaveAs FileName:=PATH  \  FileName,
 FileFormat:=xlOpenXMLWorkbook
 NewFile.Close
 Next
 macro.Activate
 MsgBox You have run the Macro Successfully!!!

 Application.DisplayAlerts = True
 Application.ScreenUpdating = True
 End Sub


 Thanks  Regards,
 Ram





  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you

Re: $$Excel-Macros$$ Loop issue

2013-04-28 Thread David Grugeon
Thanks, Ram

So you are saying that it correctly does the line

 Rows(102:  k).Select

At that point you can look at the spreadsheet and see that the relevant
rows have been selected.  Then, when you run the next line
Selection.Delete Shift:=xlUp

It does not delete the selection.

What does it do?  Are the rows still selected?  If not, where is the active
cell after this line is run?

Regards
David Grugeon



On 28 April 2013 16:36, excel learner knowledgeforex...@gmail.com wrote:

 hi David,

 I tried step by step execution but still it is executing fine without any
 error but deletion part in first transaction tab is not done..

 Thanks  Regards,
 Ram


 On Sun, Apr 28, 2013 at 12:04 PM, David Grugeon da...@grugeon.com.auwrote:

 You have highlighted 5 lines

 Try stepping through the code and finding out which line does not work as
 required.



 Regards
 David Grugeon



 On 28 April 2013 16:25, knowledgeforex...@gmail.com wrote:

 Hi Experts,

 i have come across an issue where in auto filter code  is skipping over
 without performing the required action and running next course of action.

 I Have highlighted the line where am getting error can any one correct
 me where am facing this issue.

 Macro is executing well but this particular lines it is not performing
 the action.


 ActiveSheet.Range(A101:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
  Rows(102:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A101).Select
 Selection.AutoFilter


 *complete code*

 Public Sub OPEX_Reporting()

  Dim Master As Workbook' Macro and Master Workbook
 'Dim Linked As Workbook' CCA PL Linked File
 Dim NewFile As Workbook   ' New File

 Dim macro, CCA As Worksheet   ' Worksheets in Macro and Master Workbook
 'Dim Report, CON As Worksheet  ' Worksheets in CCA PL Linked File
 Dim sh As Worksheet   ' Searching for sheets

 Dim rng As Range

 Dim i, j, k, l As Double
 Dim Outerloop, Innerloop As Integer

 Dim PATH, PATH1  As String
 Dim FileName As Double
 Dim FileNamesave As Double

 Set Master = ThisWorkbook

 Set macro = Master.Sheets(Macro)


 i = macro.Cells(Rows.Count, A).End(xlUp).Row

 Application.ScreenUpdating = False
 Application.DisplayAlerts = False

 PATH = macro.Range(C4)

 Dim Answer As String
 Dim MyNote As String

 'Place your text here
 MyNote = You are about to run the Macro. Are you Sure?  Chr(13) 
 Chr(13)  If Yes! Make sure the below Path is empty -   Chr(13) 
 Chr(13)  PATH

 'Display MessageBox
 Answer = MsgBox(MyNote, vbQuestion + vbYesNo, Macro Confirmation
 Message !!!)

 If Answer = vbNo Then
 'Code for No button Press
 'MsgBox You pressed NO!
 End
 Else
 'Code for Yes button Press
 'MsgBox You pressed Yes!
 End If

 For Outerloop = 8 To 10
 j = macro.Cells(Outerloop, Columns.Count).End(xlToLeft).Column


 FileName = macro.Cells(Outerloop, 1)


 Set NewFile = Workbooks.Add

 For Innerloop = 3 To j
 Dim CC As String

 CC = 
 CC = macro.Cells(Outerloop, Innerloop)
 Set sh = Master.Worksheets(CC)
 sh.Activate
 ActiveSheet.Copy before:=NewFile.Sheets(1)
 k = ActiveSheet.Cells(Rows.Count, A).End(xlUp).Row

 NewFile.Sheets(CC).Select
 Cells.Find(What:=Mapping Data, After:=ActiveCell, LookIn:=xlFormulas, _
 LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlPrevious, _
 MatchCase:=False, SearchFormat:=False).Activate

 'If Sheets(CC).FilterMode = True Then
 'Selection.AutoFilter
 'Else
 'Selection.AutoFilter
 'End If


  If CC = Transaction Details Then
 ActiveSheet.Range(A101:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
  Rows(102:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A101).Select
 Selection.AutoFilter
 ElseIf CC = Phased Actuals Then
 ActiveSheet.Range(A49:AY  k).AutoFilter Field:=51,
 Criteria1:=  FileName
 Rows(50:  k).Select
 Selection.Delete Shift:=xlUp
 Range(A49).Select
 Selection.AutoFilter
 ElseIf CC = Summary Then
 Rows(11:11).Select
 ActiveSheet.Range($A$11:$BF$19  k).AutoFilter Field:=50,
 Criteria1:=  FileName
 Rows(12:  k).Select
 Selection.Delete Shift:=xlUp
 Range(a11).Select
 Selection.AutoFilter
 'ElseIf CC = Nat Exp Vs Plan Then
 'ActiveSheet.Range(A94:AH  k).AutoFilter Field:=35,
 Criteria1:=  FileName
 'Rows(95:  k).Select
 'Selection.Delete Shift:=xlUp
 'Range(A94).Select
 'Selection.AutoFilter
 'Else
 'ActiveSheet.Range(A94:AH  k).AutoFilter Field:=34,
 Criteria1:=  FileName
 'Rows(95:  k).Select
 'Selection.Delete Shift:=xlUp
 'Range(A94).Select
 'Selection.AutoFilter
 End If

 Next
 NewFile.Activate
 On Error Resume Next
 NewFile.Sheets(Array(Sheet1, Sheet2, Sheet3)).Delete
 NewFile.SaveAs FileName:=PATH  \  FileName,
 FileFormat:=xlOpenXMLWorkbook
 NewFile.Close
 Next

Re: $$Excel-Macros$$ Copy/Paste Problem

2013-04-27 Thread David Grugeon
I think you will Nero download the source code and go through it to extract
the indicator (probably a CSS class) that turns a particular item green.
 It probably could be done in VBA but a big exercise.

On Sunday, 28 April 2013, Bill Q wrote:

 Hi,

 When copying and pasting from a particular site in question - for whatever
 reason it will not copy the color. Is there anyway to keep the original
 color ?

 The link is

 *https://miseojeu.lotoquebec.com/en/results/complete-results*https://miseojeu.lotoquebec.com/en/results/complete-results

 Then:

 1. Press on complete results on the left hand side.
 2. Select sport hockey
 3. Select sub-category National
 4. Below that - select sub-category Matches
 5. Choose time period January 19, 2013

 Ok results will come up. As you can see there green in certain
 boxes.

 When copy and pasting - I cannot find a way of keeping the green.

 Not sure if these can be solved with VBA, but any help or suggestions
 would be much appreciated.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ conditional formating to find amts to offset

2013-03-24 Thread David Grugeon
I want to know where we are going next with this.  What happens if the
amounts are different?

On Sunday, 24 March 2013, santosh subudhi wrote:

 Hello Group,

 I need a way to highlight the amts that I can offset with each other based
 on the below conditions:

 1) Customer should be same
 2) Profit Center has to be same

 I need to do this *with out macros.*
 *
 *
 Any type of help would be of great help.
 --
 Regards
 Santosh
 santoshkumar.subu...@gmail.com javascript:_e({}, 'cvml',
 'santoshkumar.subu...@gmail.com');

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Multiple Criteria issue formula

2013-03-19 Thread David Grugeon
I cannot understand your question.  you will have to be much more explicit.
 If you cannot explain in English, perhaps you know someone who can help
you.

Please put the explanation in the body of the email, not in a spreadsheet.

Regards
David Grugeon



On 19 March 2013 21:40, amar takale amartak...@gmail.com wrote:

 Dear All,
 Pls Can anybody solve my issue?


 On Tue, Mar 19, 2013 at 1:27 PM, amar takale amartak...@gmail.com wrote:

 Dear All
 Pls see Sheet (Sample Sheet+1) I used Sumproduct formula in K 32 cell but
 I want to modified it to search only that value not sum.If experts help me
 then my issue will be solved.Pls see all detailed in sheet.
 Regards
 Amar


 On Tue, Mar 19, 2013 at 12:23 PM, amar takale amartak...@gmail.comwrote:

 Dear All Experts,
 I want solution.Pls see Detailed information in Sample Sheet.
 Regards
 Amar

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Print problem

2013-03-19 Thread David Grugeon
Sorry.  Dont use that  use this one

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Cancel = True
Application.EnableEvents = False
Worksheets(5).PrintOut
Application.EnableEvents = True
End Sub

Regards
David Grugeon



On 19 March 2013 22:08, David Grugeon da...@grugeon.com.au wrote:

 Put this in the ThisWorkbook module

 Private Sub Workbook_BeforePrint(Cancel As Boolean)
 Cancel = True
 Application.EnableEvents = False
 Worksheets(5).PrintOut
 End Sub

 Regards
 David Grugeon



 On 19 March 2013 21:50, Shrinivas Shevde shrinivas...@gmail.com wrote:

 Dear All
 I have a excel work book in which there are 5 sheet .
 First 4 sheets are data entry and last sheet is final sheet which I need
 to take out print.
 If bi mistakely cursor is on any one of the first 4 sheet  and i gave
 print command then because of many data I gets the print of nearly 20 pages
 (all are waste)

 Is there any way my cursor may be in any sheet I will get the print of
 last  5th sheet only.



 --
 Shrini

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Time calculation help

2013-03-17 Thread David Grugeon
Use 1A+1B/24

On Monday, 18 March 2013, JosephJoseph wrote:

 Hello Everyone

 I am trying to add  or subtract hours to or from time..

 In cell 1a showing 4:30 PM   Cell 1b shows hours like 1.5 hours or 2
 hours or 3.5 hours..

 I need to add cell 1b 1.5 hours to cell 1a 4:30 PM to get a result of 6:00
 pm.
 I tried =1a+1b and that did not work.

 *Also need to subtract as well*
 I need to Subtract cell 1b 1.5 hours from cell 1a 4:30 PM to get a result
 of 3:00 pm.
 I tried =1a-1b and that did not work.

 Thank you in advance for any help.

 Joseph




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Unlock Cells on Condations

2013-03-15 Thread David Grugeon
It works perfectly on my spreadsheet.


I think you filled the dates using a formula.  Change xlFormulas to
xlValues.

It would also be good to put Dim r as Range at the head of the macro.

Regards
David Grugeon



On 15 March 2013 23:47, Prashant Pednekar prashant...@gmail.com wrote:

 Dear Dave, and other friends.

 I am using belwo code for locking rows. It is not working. Can you let me
 know where i am going wrong. my date value is in first column.

 Private Sub Worksheet_Activate()
 ActiveSheet.Unprotect
 Rows(5:1200).Locked = True
 With Range(A5:A1500)
 Set r = .Find(Date, LookIn:=xlFormulas, lookat:=xlWhole)
 If Not r Is Nothing Then Rows(r.Row).Locked = False
 End With
 ActiveSheet.Protect
 End Sub

 Regards
 Prashant



 On Wed, Jan 20, 2010 at 5:12 AM, Selva s.selvarathi...@gmail.com wrote:

 Hi,

 I need some assistance in unlocking a range of cells based on date
 conditions

 For example, B1:B32 has dates for the month and based on today's date,
 it should unlock the entire column to allow the user to enter the
 data.

 It should not allow the user to enter data for yesterday or
 tomorrow...

 Cell should be open only for today's date.

 Thanks for your help.

 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
 http://www.excelitems.com
 3. Excel tutorials at http://www.excel-macros.blogspot.com
 4. Learn VBA Macros at http://www.quickvba.blogspot.com
 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com


 To post to this group, send email to excel-macros@googlegroups.com
 If you find any spam message in the group, please send an email to:
 Ayush Jain  @ jainayus...@gmail.com
 
 HELP US GROW !!

 We reach over 6,700 subscribers worldwide and receive many nice notes
 about the learning and support from the group.Let friends and co-workers
 know they can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Re: Replace a character to equal sign - VBA

2013-03-15 Thread David Grugeon
The problem is that you are replacing a string with another string when you
want to replace it with a formula

So Try

ActiveCell.formula =Replace(ActiveCell.Value,#,=,1,,vbTextCompare)


Regards
David Grugeon



On 16 March 2013 04:10, André D'Avila andredavila...@gmail.com wrote:

 Hey Prince, thanks for the answer.

 I tryed here, but have no sucess...

 The problem is pasting the information inside a cell.

 I Have a string like - *#Sum(a1:a2)* but then i take of the # (via
 macro) and put a = sign then it doesnt recognize.

 Replacing the = sign to # character is ok. Replace it back to original
 form to activate de fórmula then doesnt work :/

 Really wierd...


 2013/3/15 Prince prince141...@gmail.com


 Just Create a macro and passed your range, each cells with loop where i
 have used ActiveCell.value

 Replace(ActiveCell.Value,#,=,1,,vbTextCompare)

 Regards
 Prince


 On Friday, March 15, 2013 12:49:03 AM UTC+5:30, André D'Avila wrote:

 Guys, please help me.

 Inside VBA, i want to replace the character # below, to the equal
 sign...

 #Tech!$AB3

 To

 =Tech!$AB3

 Teoricaly is easy but the code doesnt work!!!

 Cells.select
 Selection.Replace What:=#, replacement:==


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ FW: Amount clean after closed file

2013-03-14 Thread David Grugeon
In the This Workbook module put the following Sub

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Sheet1.TextBox1.Text = 
ThisWorkbook.Save
End Sub

Regards
David Grugeon



On 14 March 2013 19:37, Umesh Gupta umeshj...@live.com wrote:



  --
 From: umeshj...@live.com
 To: davebonall...@hotmail.com
 Subject: Amount clean after closed file
 Date: Thu, 14 Mar 2013 15:00:46 +0530

 Hello Dave

 I need soluation  when closed excel file amount will be clean

 Thanks


 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Excel 13 macros

2013-03-14 Thread David Grugeon
What happens if you go Alt-F11 to open the VBE?

Are macros enabled?  Have a look at file/options/security (or could be
.../advanced/security  and look at macro security.  Might alsoneed to look
in Trust Centre Settings.

All based on Office 2010 - but it is similar.

My guess is that along with trying to force you to use the cloud, they then
think that the cloud is an unsafe place so disable macros by default.

Regards
David Grugeon



On 15 March 2013 07:28, Wayne Field awf@gmail.com wrote:

 I moved up to Excel 13 less than a month ago with functioning
 spreadsheets. Last night  Microsoft wiped out the sort macros on my most
 used spreadsheet. No problem; I'll just re-enter them. Oops, clicking
 MACTOS I find RECORD MACRO is greyed out. This sort macro sorts twice each
 of four different groups of data. How can I enter a macro in Excel 131?

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Available Consultant HOT LIST PROJECT MANGER AND EMBEDDED DEVELOPER

2013-03-12 Thread David Grugeon
It is just a case of illiteracy.  Sales recruiter evidently cannot read or
he/she would see that the rules include:

5) Jobs posting is not allowed.

Regards
David Grugeon



On 13 March 2013 14:20, अनिल नारायण गवली gawlianil8...@gmail.com wrote:

 Dear SalesRecruiter,

 What we do wit this???

 Kindly mention the problem with sharing a sample data.


 Warm Regards,
 Gawli Anil.

 On Tue, Mar 12, 2013 at 7:13 PM, rajan verma rajanverma1...@gmail.comwrote:

 what to do with this??


 On Tue, Mar 12, 2013 at 7:36 AM, salesrecruiter04 
 salesrecruite...@gmail.com wrote:

  Hi,

 Hope you are doing well.

 Here is the list of SOPHUS IT Inc consultants available for projects.



*Name*


   *Skill*


   *Location*


   *Relocation*










Bhuvaneshwari


   Project Manager


  WA


   No










*AKSHATA** **G.** **TAPASHETTI** *



   EMBEDDED DEVELOPER


   WA


   No










   Thanks and Regards
 Suresh
 Sophus IT Solutions
 Contact 510 257 5707
 Email:sur...@sophusinfo.com
 *www.sophusinfo.com*


   --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Regards
 Rajan verma
 +91 9158998701

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Thanks  Regards,
 Gawli Anil Narayan
 Software Developer,
 Abacus Software Services Pvt Ltd

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you

Re: $$Excel-Macros$$ Row and column Highlighted

2013-03-11 Thread David Grugeon
What I think you want to do is going to need some quite complex programming.

First, let me check that I have the right idea about what you want.

When any workbook opens on your computer, you want to have the the entire
row and the entire column of the active cell highlighted with a yellow
coloured background.
When you change the active cell, say move right or down, or click elsewhere
in the sheet, you then want to (a)remove the original highlighting and
(b)make the new row and column highlighted.
If a range comprising more than one cell is selected, you want to apply
this to the active cell.  (i.e. the top left hand cell in the range)  So
there will always only be one column and one row highlighted.

There are some issues to deal with:

1) this process will require code to be inserted in the ThisWorkbook
module of each workbook.

2) If there is already code in the workbook, relating to the relevant
events, the new code will need to be combined with this code.

3) Do you want the highlighting to be retained in the workbook after it is
closed?

4) Would it be a concern if the highlighting remained in the workbook and
could not be automatically removed if the program of computer crashed?

5) what do you want to do if there is existing colouring in cells of the
workbook?  Options are (a) overwrite them with the highlighting and then
remove the highlighting leaving them without a color fill; (b) do not
highlight coloured cells; (c) highlight them but restore the original
colour when removing the highlighting (very complex to code); (d) only
highlight non-coloured cells (even more complex to code).

6) will this definitely only be used on your computer.  Is there any
restriction preventing you using code which accesses the code modules?
 Allowing this access is a security risk.  Are you prepare to take this
risk?

7) Do you need this to apply to every workbook you open, including new
workbooks you create, and workbooks prepared by other people?  If so is
there any likelihood that you will receive workbooks from others with
password protected code?  If so what do you want to do about this as you
would be unable to write your code into their ThisWorkbook modules?

8) do you want to leave the code in each workbook so it runs if you give
the workbook to anybody else? or do you want to delete it before the
workbook is closed?

Is this something you just think would be a fun thing to have or would you
consider paying a developer to implement it?  I suspect there is several
hours work in implementing it properly and I am not prepared to spend that
amount of time myself, doing it unless you are prepared to pay $1,000 US.
 Other members of the group may have plenty of time to spare and be willing
to donate that time.

Regards
David Grugeon.

Regards
David Grugeon



On 11 March 2013 16:33, karthikeyan sankaran karthikeyansankar...@gmail.com
 wrote:

 Hi,

 Thanks for your reply.
 I need Active cell RowColumn. Whenever open the workbook it will show
 automatically.

 Thanks
 karthik


 On 11 March 2013 11:30, अनिल नारायण गवली gawlianil8...@gmail.com wrote:

 Dear Karthikeyansankaran,

 Goto sheet view code their select worksheet from dropwdown.

 Write the code .

 ActiveCell.Interior.ColorIndex = 36

 Warm Regards,

 Gawli Anil
 On Sun, Mar 10, 2013 at 5:53 PM, karthikeyan sankaran 
 karthikeyansankar...@gmail.com wrote:

 Hi,

 How to highlight ActiveCell Row and Column for all workbook. which means
 excel open it will active automatically.

 Thanks
 karthik

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Thanks  Regards,
 Gawli Anil Narayan
 Software Developer,
 Abacus Software Services Pvt Ltd


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official

Re: $$Excel-Macros$$ how to call proc on sheet refering sheetname

2013-03-11 Thread David Grugeon
I would try

Application.OnTime Now() + TimeValue(00:00:05), Sheets(Test).
CommandButton1_Click

First I think you need the . instead of the ! which you use in worksheet
functions.  Next, you need a string in double quotes.  Then where you want
the name of the file in the brackets you double up the quotes so two double
quotes.   VBA will treat them as a single double quote when it interprets
the string.

I haven't tested this but I think it is about right.

Regards
David Grugeon



On 11 March 2013 04:26, Santosh V eclerxsant...@gmail.com wrote:

 Private Sub CommandButton1_Click()
 MsgBox hi
 End Sub

 Private Sub CommandButton2_Click()

 Application.OnTime Now() + TimeValue(00:00:05),
 Sheet1.CommandButton1_Click ' It works
 'Application.OnTime Now() + TimeValue(00:00:05),
 Sheets('Test')!CommandButton1_Click' It fails.


 'When i want to refer using sheet name how that can be done.?
 'Also suggest when to use ! and . ?
 End Sub


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ PDF to Excel

2013-03-08 Thread David Grugeon
Yes.  I understand the ability is built into Office 2013.
Alternatively you can use an external OCR program.  there are several
around.  It depends what features you want and what you want to pay.
Have a google for PDF to Excel convertor, or for OCR program.

On 08/03/2013, Aamir Shahzad aamirshahza...@gmail.com wrote:
 Dear group,

 Is there any way to convert the PDF file to excel by MACRO.

 Regards,
 Aamir Shahzad

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
 not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Re: Not able to change background color

2013-03-07 Thread David Grugeon
Yes.  macros in open office are totally different from those in MS
Office as are the object models.

On 07/03/2013, anubha gupta 13gupta.anu...@gmail.com wrote:
 I am using open office not MS office could it be an issue

 On Thursday, March 7, 2013 11:17:46 AM UTC+5:30, anubha gupta wrote:

 Hi this is same which you have sent

 I have attached again

 On Thursday, March 7, 2013 9:51:25 AM UTC+5:30, अनिल नारायण गवली wrote:

 Dear Anu,

 Pl share that sheet in which u r getting nothing.

 Warm Regards,
 Gawli Anil

 On Wed, Mar 6, 2013 at 5:11 PM, anu.r...@gmail.com wrote:


 Thanks Anil for that much help
 But still when I run your defined macro 'Sheet3' it change nothing.
 I also try to call that function using '=Sheet3()' but not working

 Am I wrong in calling that function



 On Wednesday, March 6, 2013 4:23:02 PM UTC+5:30, अनिल नारायण गवली
 wrote:

 Dear Anu,

 Sorry for wrong file. here is the file.


 Warm Regards,
 Gawli Anil.

 On Wed, Mar 6, 2013 at 4:18 PM, अनिल नारायण गवली
 gawlia...@gmail.comwrote:

 Dear Anu,

 Pl see the sample sheet.

 Warm Regards,
 Gawli Anil

 On Wed, Mar 6, 2013 at 4:12 PM, anu.r...@gmail.com wrote:

 Hi Anil

 Thanks for ur help
 But I do not have much knowledge about macros as I have just started

 working on it. can you explain little bit more as an I need
 to do
 something with code or else for
 Selection change event


 On Wednesday, March 6, 2013 12:34:38 PM UTC+5:30,
 anu.r...@gmail.comwrote:

 Hi all

 I need to change the color of a cell through Macro
 using following code

 ===

 Sub Main

 End Sub

 Function Change_Color()

 ActiveCell.Interior.ColorIndex = 36
 End Function

 ====

 That throws run time error 'Object is not set'

 Can any one suggest where I am wrong.

 Thanks in advance

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?

 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum
 @
 https://www.facebook.com/**discussexcelhttps://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and
 Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security

 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners

 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to excel-macros...@**googlegroups.com.
 To post to this group, send email to excel-...@googlegroups.com.

 Visit this group at http://groups.google.com/**
 group/excel-macros?hl=enhttp://groups.google.com/group/excel-macros?hl=en
 .
 For more options, visit
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .






 --
 Thanks  Regards,
 Gawli Anil Narayan
 Software Developer,
 Abacus Software Services Pvt Ltd




 --
 Thanks  Regards,
 Gawli Anil Narayan
 Software Developer,
 Abacus Software Services Pvt Ltd




 --
 Thanks  Regards,
 Gawli Anil Narayan
 Software Developer,
 Abacus Software Services Pvt Ltd



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
 not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com

$$Excel-Macros$$ Scope of variables

2013-03-07 Thread David Grugeon
Hi all

I am using excel 14  (Part of Office Pro Plus 2010) on Win 7 Pro 32 bit.  A
fairly standard setup.

The help file says
Public

Variables declared using the *Public* statement are visible to all
procedures in all modules in all applications unless *Option Private
Module*is in effect. In that case, the variables are public only
within the
project in which they reside.

I created 2 workbooks  They are clean.  i.e. I do not think there is secret
code in them as they are newly created.


I created a module in each file.

The modules are as foillows

In Test1.xlsb

-

Option Explicit

Public Y As Integer

Sub setY()

Y = 18

End Sub


Sub testY()

Dim X

X = Y

Debug.Print X

End Sub

--

in Test2.xlsb

Option Explicit


Sub testY()

Dim X

X = Y

Debug.Print X

End Sub
---
If I run Sety() and TestY() in Test1 everything works as expected and it
prints 18 in the immediate window.

However testY in test 2.xlsb will not compile.  It highlights the Y in X=Y
and says Variable not defined

What have I misunderstood from the help file, or is it just wrong?


Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Excel VBA to retrieve from MSAccess or Sharepoint

2013-03-04 Thread David Grugeon
Hi Paul

Helen Feddema's book Access : Working with excel covers all this and much
more.  If you want it for $10 instead of $17 you have to subscribe for the
free newsletter Access Watch.
http://shop.office-watch.com/awe/fasttrack.aspx

On Tuesday, 5 March 2013, Paul Schreiner wrote:

 I may regret asking this, but here goes:

 Using Office 2010:

 I have Excel templates that are used to create documents and store the
 data in an Oracle database.
 The Oracle database has data from released and archived or
 historical documents.

 These documents are saved as PDF's and stored on a Sharepoint site.

 I use Excel to generate multiple reports from various data sources (mostly
 Oracle databases).

 I'd like to use Excel VBA to retrieve a list of released documents from
 a specific table in Sharepoint.

 I'll then retrieve the Oracle data for the Release documents.

 Now, I've been told that I can link an Access table to the Sharepoint
 table, then use Excel VBA to query the Access table.

 I have successfully created an Access Database that is linked to the
 Sharepoint site.

 I've Googled my fingers off and read hundreds of lines in posts and have
 yet to find a WORKING example of using Excel VBA to query the AccessDB.

 (no, I DON'T want to use Excel and create an external data source, I'd
 like to use VBA and issue an SQL query against the database)

 It seems more efficient to connect to the Sharepoint table directly from
 Excel VBA instead of going through MSAccess.

 So.. my question:
 Does anyone have a working example of connecting to, and querying an
 Access Database using Excel VBA?

 Or...
 Does anyone have a working example of connecting to and querying a
 Sharepoint site/table using Excel VBA?

 thank you,
 Paul


 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ MIS Job in Ienegizar

2013-03-04 Thread David Grugeon
Why did you post this?

Rule 5) Jobs posting is not allowed.

You have done this before.  Please do not do it ever again.

Regards
David Grugeon



On 5 March 2013 12:15, pankaj sangotra psangotr...@gmail.com wrote:

 Job Description
   * Should have good knowledge of Work force management * Prepare Weekly,
 Monthly reports on Excel sheets * Preparing MIS Reports using various Excel
 Formula Vlookup, Hlookup, Sorting and Pivot Table * Prepare data on MS
 Excel * 24/7 shifts *Good knowledge of Macros   Walk in Interviews:
 Contact Person : Shweta Contact Number : 9990656491 Venue : IEnergizer,
 A-37,Sec-60,Noida Time : 1pm- 5pm
 Salary: Not Mentioned
 Industry: BPO / Call Centre / ITES
 Functional Area: ITES, BPO, KPO, LPO, Customer Service, Operations
 Role: Associate/Senior Associate -(NonTechnical)
 Key Skills: MIS Exec, MIS Executive, Mis Reporting, mis excel, mis officer

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Data Validation issue

2013-02-28 Thread David Grugeon
This thread makes me think you are typing in the names of your named
ranges.  It is bettter to press F3 and double click the name to add it.
 Makes sure there are no typos in the name.

Regards
David Grugeon



On 28 February 2013 18:03, Bé Trần Văn betnmtdongna...@gmail.com wrote:

 Go to Insert Name Define, Define Name window appears, in clicking
 Maruti_Kadam frame, you frame your Name in Workbooks Copy Name

 *Maruti_Kadam*

 Done you click on B9, from the menu select Data Validation, Validation
 window, select Settings, Frame Allow List, type mode = and Paste Name
 Maruti_Kadam Source frame

 *= Maruti_Kadam*

 And press the OK button, now you click on B9 you will see results.



 2013/2/28 The Viper viper@gmail.com

 Maruti Kadam is available in a9. but the original named range is
 Maruti_Kadam. an underscore is missing.


 On Thu, Feb 28, 2013 at 12:54 PM, amar takale amartak...@gmail.comwrote:

 Dear All,
 I have Data validation sheet in which In output sheet cell B6,I put data
 validation with Indirect formula that time I get success but now same
 process I am doing now but get error (Source currently evaluates to an
 error) in cell B9 in output sheet.I forget it how do it
 Can anybody tell me how to do it
 Regards
 Amar

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit

Re: $$Excel-Macros$$ Multiple Column Rows conditions Sum

2013-02-28 Thread David Grugeon
=SUMIF(A2:A7,F9,OFFSET(A2:A7,0,CODE(F8)-64))

Regards
David Grugeon



On 1 March 2013 11:50, Venkat CV venkat1@gmail.com wrote:

 Hello Everyone,

 I have enclosed sample file were i required formula assistance If I
 select 2 Criteria's and needs to sum up based on ROWColumn criteria's

 Thanks in advance..
 --
 Best Regards
 Venkat
 Chennai

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Need formula for sum

2013-02-27 Thread David Grugeon
We need more information.  What do you want the sum of?  There does not
seem to be anything in the worksheet provided that you could possibly want
to add up.

On Wednesday, 27 February 2013, Deepak Rawat wrote:

 Hi,

 need formula for sum in attach

 Regards,
 Deepak

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ F-key to open a particular worksheet

2013-02-26 Thread David Grugeon
You will need to check that the lines
 myFileName = book1.xls
myPath = C:\my documents\excel\

refer to the file and path you want to open.

You have also provided alternate Auto_open and Auto_close subs.  Use only
the ones that relate to the key you want to use.

Where are you putting these subs?  Name of file and Module.

You say you are not successful but you do not say what happens when you
have run the auto_open macro, Have excel still open and press the relevant
function key.

Please note that this will not work if Excel is closed at the time or if
the auto_open sub has not run.

Regards
David Grugeon



On 27 February 2013 16:49, amar takale amartak...@gmail.com wrote:

 Dear All,
 Can anyone tell me how I can allocate an F-key to open a particular
 worksheet.I will try but not successful. Pls see below link,same issue.


 https://groups.google.com/forum/?fromgroups=#!topic/microsoft.public.excel.misc/CgMyLdrvYII

 Regards
 Amar

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Sum with maximum

2013-02-23 Thread David Grugeon
=sumif(C2:C50,6500,C2:C50)+countif(C2:C50,=6500)*6500


Regards
David Grugeon



On 23 February 2013 20:36, Ranjeet Negi ranjitsne...@gmail.com wrote:

 Dear Sir,

 I have a data in Range (C2:C50).  There are values.  I want to sum all
 value upto or equal to 6500, wherein values greater than 6500 will be
 treated as 6500.  Kindly help me for formula.
 Regards,


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Date hour value problem!

2013-02-22 Thread David Grugeon
try this

If the value is in B3 use then formula

=(int(B3)+mod(B3,1)/.6)/24
then format as h:mm

Regards
David Grugeon



On 22 February 2013 20:36, The Viper viper@gmail.com wrote:

 excel will not hold a value as 2.30 with full decimal(2). We
 can derive the desired result by formula if you intend.
 share us a sample file for more assistance


 On Fri, Feb 22, 2013 at 3:53 PM, chhajersand...@gmail.com wrote:

 **
 Thanks for quick suggestion but it is not full proof where there is only
 8 is written it is not working. Again for strange reason where 2.30 was
 written after converting it become 2:03. Don't know why! Pls suggest!


 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone
 --
 *From: * The Viper viper@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Fri, 22 Feb 2013 15:48:08 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ Date hour value problem!

 select the data and press ctrl+h
 put .(dot) in Find what and put : in Replace with
 click Replace all

 On Fri, Feb 22, 2013 at 3:41 PM, chhajersand...@gmail.com wrote:

 Dear excel guru,
 I have a problem...I want my hour to be written as 4:45. But I entered
 2 data as 4.45. Now if I am changing it to [h]:mm format through custom
 format I am getting 10:48 AM please help how can I convert it to 4.45 to
 4:45.

 Thanking you.
 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from

Re: $$Excel-Macros$$ Date hour value problem!

2013-02-22 Thread David Grugeon
OK

A date/time value is a number of days since the beginning of time
(31/12/1900 I think)

Time is a fraction of a day.  so i hour is 1/24

My formula was =(int(B3)+mod(B3,1)/.6)/24

Lets take a value entered as 4.15 which we want to represent as 4:15 or 4
hours and 15 minutes.

Int(B3) gives us the 4

Mod(B3,1) gives us the 0.15 part
this is equivalent to 15/100.  However we want 15/60 so we divide it by 0.6

This gives 0.25.

Add them together and we have 4.25 or 4 1/4 hours.

Now divide by 24 to convert to days.

So 4 hours 15 minutes since the beginning of time is expressed by the
number.
0.1770833 or thereabouts.

When we apply a time format h:mm to this it displays as 4:15.

QED


Regards
David Grugeon



On 22 February 2013 21:30, David Grugeon da...@grugeon.com.au wrote:

 try this

 If the value is in B3 use then formula

 =(int(B3)+mod(B3,1)/.6)/24
 then format as h:mm

 Regards
 David Grugeon



 On 22 February 2013 20:36, The Viper viper@gmail.com wrote:

 excel will not hold a value as 2.30 with full decimal(2). We
 can derive the desired result by formula if you intend.
 share us a sample file for more assistance


 On Fri, Feb 22, 2013 at 3:53 PM, chhajersand...@gmail.com wrote:

 **
 Thanks for quick suggestion but it is not full proof where there is only
 8 is written it is not working. Again for strange reason where 2.30 was
 written after converting it become 2:03. Don't know why! Pls suggest!


 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone
 --
 *From: * The Viper viper@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Fri, 22 Feb 2013 15:48:08 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ Date hour value problem!

 select the data and press ctrl+h
 put .(dot) in Find what and put : in Replace with
 click Replace all

 On Fri, Feb 22, 2013 at 3:41 PM, chhajersand...@gmail.com wrote:

 Dear excel guru,
 I have a problem...I want my hour to be written as 4:45. But I entered
 2 data as 4.45. Now if I am changing it to [h]:mm format through custom
 format I am getting 10:48 AM please help how can I convert it to 4.45 to
 4:45.

 Thanking you.
 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

Re: $$Excel-Macros$$ Assignment

2013-02-22 Thread David Grugeon
Assuming the first value is in A2

In B2 put =left(A2,1)
In C2 put =mid(A2,2,4)

Drag these formulas down.

Regards
David Grugeon



On 23 February 2013 16:14, Harkesh Kumar harkesh.kuma...@gmail.com wrote:




 Please solve this Problem



 Please Seperate Special character and number

 num

 Ans

 @1234



 #1239



 $1244



 %1249



 ^1254



 1259



 *1264



 @1234



 #1239



 $1244



 %1249



 ^1254



 1259



 *1264



 @1234



 #1239



 $1244



 %1249



 ^1254



 1259



 *1264












  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Index and Match help needed

2013-02-20 Thread David Grugeon
I would use conditional formatting.

select cell B2
Click Conditional formatting/new rule/Use a formula to determine which
cells to format/.
enter =b2B1
Set the format you want - I used a light green fill
Click OK, OK
Select B2
Copy
Select the rest of column B (or as much of column B as you want it to apply
to)
PasteSpecial/Formats

It should be easier but I could not get it to work to just apply
conditional formatting to the range.


Regards
David Grugeon



On 21 February 2013 01:50, solsbee joesolsbe...@gmail.com wrote:

 I have a spreadsheet that the data is keyed in one cell, then multiple
 other cells are populated by the index and match formula being tied to that
 entry.  My problem is sometimes I need 5 rows populated and other times I
 may need 6.  Is there a way to have excel show an error if a cell does not
 match the cell above?  The example in my spreadsheet would be B8 not
 matching B9.

 I would attach a copy, but it would not let me.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ how to get cumulative sum in a cell

2013-02-19 Thread David Grugeon
Hi Anton

How are you calling the sub?

Regards
David Grugeon


On 20 February 2013 04:40, Anton Jopko a...@kwic.com wrote:

 Hi David,
 I tried your suggestion but still no luck. I may have to get a VBA book
 that is simpler than the one i have.
 Thanks for looking at my macro though,
 anton


 David Grugeon wrote:

 Hi Anton

 How are you calling this sub?  You are probably calling it without
 specifying Target.

 You might need to start it like  (untested)

 Private Sub Accounting_type2()

 Dim Target as range

 Set Target = ActiveSheet.ActiveCell


 Regards
 David Grugeon


 On 19 February 2013 00:58, Anton Jopko a...@kwic.com
 mailto:a...@kwic.com wrote:

 Hi David,
 sorry for imposing on you again. i am trying to run this macro below
 but i get the error message argument not optional. can you suggest
 what to do? i am also a newbie!!
 Thanks,
 anton

 ps the macro takes input as a cost of groceries, for example, in a
 cell in col 2, then accumulates the total in a column corresponding
 to the month specified in cell A2. with all months in the same row.
 the cursor then returns back to the original cell for more costs of
 groceries.

 then i move the cursor to another row for cost of hydro etc.

 Private Sub Accounting_type2(ByVal Target As Range)

 If Range(A2).Value = Jan And Target.Column = 2 Then
 Target.Offset(0, 1) = Target.Offset(0, 1) + Target
 If Range(A2).Value = Feb And Target.Column = 2 Then
 Target.Offset(0, 2) = Target.Offset(0, 2) + Target
 If Range(A2).Value = Mar And Target.Column = 2 Then
 Target.Offset(0, 3) = Target.Offset(0, 3) + Target
 If Range(A2).Value = Apr And Target.Column = 2 Then
 Target.Offset(0, 4) = Target.Offset(0, 4) + Target
 If Range(A2).Value = May And Target.Column = 2 Then
 Target.Offset(0, 5) = Target.Offset(0, 5) + Target
 If Range(A2).Value = Jun And Target.Column = 2 Then
 Target.Offset(0, 6) = Target.Offset(0, 6) + Target
 If Range(A2).Value = Jul And Target.Column = 2 Then
 Target.Offset(0, 7) = Target.Offset(0, 7) + Target
 If Range(A2).Value = Aug And Target.Column = 2 Then
 Target.Offset(0, 8) = Target.Offset(0, 8) + Target
 If Range(A2).Value = Sep And Target.Column = 2 Then
 Target.Offset(0, 9) = Target.Offset(0, 9) + Target
 If Range(A2).Value = Oct And Target.Column = 2 Then
 Target.Offset(0, 10) = Target.Offset(0, 10) + Target
 If Range(A2).Value = Nov And Target.Column = 2 Then
 Target.Offset(0, 11) = Target.Offset(0, 11) + Target
 If Range(A2).Value = Dec And Target.Column = 2 Then
 Target.Offset(0, 12) = Target.Offset(0, 12) + Target
 Target.Select
 End Sub

 David Grugeon wrote:

 Done.  Thanks.

 Best Regards
 David Grugeon
 M 0429 029 836 tel:0429%20029%20836
 Bulloo Office 07 4621 8041 tel:07%204621%208041
 Aspley phone 07 3263 9809 tel:07%203263%209809
 Aspley Fax 07 3263 7786 tel:07%203263%207786



 -Original Message-
 From: Anton Jopko [mailto:a...@kwic.com mailto:a...@kwic.com]
 Sent: Monday, 18 February 2013 9:24 PM
 To: David Grugeon
 Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell

 Hi David,
 i was wondering if your post should be put on the excel forum
 page so others
 could read your response? any thoughts?
 Thanks
 anton


 David Grugeon wrote:

 Have a look at this link.  The solution is right at the end.


 http://social.technet.__micros**oft.com/Forums/en/__**
 officeitpro/thread/1d3e9aa0-20http://microsoft.com/Forums/en/__officeitpro/thread/1d3e9aa0-20

 http://social.technet.**microsoft.com/Forums/en/**
 officeitpro/thread/1d3e9aa0-20http://social.technet.microsoft.com/Forums/en/officeitpro/thread/1d3e9aa0-20
 **
 69-4f7b-b6cf-c47e00d637f5

 On Sunday, 17 February 2013, anton wrote:

   Hi David,
   I restarted the computer and now when I try to open VB
 editor, it
   tells me VBE6EXT.OLB could not be loaded. I guess I
 will have to
   take the computer back to the store so they can reload
 excel?
   Thanks for your suggestion,
   anton

   On Saturday, 16 February 2013 04:02:26 UTC-5, David
 Grugeon wrote:

   I suggest restarting the computer.  In win8 it is
 not obvious
   how to do this.  I type the Windows key and then
 type Shutdown.
 this brings up the shutdown App.  Then you click
 Commands in
   the menu and restart.



   Regards
   David Grugeon


   On 16 February 2013 03:23, antona...@kwic.com

Re: $$Excel-Macros$$ Calculation of Import Value

2013-02-19 Thread David Grugeon
Work it out like this

a)  Value
b)  Custom duty = value*0.2
c) Value + Custom Duty =value*1.2
d) Sales Tax = Value *1.2*0.16
e) value +custom duty +Sales tax =value*1.2+Value *1.2*0.16
= value*1.2*1.16
=value*1.392
f)Income Tax =value*1.392*0.06
g) value +custom duty + sales tax + income tax =
value*1.392+value*1.392*0.06
=value *1.392*1.06
=value*1.47552

so the Custom duty, plus the Sales tax plus the income tax is

Value*0.47552

This is the formula you need in the single cell if the value is in A3

*=A3*0.47552*




Regards
David Grugeon



On 19 February 2013 17:48, Rasheed Razzaq rashee...@gmail.com wrote:

 Dear Experts,
  I need a formula or function for calculation of Taxes in single cell.

 Value  1,000,000
  Custom Duty 20%
 Sales Tax 16% x (Value+Custom Duty)
  Income Tax 6% x (Value+Custom Duty+Sales Tax)

 *Required Value (Custom Duty+Sales Tax+Income Tax)*
 Is there any single formula
 or
  function where I can calculate Taxes amount
 in a cell.

 Thanks in advance.

 Regards
 Abdul Rasheed



  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Count No of Days between Start and End Date over a period of different years

2013-02-19 Thread David Grugeon
Hi Paul

What i think the OP wants is

If a person started in the year he wants the end date of the year (31
December) minus Start date (probably +1) under that years column.

If a person ended during the year he wants the end date -1st January +1 in
that year column

If a person started before the year and ended after the year he wants 365
or 366 in that year column.

Regards
David Grugeon



On 19 February 2013 22:42, Paul Schreiner schreiner_p...@att.net wrote:

 I'm really very sorry, but your explanation continues to make no sense.
 Basically, it's this:
 You want the number of days between two dates.
 For that, you need two dates.

 So, in your example, the solution in D2 of 365 days.
 What was used as the Start Date and what was used as the End Date?

 perhaps, what you are saying is:
 Given the Start and End Date(s) in Columns B and C, how many of the days
 within THAT range appeared in the year(s) shown in D1, E1 and F1?

 So basically, if the total number of days between B2 and C2 is 1044, then
 the total days within 2010 + the total within 2011 and the total within
 2012 should equal 1044.

 Is that what you're trying to get to?


 *Paul*

 -
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-


  --
 *From:* prkhan56 prkha...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Tue, February 19, 2013 6:21:59 AM
 *Subject:* Re: $$Excel-Macros$$ Count No of Days between Start and End
 Date over a period of different years

 Thanks for the response. Both the solution does not give the result I wish
 to have...
 Let me try to explain it with the Data in S.No. 1 only
 I wish to have a formula in D2 which will calculate the elapsed days
 between the Start and End Date under that particular year.
 For example S.No. under 2010 it should show 365 days as the full year has
 passed and then under 2011 the balance days under that particular year and
 same for year 2012.

 In the sample file I have provided I have put the numbers which should
 appear under each year manually.

 Hope this is clear now


 On Tuesday, February 19, 2013 12:29:45 AM UTC+4, Paul Schreiner wrote:

   Your cell in yellow is not a formula.

 So you're saying you want to take the Month/day from B and C, the Year
 from D/E/F
 and calculate the number of days between the Start/End dates built from
 these combinations?
 Basically, you'd build the date for the ending date:
 =DATEVALUE(MONTH($C2)/DAY( $C2)/D$1)
 subtract the date obtained from the beginning date:
 -DATEVALUE(MONTH($B2)/DAY( $B2)/D$1)

 and copy that down and across.

 If that's not what you're looking for,
 then please provide more information.



 *Paul*

 -- ---
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-- ---


  --
 *From:* Rashid Khan prkh...@gmail.com
 *To:* excel-...@googlegroups.com
 *Sent:* Mon, February 18, 2013 3:11:46 PM
 *Subject:* $$Excel-Macros$$ Count No of Days between Start and End Date
 over a period of different years

  Hello All,
 I am attaching a sample file for my problem.

 I wish to have a formula entered in Cell D2 (highlighted in yellow - *to
 be dragged across and down*) to calculate the number of days in Col D, E
 and F over different years from the Start and End Date.

 Thanks in advance
 Rashid Khan

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
 https://www.facebook.com/
 discussexcel https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros...@ googlegroups.com.
 To post to this group, send email to excel-...@googlegroups.com.
 Visit this group at http://groups.google.com/ 
 group/excel-macros?hl=enhttp

Re: $$Excel-Macros$$ Count No of Days between Start and End Date over a period of different years

2013-02-19 Thread David Grugeon
Hi Paul  - OOPS!  I didnt see you had finished it.  Sorry.

Regards
David Grugeon



On 20 February 2013 07:08, David Grugeon da...@grugeon.com.au wrote:

 Hi Paul

 What i think the OP wants is

 If a person started in the year he wants the end date of the year (31
 December) minus Start date (probably +1) under that years column.

 If a person ended during the year he wants the end date -1st January +1 in
 that year column

 If a person started before the year and ended after the year he wants 365
 or 366 in that year column.

 Regards
 David Grugeon



 On 19 February 2013 22:42, Paul Schreiner schreiner_p...@att.net wrote:

  I'm really very sorry, but your explanation continues to make no sense.
 Basically, it's this:
 You want the number of days between two dates.
 For that, you need two dates.

 So, in your example, the solution in D2 of 365 days.
 What was used as the Start Date and what was used as the End Date?

 perhaps, what you are saying is:
 Given the Start and End Date(s) in Columns B and C, how many of the days
 within THAT range appeared in the year(s) shown in D1, E1 and F1?

 So basically, if the total number of days between B2 and C2 is 1044, then
 the total days within 2010 + the total within 2011 and the total within
 2012 should equal 1044.

 Is that what you're trying to get to?


 *Paul*

 -
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-


  --
 *From:* prkhan56 prkha...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Tue, February 19, 2013 6:21:59 AM
 *Subject:* Re: $$Excel-Macros$$ Count No of Days between Start and End
 Date over a period of different years

 Thanks for the response. Both the solution does not give the result I
 wish to have...
 Let me try to explain it with the Data in S.No. 1 only
 I wish to have a formula in D2 which will calculate the elapsed days
 between the Start and End Date under that particular year.
 For example S.No. under 2010 it should show 365 days as the full year has
 passed and then under 2011 the balance days under that particular year and
 same for year 2012.

 In the sample file I have provided I have put the numbers which should
 appear under each year manually.

 Hope this is clear now


 On Tuesday, February 19, 2013 12:29:45 AM UTC+4, Paul Schreiner wrote:

   Your cell in yellow is not a formula.

 So you're saying you want to take the Month/day from B and C, the Year
 from D/E/F
 and calculate the number of days between the Start/End dates built from
 these combinations?
 Basically, you'd build the date for the ending date:
 =DATEVALUE(MONTH($C2)/DAY( $C2)/D$1)
 subtract the date obtained from the beginning date:
 -DATEVALUE(MONTH($B2)/DAY( $B2)/D$1)

 and copy that down and across.

 If that's not what you're looking for,
 then please provide more information.



 *Paul*

 -- ---
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-- ---


  --
 *From:* Rashid Khan prkh...@gmail.com
 *To:* excel-...@googlegroups.com
 *Sent:* Mon, February 18, 2013 3:11:46 PM
 *Subject:* $$Excel-Macros$$ Count No of Days between Start and End Date
 over a period of different years

  Hello All,
 I am attaching a sample file for my problem.

 I wish to have a formula entered in Cell D2 (highlighted in yellow - *to
 be dragged across and down*) to calculate the number of days in Col D,
 E and F over different years from the Start and End Date.

 Thanks in advance
 Rashid Khan

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
 https://www.facebook.com/
 discussexcel https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros

Fwd: $$Excel-Macros$$ how to get cumulative sum in a cell

2013-02-18 Thread David Grugeon
Following message posted direct to Anton by mistake.  It worked.
Regards
David Grugeon


-- Forwarded message --
From: David Grugeon da...@grugeon.com.au
Date: 17 February 2013 07:16
Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell
To: anton a...@kwic.com


Have a look at this link.  The solution is right at the end.

http://social.technet.microsoft.com/Forums/en/officeitpro/thread/1d3e9aa0-2069-4f7b-b6cf-c47e00d637f5


On Sunday, 17 February 2013, anton wrote:

 Hi David,
 I restarted the computer and now when I try to open VB editor, it tells me
 VBE6EXT.OLB could not be loaded. I guess I will have to take the computer
 back to the store so they can reload excel?

 Thanks for your suggestion,
 anton

 On Saturday, 16 February 2013 04:02:26 UTC-5, David Grugeon wrote:

 I suggest restarting the computer.  In win8 it is not obvious how to do
 this.  I type the Windows key and then type Shutdown.  this brings up the
 shutdown App.  Then you click Commands in the menu and restart.



 Regards
 David Grugeon


 On 16 February 2013 03:23, anton a...@kwic.com wrote:

 Hi Dave,
 I am afraid there is something weird going on. even in a blank
 spreadsheet, if I try to open the VB editor, it gives me an out of memory
 error. I don't believe it. I have 8 GB ram. also the macro you sent me
 works in excel 97 and exel 2010. but I can't open it or edit it in my
 accounting spreadsheet under windows 8??
 I was able to open the macro on the old computer with excel 97 and its
 name is private sub worksheet_change(byval target as range)

 any suggestions greatly appreciated.

 anton

 On Friday, 25 June 2010 13:09:45 UTC-4, Dave wrote:

  Hi Anton,
 Glad it works well for you.
 To keep the cursor in the same cell, add the following line to your code:
 Target.Select
 So the macro will now look like this:

 Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Column = 2 Then Target.Offset(0, 1) = Target.Offset(0, 1) +
 Target
 Target.Select
 End Sub

 Regards - Dave.


  Date: Thu, 24 Jun 2010 10:25:48 -0700

  Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell
  From: a...@kwic.com
  To: excel-...@googlegroups.com
 
  Hi Dave,
  your code works very well. it seems to work for text in col B which
  gives the same text in col C. I decided to make 2 columns for every
  month of the year. so i just added more similar lines if target =4
  etc, if target =6 etc in your code. we still have all the accounts on
  paper for every month if needed.(we write down expenses etc in a book
  each day but only enter data in spreadsheet once a year) This will
  save us the trouble of adding up each grocery expense etc by hand for
  each month and then entering it in the spreadsheet.
  Thanks very much for your help.
  Anton
  ps one more question. when i press the enter key, the cursor moves
  down one cell. how do i make the cursor stay on the same cell so i can
  enter a series of grocery expenses without moving the cursor up one
  cell each time?
 
  On Jun 24, 9:54 am, Dave Bonallack davebonall...@hotmail.com wrote:
   Hi Anton,Attached is a sheet with very simple code. Enter a value
 into a cell in Column B, and you will see the adjacent cell in Col C
 increase by that amount. Since this is done by VBA, there is no formula in
 the Col C cells, so you can make manual corrections there if you want. You
 should note that using this method gives you no record of past entries,
 since only the last entry is retained in Col B cells. Previous entries are
 constantly over-writtenIf you enter non-numeric data into Col B, the macro
 will fault. If this sheet is just for personal use, then it doesn't really
 matter, but we could test for non-numeric input if needed.

   Regards - Dave.
  
  
  
  
  
Date: Thu, 24 Jun 2010 03:36:37 -0700
Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell
From: a...@kwic.com
To: excel-...@googlegroups.com
  
Hi Dave,
Thanks very much for your reply. Yes this would be sufficient. Your
suggestion that XL can monitor changes to A2 and store the
 cumulative
total in A3 would be great. I would have about 50 similar accounts
such as gas, books, donations, repairs etc.
Would you be able to construct this macro?
Best Regards,
anton
  
On Jun 24, 1:49 am, Dave Bonallack davebonall...@hotmail.com
 wrote:
 Hi Anton,
  
 XL can almost do what you want, which may be sufficient for you.
  
 If you want to be able to enter your grocery expenditure always
 in the same cell, XL can accumulate those entries in another cell using VBA.
  
 For example, You may enter your grocery expenditure always into
 A2, but the actual accumulated total would appear in A3 (or any other cell
 you like). This can be done by clicking a button after each entry into A2,
 or XL can monitor changes to A2 and do the accumulation automatically.
  
 If this suits your purpose, there are lots of us in the group
 who

Re: $$Excel-Macros$$ how to get cumulative sum in a cell

2013-02-18 Thread David Grugeon
Hi Anton

How are you calling this sub?  You are probably calling it without
specifying Target.

You might need to start it like  (untested)

Private Sub Accounting_type2()

Dim Target as range

Set Target = ActiveSheet.ActiveCell


Regards
David Grugeon


On 19 February 2013 00:58, Anton Jopko a...@kwic.com wrote:

 Hi David,
 sorry for imposing on you again. i am trying to run this macro below but i
 get the error message argument not optional. can you suggest what to do?
 i am also a newbie!!
 Thanks,
 anton

 ps the macro takes input as a cost of groceries, for example, in a cell in
 col 2, then accumulates the total in a column corresponding to the month
 specified in cell A2. with all months in the same row. the cursor then
 returns back to the original cell for more costs of groceries.

 then i move the cursor to another row for cost of hydro etc.

 Private Sub Accounting_type2(ByVal Target As Range)

 If Range(A2).Value = Jan And Target.Column = 2 Then Target.Offset(0,
 1) = Target.Offset(0, 1) + Target
 If Range(A2).Value = Feb And Target.Column = 2 Then Target.Offset(0,
 2) = Target.Offset(0, 2) + Target
 If Range(A2).Value = Mar And Target.Column = 2 Then Target.Offset(0,
 3) = Target.Offset(0, 3) + Target
 If Range(A2).Value = Apr And Target.Column = 2 Then Target.Offset(0,
 4) = Target.Offset(0, 4) + Target
 If Range(A2).Value = May And Target.Column = 2 Then Target.Offset(0,
 5) = Target.Offset(0, 5) + Target
 If Range(A2).Value = Jun And Target.Column = 2 Then Target.Offset(0,
 6) = Target.Offset(0, 6) + Target
 If Range(A2).Value = Jul And Target.Column = 2 Then Target.Offset(0,
 7) = Target.Offset(0, 7) + Target
 If Range(A2).Value = Aug And Target.Column = 2 Then Target.Offset(0,
 8) = Target.Offset(0, 8) + Target
 If Range(A2).Value = Sep And Target.Column = 2 Then Target.Offset(0,
 9) = Target.Offset(0, 9) + Target
 If Range(A2).Value = Oct And Target.Column = 2 Then Target.Offset(0,
 10) = Target.Offset(0, 10) + Target
 If Range(A2).Value = Nov And Target.Column = 2 Then Target.Offset(0,
 11) = Target.Offset(0, 11) + Target
 If Range(A2).Value = Dec And Target.Column = 2 Then Target.Offset(0,
 12) = Target.Offset(0, 12) + Target
 Target.Select
 End Sub

 David Grugeon wrote:

 Done.  Thanks.

 Best Regards
 David Grugeon
 M   0429 029 836
 Bulloo Office 07 4621 8041
 Aspley phone 07 3263 9809
 Aspley Fax 07 3263 7786


 -Original Message-
 From: Anton Jopko [mailto:a...@kwic.com]
 Sent: Monday, 18 February 2013 9:24 PM
 To: David Grugeon
 Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell

 Hi David,
 i was wondering if your post should be put on the excel forum page so
 others
 could read your response? any thoughts?
 Thanks
 anton


 David Grugeon wrote:

 Have a look at this link.  The solution is right at the end.


  http://social.technet.**microsoft.com/Forums/en/**
 officeitpro/thread/1d3e9aa0-20http://social.technet.microsoft.com/Forums/en/officeitpro/thread/1d3e9aa0-20
 69-4f7b-b6cf-c47e00d637f5

 On Sunday, 17 February 2013, anton wrote:

  Hi David,
  I restarted the computer and now when I try to open VB editor, it
  tells me VBE6EXT.OLB could not be loaded. I guess I will have to
  take the computer back to the store so they can reload excel?
  Thanks for your suggestion,
  anton

  On Saturday, 16 February 2013 04:02:26 UTC-5, David Grugeon wrote:

  I suggest restarting the computer.  In win8 it is not obvious
  how to do this.  I type the Windows key and then type Shutdown.
this brings up the shutdown App.  Then you click Commands in
  the menu and restart.



  Regards
  David Grugeon


  On 16 February 2013 03:23, antona...@kwic.com  wrote:

  Hi Dave,
  I am afraid there is something weird going on. even in a
  blank spreadsheet, if I try to open the VB editor, it gives
  me an out of memory error. I don't believe it. I have 8 GB
  ram. also the macro you sent me works in excel 97 and exel
  2010. but I can't open it or edit it in my accounting
  spreadsheet under windows 8??
  I was able to open the macro on the old computer with excel
  97 and its name is private sub worksheet_change(byval target
  as range)
  any suggestions greatly appreciated.
  anton

  On Friday, 25 June 2010 13:09:45 UTC-4, Dave wrote:

  Hi Anton,
  Glad it works well for you.
  To keep the cursor in the same cell, add the following
  line to your code:
  Target.Select
  So the macro will now look like this:

  Private Sub Worksheet_Change(ByVal Target As Range)
  If Target.Column = 2 Then Target.Offset(0, 1) =
  Target.Offset(0, 1) + Target
  Target.Select

Re: $$Excel-Macros$$ Hiding Sheet in Excel Workbook

2013-02-17 Thread David Grugeon
Assuming you have Excel 2007 or later:

Right click the worksheet tab and click Hide.  Now go into the Review tab
and click Protect workbook.  This will allow you to put in a password to
prevent the sheet being unhidden.  It will also prevent sheets being added
or deleted, and may do other things.

Be aware that the protection afforded is not very high security.  If you
really want to protect the data on that sheet, try  removing it from the
workbook before distribution.

You can also use xlVeryHidden for a sheet.  This cannot be done other than
through the VBA interface but it is more effective as the user cannot
unhide the sheet without knowing its name.

I don't know why you don't want to use macros.  I would consider using
macros but not including them in the workbook. I would put them in a
separate workbook so I could use them to hide or unhide sheets before the
workbook was issued (and after it came back to me if relevant).

If you have an earlier version of Excel you can do the same things but
someone else may need to tell you where to find the tools.

Regards
David Grugeon


On 18 February 2013 13:48, Prabhakar S H prabakar.k...@gmail.com wrote:

 Hi,

 I have different sheets in attached excel workbook and i want to hide 3rd
 sheet (Settlement Sheet) with protect Password (without Macro) so that
 receiver cannot see / refer that sheet.

 Pls help me to sort out this query.

 Rgds,
 Prabhakar

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Hiding Sheet in Excel Workbook

2013-02-17 Thread David Grugeon
Hi Gawli

There is an issue with this.  The user can open the VBa Editor and this
shows all the sheet names, including the hidden one.  Then he can unhide it
in the immediate pane. with sheets(Settlement Details).visible=true.  You
would need to password protect the VBA Project or the workbook to avoid
this.

Regards
David Grugeon


On 18 February 2013 15:30, अनिल नारायण गवली gawlianil8...@gmail.com wrote:

 Dea Orabakar,

 Pl find attached herewith .  Password is hide.

 Regards,
 Gawli Anil

 On Mon, Feb 18, 2013 at 9:18 AM, Prabhakar S H prabakar.k...@gmail.comwrote:

 Hi,

 I have different sheets in attached excel workbook and i want to hide 3rd
 sheet (Settlement Sheet) with protect Password (without Macro) so that
 receiver cannot see / refer that sheet.

 Pls help me to sort out this query.

 Rgds,
 Prabhakar

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Thanks  Regards,
 Gawli Anil Narayan
 Software Developer,
 Abacus Software Services Pvt Ltd

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ how to get cumulative sum in a cell

2013-02-16 Thread David Grugeon
I suggest restarting the computer.  In win8 it is not obvious how to do
this.  I type the Windows key and then type Shutdown.  this brings up the
shutdown App.  Then you click Commands in the menu and restart.



Regards
David Grugeon


On 16 February 2013 03:23, anton a...@kwic.com wrote:

 Hi Dave,
 I am afraid there is something weird going on. even in a blank
 spreadsheet, if I try to open the VB editor, it gives me an out of memory
 error. I don't believe it. I have 8 GB ram. also the macro you sent me
 works in excel 97 and exel 2010. but I can't open it or edit it in my
 accounting spreadsheet under windows 8??
 I was able to open the macro on the old computer with excel 97 and its
 name is private sub worksheet_change(byval target as range)

 any suggestions greatly appreciated.

 anton

 On Friday, 25 June 2010 13:09:45 UTC-4, Dave wrote:

  Hi Anton,
 Glad it works well for you.
 To keep the cursor in the same cell, add the following line to your code:
 Target.Select
 So the macro will now look like this:

 Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Column = 2 Then Target.Offset(0, 1) = Target.Offset(0, 1) +
 Target
 Target.Select
 End Sub

 Regards - Dave.


  Date: Thu, 24 Jun 2010 10:25:48 -0700

  Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell
  From: a...@kwic.com
  To: excel-...@googlegroups.com
 
  Hi Dave,
  your code works very well. it seems to work for text in col B which
  gives the same text in col C. I decided to make 2 columns for every
  month of the year. so i just added more similar lines if target =4
  etc, if target =6 etc in your code. we still have all the accounts on
  paper for every month if needed.(we write down expenses etc in a book
  each day but only enter data in spreadsheet once a year) This will
  save us the trouble of adding up each grocery expense etc by hand for
  each month and then entering it in the spreadsheet.
  Thanks very much for your help.
  Anton
  ps one more question. when i press the enter key, the cursor moves
  down one cell. how do i make the cursor stay on the same cell so i can
  enter a series of grocery expenses without moving the cursor up one
  cell each time?
 
  On Jun 24, 9:54 am, Dave Bonallack davebonall...@hotmail.com wrote:
   Hi Anton,Attached is a sheet with very simple code. Enter a value
 into a cell in Column B, and you will see the adjacent cell in Col C
 increase by that amount. Since this is done by VBA, there is no formula in
 the Col C cells, so you can make manual corrections there if you want. You
 should note that using this method gives you no record of past entries,
 since only the last entry is retained in Col B cells. Previous entries are
 constantly over-writtenIf you enter non-numeric data into Col B, the macro
 will fault. If this sheet is just for personal use, then it doesn't really
 matter, but we could test for non-numeric input if needed.

   Regards - Dave.
  
  
  
  
  
Date: Thu, 24 Jun 2010 03:36:37 -0700
Subject: Re: $$Excel-Macros$$ how to get cumulative sum in a cell
From: a...@kwic.com
To: excel-...@googlegroups.com
  
Hi Dave,
Thanks very much for your reply. Yes this would be sufficient. Your
suggestion that XL can monitor changes to A2 and store the
 cumulative
total in A3 would be great. I would have about 50 similar accounts
such as gas, books, donations, repairs etc.
Would you be able to construct this macro?
Best Regards,
anton
  
On Jun 24, 1:49 am, Dave Bonallack davebonall...@hotmail.com
 wrote:
 Hi Anton,
  
 XL can almost do what you want, which may be sufficient for you.
  
 If you want to be able to enter your grocery expenditure always
 in the same cell, XL can accumulate those entries in another cell using VBA.
  
 For example, You may enter your grocery expenditure always into
 A2, but the actual accumulated total would appear in A3 (or any other cell
 you like). This can be done by clicking a button after each entry into A2,
 or XL can monitor changes to A2 and do the accumulation automatically.
  
 If this suits your purpose, there are lots of us in the group who
 could help you achieve this.
  
 Regards - Dave.
  
  Date: Wed, 23 Jun 2010 11:22:58 -0700
  Subject: $$Excel-Macros$$ how to get cumulative sum in a cell
  From: a...@kwic.com
  To: excel-...@googlegroups.com
  
  Dear Group,
  I am constructing a single entry accounting spreadsheet in
 excel. i
  would like to input numbers for, say grocery expenses, in a
 cell of
  fixed location. when I buy more groceries i would like to type
 in the
  new expense in the same cell so that the output of that cell is
 the
  cumulative total expenses for groceries.
  any way to do this in excel?
  Thanks for reading,
  anton
  
  --
  --**--*
 *---­­---
  Some important links for excel

Re: $$Excel-Macros$$ What is Ylookup in Excel...

2013-02-16 Thread David Grugeon
Perhaps it is an employment test.  Anyone who knew Excel would know there
is no Ylookup.  Someone who was not familiar with excel might invent a
menaing for it!

Regards
David Grugeon


On 16 February 2013 18:57, Rajan_Verma rajanverma1...@gmail.com wrote:

 *I have year only two dimension in excel. One is vertical another one
 horizontal , for that we have Vlookup and HLookup , I don’t think if any
 Ylookup is there  **J***

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Kuldeep Singh
 *Sent:* 16 February 2013 12:58
 *To:* excel-macros@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ What is Ylookup in Excel...

 ** **

 ** **

 @ Vijay:

 ** **

 No, is this not a typing mistake because Vlookup  Hlookup also type
 correct  IIIrd Ylookup is specify in job posting in moster site.

 ** **

 Regards,

 Kuldeep Singh

 Info Edge India Limited (naukri.com)

 Phone.: +91-0120-4841100, Extn.: 2467, 9716615535
 naukrikuld...@gmail.com || www.naukri.com
 *Please* *Consider the environment. Please don't print this e-mail unless
 you really need to.*

 ** **

 On Sat, Feb 16, 2013 at 12:54 PM, vijayajith VA vijayajith...@gmail.com
 wrote:

 looks typo

 ** **

 On Sat, Feb 16, 2013 at 12:52 PM, Kuldeep Singh naukrikuld...@gmail.com
 wrote:

 ** **

 Hi Vijay,

 ** **

 I know Ylookup is not available in Any Excel. For more information please
 see below URL:

 ** **

 http://jobs.monsterindia.com/details/12696222.html

 ** **

 Same Line in URL : Knwoledge:- *V-look up, Y-look up, H-look up (in excel
 master )  SENSYS EASY PAY .  TDS.*

 ** **

 Regards,

 Kuldeep Singh

 Info Edge India Limited (naukri.com)

 Phone.: +91-0120-4841100, Extn.: 2467, 9716615535
 naukrikuld...@gmail.com || www.naukri.com
 *Please* *Consider the environment. Please don't print this e-mail unless
 you really need to.*

 ** **

 On Sat, Feb 16, 2013 at 12:48 PM, vijayajith VA vijayajith...@gmail.com
 wrote:

 Hi Kuldeep,

 ** **

 Where did you got ths information. pls share. i dont have idea.

 ** **

 Thr is no Ylookup in excel..thanks

 ** **

 On Sat, Feb 16, 2013 at 12:00 PM, Kuldeep Singh naukrikuld...@gmail.com
 wrote:

 ** **

 Hi Experts,

 ** **

 What is *Ylookup in Excel*. I know only Vlookup, Hlookup  Lookup. If you
 know, please give some examples of Ylookup.
 

 ** **

 Regards,

 Kuldeep Singh

 Info Edge India Limited (naukri.com)

 Phone.: +91-0120-4841100, Extn.: 2467, 9716615535
 naukrikuld...@gmail.com || www.naukri.com
 *Please* *Consider the environment. Please don't print this e-mail unless
 you really need to.*

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.

  

 ** **

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS

Re: $$Excel-Macros$$ What is Ylookup in Excel...

2013-02-16 Thread David Grugeon
Perhaps it is an employment test.  Anyone who knew Excel would know there
is no Ylookup.  Someone who was not familiar with excel might invent a
meaning for it!

Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ add in for chart

2013-02-16 Thread David Grugeon
Hi Sara
I don't quite understand.  Could you Tell us what you want to do, and why
you cannot do it with standard Excel tools?

On Sunday, 17 February 2013, Sara Lee wrote:

 hi

 is there a macro or add in for an CONTROL Charts in Excel? please advise

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ worksheetfunction.counta not returning correct value

2013-02-15 Thread David Grugeon
Try (c.value  :!b9:b28)

On Saturday, 16 February 2013, amitjha2487 wrote:

 Hello everyone,
 what i am trying to do is iterate through a range containing worksheet
 names and if the cell is not empty then add the result of CountA function
 to the count variable. So the count variable should be equal to number of
 non lank cells in range B9:B28 on the worksheets I'm iterating through, but
 strangely the value is equal to the number of non empty cells in the range
 I'm going through (sheet1!d5:d24).
 What I am I doing wrong?

 Thanks a lot in advance to all those who take out time to reply.
 Cheers

 For Each c In Worksheets(Sheet1).Range(d5:d24).Cells
 If Not IsEmpty(c) Then
 count = count + WorksheetFunction.CountA(c  !b9:b28)
 End If
 Next


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Excel is Crashing

2013-02-14 Thread David Grugeon
You are not providing nearly enough information.  Is this a proprietory
tool which is locked so you cannot alter it?  If so you will need to
contact the supplier.

If the tool is a macro or a collection of macros which is not password
protected, or you have the password, then we need to know what code of the
macro is, and where it crashes.

We also need to know if there was any change, which could have caused the
tool to stop working, such as using a different operating system, different
Excel version, or different or updated ALM(HP).or even a change in your
anti-virus software.  Even a change in server paths on your network could
be responsible.

Regards
David Grugeon


On 15 February 2013 02:52, sreekanth m sreekanthm.namb...@gmail.com wrote:

 Dear Experts,

 I have an Excel tool which takes data from ALM(HP) tool and prepare the
 reports.

 *Now very frequently the TOOL is getting crashed and I am not able to
 make any changes in to the tool.  Kindly help me on this issue. Thanks!*

 --
 ThanksRegards,
 *Sreekanth M
 *Mobile:8095220421

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Number Format code-not working !!

2013-02-10 Thread David Grugeon
try semicolons instead of commas

Regards
David Grugeon


On 10 February 2013 20:08, Sreejith K.V itssre...@hotmail.com wrote:

 Hi There,

 I have tried adding the below number format code in the custom tool bar.
 But i not getting the desired result. Can someone help me in fixing this
 and let me know what went wrong.

 Number Format

 1.  0.0,,”M”
 2.  0.00,,”M”
 2. $0.0,,”M”

 After applying any of the number formats and keying in lets say 2.5 , for
 the format $0.0,,M i am getting the result as $0.0M instead of $2.5M.

 Many Thanks in advance.

 Regards
 Sreejith

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Re: Relating add-ins in word

2013-02-10 Thread David Grugeon
It looks as though you right click on the number and then click spell
Number

Regards
David Grugeon


On 10 February 2013 21:10, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 I install but i didn't understand following sentence.

 Do not forget! The ''SpellNumber'' command will be available on document
 Mouse Rigth-click Menu when you restart the Word.


 please help me



 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 2:34 PM, David Grugeon da...@grugeon.com.auwrote:

 Hi Prajakt Pande

 Go to this web link and download.the com add-in

 http://cpap.com.br/orlando/WordSpellNumberMore.asp?IdC=OMKtPlc

 If you have problems with it let us know and we will try to help.

 Regards
 David Grugeon


 On 10 February 2013 19:59, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 Thanks for your e-mail,

 Yes i am working on office 2010, and i am trying to convert amount in
 words by keyboard stork, currency will be USD (with Sign), AED (dherams),
 GBP (Pounds), EURO etc.

 I searched in Microsoft office web site but i failed to get the add-ins.

 Attached word file for your reference,

 I apologies for giving less information.

 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 11:09 AM, David Grugeon da...@grugeon.com.auwrote:

 As you indicate this is not an appropriate place to post your questions.

 The answer to your first question is Yes, Someone does know how to
 download addins for Microsoft Word.

 Do you have a particular issue in relation to this?  If so please
 supply details such as what addin you are trying to install.  Where it is
 located, what you have tried, what went wrong, what version of word and
 operating system you are using.  Then we may be able to help further.

 With regard to your second question, I need to make sure I have it
 right.

 You want to enter a number in word and have the number followed by the
 relevant words in parentheses.  You want the words dollars only added to
 the end of the number even though you have not prefixed it by a dollar 
 sign.

 How do you want this operation to be triggered?  Do you want it to be
 triggered by a particular keystroke, if so what one?  Ctrl and a letter
 would be easiest.  or do you want it to happen every time you type some
 digits followed by a space.

 If you intend to put a dollar sign before the number it might be
 possible to use this as a primary trigger with a space indicating the end
 of the numeric sequence.

 Will it only apply to integers or will the numbers possibly contain a
 decimal point?  Will there be negative numbers?  If so how do you want to
 deal with them?

 Be aware that if the macro operates on any sequence of digits followed
 by a space, it will change

 17 June 2013 into 17(seventeen dollars only) June 2013

 If you give some more though to exactly what you want aqnd get back to
 us someone will be able to assist you.

 Regards
 David Grugeon


 On 10 February 2013 15:01, black panther prajakt.pa...@gmail.comwrote:

 Dear Team,

 Please help in this.

 On Thursday, February 7, 2013 2:07:08 PM UTC+4, black panther wrote:

 Dear Team,

 *I know this is a excel group.*

 But still i want to ask if any *one knows how to download add-ins
 for microsoft word.*

 my question is:-

 After entering number it should be convert into text.

 For example 123 (one hundred twenty three dollars only)

 Aayushji:- please don't block me

 Thanks  regards,
 Prajakt Pande

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles

Re: $$Excel-Macros$$ Re: Relating add-ins in word

2013-02-10 Thread David Grugeon
I tried it and it works fine.  After it is installed you have to close word
(and possibly outlook because that has word as its editor) and reopen word.
 Then type a number, select it, and right click.  You should get a window
with the words and some options and buttons.  If you click the right green
square, it inserts the text after the number.

Regards
David Grugeon


On 10 February 2013 21:51, Prajakt Pande prajakt.pa...@gmail.com wrote:

 I tried this also but doesn't work.




 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 3:30 PM, David Grugeon da...@grugeon.com.auwrote:

 It looks as though you right click on the number and then click spell
 Number

 Regards
 David Grugeon


 On 10 February 2013 21:10, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 I install but i didn't understand following sentence.

 Do not forget! The ''SpellNumber'' command will be available on document
 Mouse Rigth-click Menu when you restart the Word.


 please help me



 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 2:34 PM, David Grugeon da...@grugeon.com.auwrote:

 Hi Prajakt Pande

 Go to this web link and download.the com add-in

 http://cpap.com.br/orlando/WordSpellNumberMore.asp?IdC=OMKtPlc

 If you have problems with it let us know and we will try to help.

 Regards
 David Grugeon


 On 10 February 2013 19:59, Prajakt Pande prajakt.pa...@gmail.comwrote:

 Dear David,

 Thanks for your e-mail,

 Yes i am working on office 2010, and i am trying to convert amount in
 words by keyboard stork, currency will be USD (with Sign), AED (dherams),
 GBP (Pounds), EURO etc.

 I searched in Microsoft office web site but i failed to get the
 add-ins.

 Attached word file for your reference,

 I apologies for giving less information.

 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 11:09 AM, David Grugeon 
 da...@grugeon.com.auwrote:

 As you indicate this is not an appropriate place to post your
 questions.

 The answer to your first question is Yes, Someone does know how to
 download addins for Microsoft Word.

 Do you have a particular issue in relation to this?  If so please
 supply details such as what addin you are trying to install.  Where it is
 located, what you have tried, what went wrong, what version of word and
 operating system you are using.  Then we may be able to help further.

 With regard to your second question, I need to make sure I have it
 right.

 You want to enter a number in word and have the number followed by
 the relevant words in parentheses.  You want the words dollars only 
 added
 to the end of the number even though you have not prefixed it by a dollar
 sign.

 How do you want this operation to be triggered?  Do you want it to be
 triggered by a particular keystroke, if so what one?  Ctrl and a letter
 would be easiest.  or do you want it to happen every time you type some
 digits followed by a space.

 If you intend to put a dollar sign before the number it might be
 possible to use this as a primary trigger with a space indicating the end
 of the numeric sequence.

 Will it only apply to integers or will the numbers possibly contain a
 decimal point?  Will there be negative numbers?  If so how do you want to
 deal with them?

 Be aware that if the macro operates on any sequence of digits
 followed by a space, it will change

 17 June 2013 into 17(seventeen dollars only) June 2013

 If you give some more though to exactly what you want aqnd get back
 to us someone will be able to assist you.

 Regards
 David Grugeon


 On 10 February 2013 15:01, black panther prajakt.pa...@gmail.comwrote:

 Dear Team,

 Please help in this.

 On Thursday, February 7, 2013 2:07:08 PM UTC+4, black panther wrote:

 Dear Team,

 *I know this is a excel group.*

 But still i want to ask if any *one knows how to download add-ins
 for microsoft word.*

 my question is:-

 After entering number it should be convert into text.

 For example 123 (one hundred twenty three dollars only)

 Aayushji:- please don't block me

 Thanks  regards,
 Prajakt Pande

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like
 Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
 Advice will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed

Re: $$Excel-Macros$$ Database sort (copy from one sheet to another sheet in different order)

2013-02-10 Thread David Grugeon
Hi Joseph
It is certainly possible.  I don't really have the time to do it right now.
 I am very busy at work but someone else may be able to help.

On Sunday, 10 February 2013, joseph camill wrote:

 can I get the same in vba


 On Sun, Feb 10, 2013 at 5:18 AM, David Grugeon 
 da...@grugeon.com.aujavascript:_e({}, 'cvml', 'da...@grugeon.com.au');
  wrote:

 Hi Joseph

 Please find attached a solution.  (Sheet - Output)

 It uses helper columns and rows which you can hide.

 To add another region just copy a complete region block (for example A3
 to L18 and paste it where you want it.Then change the region name to *
 Exactly* match the region name in Raw data.  I would use copy and paste.

 If the names change you will need to change them manually in the header
 for each region. whatever the name is will pick up the data for that person
 in the region.  This allows you to have different people in each region if
 you need this later.

 I hope this does what you want.

 Regards
 David Grugeon


 On 1 February 2013 14:26, joseph camill 
 joseph.cam...@gmail.comjavascript:_e({}, 'cvml', 
 'joseph.cam...@gmail.com');
  wrote:


  
 database.xlsxhttps://docs.google.com/file/d/0B3PqgZIh0KQSMnhNY3RLWVRDcW8/edit

 Hi,

 Attached is the excel, for which I need some help.

 I want to paste data from one sheet to another sheet in a different
 view. I need this to be coded in vba as this is just a sample and my file
 is much larger than this one.

 Thanks,
 Joseph

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.comjavascript:_e({}, 
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');
 .
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel


 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any

Re: $$Excel-Macros$$ Re: Relating add-ins in word

2013-02-10 Thread David Grugeon
There is some actual vba code
 On the MS website at
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q213360

Te page has instructions how to use it.  Hope this works for you.

On Monday, 11 February 2013, Prajakt Pande wrote:

 Any other option, our IT department not approving this EXE file. as per
 company policy.

 Please help. if it is keyboard shortcut it will be very good.

 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 4:29 PM, David Grugeon da...@grugeon.com.auwrote:

 I tried it and it works fine.  After it is installed you have to close
 word (and possibly outlook because that has word as its editor) and reopen
 word.  Then type a number, select it, and right click.  You should get a
 window with the words and some options and buttons.  If you click the right
 green square, it inserts the text after the number.

 Regards
 David Grugeon


 On 10 February 2013 21:51, Prajakt Pande prajakt.pa...@gmail.com wrote:

 I tried this also but doesn't work.




 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 3:30 PM, David Grugeon da...@grugeon.com.auwrote:

 It looks as though you right click on the number and then click spell
 Number

 Regards
 David Grugeon


 On 10 February 2013 21:10, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 I install but i didn't understand following sentence.

 Do not forget! The ''SpellNumber'' command will be available on document
 Mouse Rigth-click Menu when you restart the Word.


 please help me



 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 2:34 PM, David Grugeon da...@grugeon.com.auwrote:

 Hi Prajakt Pande

 Go to this web link and download.the com add-in

 http://cpap.com.br/orlando/WordSpellNumberMore.asp?IdC=OMKtPlc

 If you have problems with it let us know and we will try to help.

 Regards
 David Grugeon


 On 10 February 2013 19:59, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 Thanks for your e-mail,

 Yes i am working on office 2010, and i am trying to convert amount in
 words by keyboard stork, currency will be USD (with Sign), AED (dherams),
 GBP (Pounds), EURO etc.

 I searched in Microsoft office web site but i failed to get the add-ins.

 Attached word file for your reference,

 I apologies for giving less information.



-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Re: Relating add-ins in word

2013-02-10 Thread David Grugeon
Sorry. Try this then

https://groups.google.com/forum/m/?fromgroups#!msg/microsoft.public.word.vba.beginners/5s4yqyZJ610/3sSGE9nJPr0J.
That group seems more suitable for you needs anyhow.

On Monday, 11 February 2013, Prajakt Pande wrote:

 This is for EXCEL but i am looking for word.

 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Mon, Feb 11, 2013 at 11:28 AM, David Grugeon 
 da...@grugeon.com.aujavascript:_e({}, 'cvml', 'da...@grugeon.com.au');
  wrote:

 There is some actual vba code
  On the MS website at
 http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q213360

 Te page has instructions how to use it.  Hope this works for you.

 On Monday, 11 February 2013, Prajakt Pande wrote:

 Any other option, our IT department not approving this EXE file. as per
 company policy.

 Please help. if it is keyboard shortcut it will be very good.

 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 4:29 PM, David Grugeon da...@grugeon.com.auwrote:

 I tried it and it works fine.  After it is installed you have to close
 word (and possibly outlook because that has word as its editor) and reopen
 word.  Then type a number, select it, and right click.  You should get a
 window with the words and some options and buttons.  If you click the right
 green square, it inserts the text after the number.

 Regards
 David Grugeon


 On 10 February 2013 21:51, Prajakt Pande prajakt.pa...@gmail.com wrote:

 I tried this also but doesn't work.




 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 3:30 PM, David Grugeon da...@grugeon.com.auwrote:

 It looks as though you right click on the number and then click spell
 Number

 Regards
 David Grugeon


 On 10 February 2013 21:10, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 I install but i didn't understand following sentence.

 Do not forget! The ''SpellNumber'' command will be available on document
 Mouse Rigth-click Menu when you restart the Word.


 please help me



 Thanks  Regards,
 Prajakt Pande
 +971551388482
 **


 On Sun, Feb 10, 2013 at 2:34 PM, David Grugeon da...@grugeon.com.auwrote:

 Hi Prajakt Pande

 Go to this web link and download.the com add-in

 http://cpap.com.br/orlando/WordSpellNumberMore.asp?IdC=OMKtPlc

 If you have problems with it let us know and we will try to help.

 Regards
 David Grugeon


 On 10 February 2013 19:59, Prajakt Pande prajakt.pa...@gmail.com wrote:

 Dear David,

 Thanks for your e-mail,

 Yes i am working on office 2010, and i am trying to convert amount in
 words by keyboard stork, currency will be USD (with Sign), AED (dherams),
 GBP (Pounds), EU

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe

Re: $$Excel-Macros$$ Database sort (copy from one sheet to another sheet in different order)

2013-02-09 Thread David Grugeon
Hi Joseph

Please find attached a solution.  (Sheet - Output)

It uses helper columns and rows which you can hide.

To add another region just copy a complete region block (for example A3 to
L18 and paste it where you want it.Then change the region name to
*Exactly* match
the region name in Raw data.  I would use copy and paste.

If the names change you will need to change them manually in the header for
each region. whatever the name is will pick up the data for that person in
the region.  This allows you to have different people in each region if you
need this later.

I hope this does what you want.

Regards
David Grugeon


On 1 February 2013 14:26, joseph camill joseph.cam...@gmail.com wrote:


  
 database.xlsxhttps://docs.google.com/file/d/0B3PqgZIh0KQSMnhNY3RLWVRDcW8/edit

 Hi,

 Attached is the excel, for which I need some help.

 I want to paste data from one sheet to another sheet in a different view.
 I need this to be coded in vba as this is just a sample and my file is much
 larger than this one.

 Thanks,
 Joseph

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Joseph Database.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Re: Relating add-ins in word

2013-02-09 Thread David Grugeon
As you indicate this is not an appropriate place to post your questions.

The answer to your first question is Yes, Someone does know how to
download addins for Microsoft Word.

Do you have a particular issue in relation to this?  If so please supply
details such as what addin you are trying to install.  Where it is located,
what you have tried, what went wrong, what version of word and operating
system you are using.  Then we may be able to help further.

With regard to your second question, I need to make sure I have it right.

You want to enter a number in word and have the number followed by the
relevant words in parentheses.  You want the words dollars only added to
the end of the number even though you have not prefixed it by a dollar sign.

How do you want this operation to be triggered?  Do you want it to be
triggered by a particular keystroke, if so what one?  Ctrl and a letter
would be easiest.  or do you want it to happen every time you type some
digits followed by a space.

If you intend to put a dollar sign before the number it might be possible
to use this as a primary trigger with a space indicating the end of the
numeric sequence.

Will it only apply to integers or will the numbers possibly contain a
decimal point?  Will there be negative numbers?  If so how do you want to
deal with them?

Be aware that if the macro operates on any sequence of digits followed by a
space, it will change

17 June 2013 into 17(seventeen dollars only) June 2013

If you give some more though to exactly what you want aqnd get back to us
someone will be able to assist you.

Regards
David Grugeon


On 10 February 2013 15:01, black panther prajakt.pa...@gmail.com wrote:

 Dear Team,

 Please help in this.

 On Thursday, February 7, 2013 2:07:08 PM UTC+4, black panther wrote:

 Dear Team,

 *I know this is a excel group.*

 But still i want to ask if any *one knows how to download add-ins for
 microsoft word.*

 my question is:-

 After entering number it should be convert into text.

 For example 123 (one hundred twenty three dollars only)

 Aayushji:- please don't block me

 Thanks  regards,
 Prajakt Pande

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ VBA Question: Is x and y possible to macro?.......

2013-02-07 Thread David Grugeon
I agree with Paul in most respects.

I would do one macro which does all 3 things.

I would start from the top rather than from the bottom because the macro
would be accumulating the two subtotals as it ran and then inserting the
two rows, colouring them and populating them.

I am assuming that the data for the subtotals is in specific columns in the
rows for that mobile no.

Starting from the top might mean you need to put an indicator in the row
following the last row and test for that using a while loop

*It would be helpful to know what further processing you are planning to do
on this sheet* as it may influence the ways some of the cells are filled.
 For example if you are planning to insert further item rows into the sheet
it would be helpful to use subtotal formulas for the  - er subtotals,
rather than numbers so they can update and the column can be added without
including these items.




Regards
David Grugeon


On 7 February 2013 23:14, FreeRangeJ jsgilchr...@gmail.com wrote:

 I'm building a template for processing supplier billing data with the
 corresponding process documentation for someone else to use the template on
 a monthly basis.

 It's based on mobile phone numbers and the supplier information has
 multiple rows against any one mobile number, but against700 to 1200
 individual mobile numbers in any one billing cycle so manual intervention
 just takes too much staf time.

 I want to know, firstly, if the things i want to automate are possible
 with Macro's, these being:

 *Macro1:  *With the worksheet sorted based on the mobile phone number
 column, i want to run a macro to insert 2 blank rows after every group of
 rows that are for one mobile number, so say the mobile number is held in
 column K, as soon as the value in that column changes (i.e. changes to the
 next mobile number) insert 2 blank rows, preferable the first new row being
 filled in one colour and the second in another, but colouring is not too
 important.

 Would it also be possible, to have this first Macro, or maybe another one
 to run next, to autopopulate the new rows based on the data in the rows
 above, except the two financial columns, and for the 2 date columns, to use
 the earliest date in one column and the latest date in the other?

 *Macro2:  *The source data contains charges against, say for example, 12
 charge types, i want to add all the charges against say 8 of the 12 charge
 types and have this total in the first of the two inserted (maybe coloured
 in) rows, for every grouping of data against the same monile number

 *Macro3:  *To add up the other, for example, 4 of the 12 charge types and
 have this total in the second of the inserted rows, again, for each
 grouping of data against the same monile number.

 Obviously these will take some working out, but at this stage i just want
 to know that i;m right in thinking that these activities are possible to
 automate with VBA Macros?

 Thanks for taking the time to read this and hopefully steer me in the
 right direction!

 Jason

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't

Re: $$Excel-Macros$$ Macro to copy data within excel into tables in a word document

2013-02-04 Thread David Grugeon
I think you need to make the document a mail merge in word so it pulls the
data from the spreadsheet rather than trying to push it with vba

On Tuesday, 5 February 2013, DP wrote:

 Need help creating a macro to copy product codes from the cells in the
 Excel sheet (attached) to the Word doc (attached)?

 I found a similar post here

 http://www.excelforum.com/excel-prog...-document.htmlhttp://www.excelforum.com/excel-programming-vba-macros/715463-macro-to-copy-data-within-excel-into-tables-in-a-word-document.html

 Willing to pay for a macro that can copy hundreds or even thousands of
 cells to the Word template with just a few clicks.

 Thanks,
 DP

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'excel-macros%2bunsubscr...@googlegroups.com');.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Macro to copy data within excel into tables in a word document

2013-02-04 Thread David Grugeon
No

Your request was to copy product codes from the excel cells to the word doc.

Regards
David Grugeon


On 5 February 2013 10:19, harneetsingh2...@gmail.com wrote:

 **
 Can we pull excel tables, charts and smart art diagram using mail merge!!

 Looking for some advice
 Thanks
 Harneet
 Sent on my BlackBerry® from Vodafone
 --
 *From: * David Grugeon da...@grugeon.com.au
 *Sender: * excel-macros@googlegroups.com
 *Date: *Tue, 5 Feb 2013 07:44:34 +1000
 *To: *excel-macros@googlegroups.comexcel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ Macro to copy data within excel into
 tables in a word document

 I think you need to make the document a mail merge in word so it pulls the
 data from the spreadsheet rather than trying to push it with vba

 On Tuesday, 5 February 2013, DP wrote:

 Need help creating a macro to copy product codes from the cells in the
 Excel sheet (attached) to the Word doc (attached)?

 I found a similar post here

 http://www.excelforum.com/excel-prog...-document.htmlhttp://www.excelforum.com/excel-programming-vba-macros/715463-macro-to-copy-data-within-excel-into-tables-in-a-word-document.html

 Willing to pay for a macro that can copy hundreds or even thousands of
 cells to the Word template with just a few clicks.

 Thanks,
 DP

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





 --
 Regards
 David Grugeon

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email

Re: $$Excel-Macros$$ Unhide some sheets starting from a specific sheet number

2013-02-03 Thread David Grugeon
Untested air code

Dim sh as worksheet
For sh = 7 to sheets.count
Sheets(Sh).visible= true
Next sh


On Sunday, 3 February 2013, wrote:

 Hello experts

 Assuimg I have 10 sheets in a workbook. And I want to unhide the 7th sheet
 up to the last sheet Kindly help with vba code to do that. So technically
 every sheet from the first sheet Ȋ̝̊̅§ hidden. Any sheet that Ȋ̝̊̅§ after
 the 10th sheet shd bE unhidden. Thnks
 Sent from my BlackBerry® smartphone from Airtel Ghana

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com javascript:;.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:;
 .
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Regards
David Grugeon

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ undo macro

2013-02-02 Thread David Grugeon
Running any macro always clears the list of changes so that after you run
the macro you cannot go back and undo changes before it ran, or the changes
made by the macro.

You are running the macro every time you change the active cell (selection)
on the worksheet, so although the macro itself does not do any changes you
are likely to want to undo, just running it (e.g. by pressing enter, after
entering a value in a cell and therefore changing to the cell below will
wipe out the ability to change - this will happen even if the target is not
in the Range(B23:HH400).

You have a couple of options depending on the size of your workbook, and
what it does.  One would be to use another event to trigger your macro
which means it will not run so often.  Another, which is likely to be
impractical, would be to back up the workbook each time the macro ran so
you could go back to a previous version if your changes were incorrect.
 Like i said it all depends on what you are doing.  You may be able to find
another trigger to back up the workbook.  Saving a whole workbook every
time you change the selection seems like overkill.

There may be an API call which can access the undo stack, save it
somewhere, and then restore it, but I suspect that is not possible.

Regards
David Grugeon


On 2 February 2013 15:56, pawel lupinski lupins...@yahoo.com wrote:

 Hi All,
 I've macro like:

 Private Sub Worksheet_SelectionChange(ByVal Target As Range)
 If Not Intersect(Target, Range(B23:HH400)) Is Nothing Then
 ActiveWorkbook.Names(ActiveRow).RefersTo = =  ActiveCell.Row
 End If
 End Sub

 unfortunately I can't undo any changes. Is the anyway I can undo changes
 that I will do in cells?

 Regards,
 Pawel

  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Database sort (copy from one sheet to another sheet in different order)

2013-02-02 Thread David Grugeon
Hi Joseph

There are a number of possible approaches to this.  My preference would be
not to do it with VBA but with formulae.

The reason is that the formulae would be easy to maintain, and easier to
write than the VBA.

However there are some questions for you before I can propose an exact
solution.

1)

Regards
David Grugeon


On 3 February 2013 16:43, joseph.cam...@gmail.com wrote:

 **
 Does anyone in the group does not have solution to check its row heading
 and column heading and paste the data.

 Sent on my BlackBerry® from Vodafone
 --
 *From: * joseph.cam...@gmail.com
 *Date: *Fri, 1 Feb 2013 15:54:50 +
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * joseph.cam...@gmail.com
 *Subject: *Re: $$Excel-Macros$$ Database sort (copy from one sheet to
 another sheet in different order)

 Any solution friends.

 Sent on my BlackBerry® from Vodafone
 --
 *From: * joseph camill joseph.cam...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Fri, 1 Feb 2013 09:56:08 +0530
 *To: *excel-macros@googlegroups.comexcel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Database sort (copy from one sheet to another
 sheet in different order)


  
 database.xlsxhttps://docs.google.com/file/d/0B3PqgZIh0KQSMnhNY3RLWVRDcW8/edit

 Hi,

 Attached is the excel, for which I need some help.

 I want to paste data from one sheet to another sheet in a different view.
 I need this to be coded in vba as this is just a sample and my file is much
 larger than this one.

 Thanks,
 Joseph

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel


 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving

Re: $$Excel-Macros$$ Database sort (copy from one sheet to another sheet in different order)

2013-02-02 Thread David Grugeon
Continuation of reply

1) Are the names always in the same order in the input?  Do they change
from period to period or from region to region?
2) Are the names for the report always to be in the same order (different
from the input order)?
3) Are the item descriptions for the report always to be a 1 for 1 match
with the input descriptions (although in a different order)?
4) are you going to want to do any arithmetic within the report or is it
just a case of reordering the input for each region?


Regards
David Grugeon


On 3 February 2013 17:01, David Grugeon da...@grugeon.com.au wrote:

 Hi Joseph

 There are a number of possible approaches to this.  My preference would be
 not to do it with VBA but with formulae.

 The reason is that the formulae would be easy to maintain, and easier to
 write than the VBA.

 However there are some questions for you before I can propose an exact
 solution.

 1)

 Regards
 David Grugeon


 On 3 February 2013 16:43, joseph.cam...@gmail.com wrote:

 **
 Does anyone in the group does not have solution to check its row heading
 and column heading and paste the data.

 Sent on my BlackBerry® from Vodafone
 --
 *From: * joseph.cam...@gmail.com
 *Date: *Fri, 1 Feb 2013 15:54:50 +
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * joseph.cam...@gmail.com
 *Subject: *Re: $$Excel-Macros$$ Database sort (copy from one sheet to
 another sheet in different order)

 Any solution friends.

 Sent on my BlackBerry® from Vodafone
 --
 *From: * joseph camill joseph.cam...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Fri, 1 Feb 2013 09:56:08 +0530
 *To: *excel-macros@googlegroups.comexcel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Database sort (copy from one sheet to
 another sheet in different order)


  
 database.xlsxhttps://docs.google.com/file/d/0B3PqgZIh0KQSMnhNY3RLWVRDcW8/edit

 Hi,

 Attached is the excel, for which I need some help.

 I want to paste data from one sheet to another sheet in a different view.
 I need this to be coded in vba as this is just a sample and my file is much
 larger than this one.

 Thanks,
 Joseph

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel


 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice

Re: $$Excel-Macros$$ How to assign date to a variable in a cell

2013-01-31 Thread David Grugeon
Hi Santhosh

the Where expression is not an assignment expression, nore is it a cell
formula.  It is a filter clause from a sql statement or other database
command.

If you want the current date in a cell the formula is =Today()

If you are running a VBA procedure and you want to put today's date in a
cell but do not want it to update in the future you use something like

ws.cells(1,1)=Today()

If you are using VBA and want to assign todays date to a variable you use

ImportDate= Today()

If none of these options are what you want please describe what you are
doing a bit more fully.


Regards
David Grugeon


On 1 February 2013 04:27, santhosh qatester santhosh.qat...@gmail.comwrote:

 Hi,

   I have the value as below in one cell which should assign the
 Today's date to particular value

   WHERE( ImportDate= Today())

 How to assign today's date to the variable above?

 Thanks,
 Santhosh

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Certification

2013-01-31 Thread David Grugeon
There are Microsoft office specialist exams in each product in office.  You
can just do the excel one.  It is not an online exam but is conducted in
various centres.  See the Microsoft website for details.

Regards
David Grugeon


On 1 February 2013 00:58, Manjunath Narayanappa 
manjunath.narayana...@aon.co.uk wrote:

  Dear Team,



 Is there any online excel exam to get certified.



 Thanks

 Manjunath

 --

 PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL



 For Aon’s standard conditions associated with this e-mail please visit
 http://www.aon.com/uk/en/email-footer/aon-uk-limited.jsp

 Aon UK Limited

 Registered Office: 8 Devonshire Square, London EC2M 4PL

 Registered in London No. 210725 . VAT Registration No. 480 8401 48



 Aon UK Limited is authorised and regulated by the Financial Services
 Authority in respect of insurance mediation activities only.

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ .Net - Dot Net

2013-01-30 Thread David Grugeon
Put

Learn . net


into Google and you will get about 74 million possibles

Regards
David Grugeon


On 30 January 2013 17:52, hanumant shinde arsfan2...@yahoo.co.in wrote:

 Hi friends,

 i dont know ANYTHING about .net. and now want to learn it does anybody
 know how shud i start with it.
 Any site or ebook for beginners.

 i am sorry this is off the track.

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Oracle 11.2 client problem with timestamp object

2013-01-30 Thread David Grugeon
Hi Paul

You are probably well past this by now but I only just got your reply.

I have never worked with Oracle so I don't have the specific knowledge.
 However:

My logic was that the dynaset is a collection of collections.  It is a
collection of records and the records are a collection of fields.

to my mind the Dynaset(FileDate) may be ambiguous.  It may be looking for
a Filedate Record in the records collection or it may be looking for a
field in the current record.  I know generally a dynaset tries to work with
the current record but I always prefer to overspecify if there is any doubt
(or things don't work).

It looked a bit like saying x=worksheet(Sheet1).value to me.

Anyhow it looks like a minor change has caused you some recoding.  Good
luck!

Regards
David Grugeon

Regards
David Grugeon


On 29 January 2013 07:06, Paul Schreiner schreiner_p...@att.net wrote:

 David,

 thanks!
 literally 5 minutes ago, I came across a posting on Oracle's forum
 where a user recommended using:

 TDate = Dynaset(filedate).Value.ToDate

 which worked.
 It's odd that the timestamp field type came out in v9.2 (I think)
 and = Dynaset(filedate).Value worked in v10i, but now does not in
 v11.2...

 I THINK it may be an issue with the fact that they've incorporated
 a Time Zone portion with the TimeStamp field type.

 Your solution is interesting though.
 it actually returns a class object.

 Where the DB value was 31-Mar-1999 12:00:00 AM
 tDate = Dynaset.fields(filedate) returned:

 TDate.Day: Long: 31
 TDate.format : String: DD-MON-RR HH.MI.SSXFF AM
 TDate.Hour   : Long: 0
 TDate.Minute : Long: 0
 TDate.Month  : Long: 3
 TDate.Nanosecond : Long: 0
 TDate.Second : Long: 0
 TDate.Value  : String : 31-MAR-99 12.00.00.0 AM
 TDate.Year   : Long: 1999

 in which case TDate.Value is a valid value of: 31-MAR-99
 12.00.00.0 AM
 but tStr = Dynaset(FileDate).Value
 returned an error.
 very curious...

 and the possibilities...

 much to think about...
 AFTER I search through 80,000 lines of code and find where I may be
 referencing a timestamp field...
 (sigh)

 thanks for your help!


 *Paul*

 -
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-


  --
 *From:* David Grugeon da...@grugeon.com.au
 *To:* excel-macros@googlegroups.com excel-macros@googlegroups.com
 *Sent:* Mon, January 28, 2013 3:07:29 PM
 *Subject:* Re: $$Excel-Macros$$ Oracle 11.2 client problem with timestamp
 object

 Hi Paul
 Try

 Dynaset.fields(filedate)

 On Tuesday, 29 January 2013, Paul Schreiner wrote:

 I recently had my computer upgraded.
 My old computer (which I still can switch to) had the Oracle 9.2 client
 installed.
 I have an Oracle table that looks like this:
  Name Type
  --- 
  ARCHNAMEVARCHAR2(17)
  FILEDATETIMESTAMP(6)
  FILESIZENUMBER(10)
  FILENAMEVARCHAR2(200)
  FULLNAMEVARCHAR2(500)
  UPPERNAME   VARCHAR2(500)
  COMMITARVARCHAR2(4)

 A snippet of my code looks like:

 Set OraSession = CreateObject(OracleInProcServer.XOraSession)
 Set OraDatabase = OraSession.OpenDatabase(PMFD, userid/password,
 1)

 SQLStmt = Select filedate from mfgdesowner.find_files where uppername
 like '%1509423%' 

 Set Dynaset = OraDatabase.DbCreateDynaset(SQLstmt, 0)
 If (Dynaset.RecordCount  0) Then
 For I = 1 To Dynaset.RecordCount
 RepCnt = RepCnt + 1
 Debug.Print Dynaset(filedate).Value
 Dynaset.Movenext
Next I
Endif

 But, I get an error or the Dynaset(filedate).Value statement.
 Specifically:

 438: Object doesn't support this property or method

 and it throws me out of the function.

 The code has run for many, many years.

 Well... technically, the table USED to have separate date/time fields.

 When Oracle came out with the TimeStamp field, I redesigned my
 applications to make use of it.

 Has anyone experienced this problem and know how to fix it?

 thank you!

 Paul


 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you

Re: $$Excel-Macros$$ Need Help to Prepare the dashboard

2013-01-28 Thread David Grugeon
I really don't understand what you want.  Please attac a dashboard sheet
like you want it with the relevant column headings and the data for at
least 2 of the rows

On Tuesday, 29 January 2013, Pankaj Singh wrote:

  Dear All,

 Hope you will be well. here is attached the excel workbook Stock Count
  Report.xls.in this work book has many sheet as by people name, i want to
  developed dashboard by showing data by each people of his outlets and each
  day  as of brand wise and summary per people sheet name.
  please help me solve this problem.if any query please let me know.


  Regards
  Pankaj kumar

 On 1/26/13, Pankaj Singh pankajpepsic...@gmail.com javascript:; wrote:
  Dear All,
 
  Hope you will be well. here is attached the excel workbook Stock Count
  Report.xls.in this work book has many sheet as by people name, i want to
  developed dashboard by showing data by each people of his outlets and
 each
  day  as of brand wise and summary per people sheet name.
  please help me solve this problem.if any query please let me know.
 
 
  Regards
  Pankaj kumar
 
  --
  Join official Facebook page of this forum @
  https://www.facebook.com/discussexcel
 
  FORUM RULES
 
  1) Use concise, accurate thread titles. Poor thread titles, like Please
  Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will
  not get quick attention or may not be answered.
  2) Don't post a question in the thread of another member.
  3) Don't post questions regarding breaking or bypassing any security
  measure.
  4) Acknowledge the responses you receive, good or bad.
  5) Jobs posting is not allowed.
  6) Sharing copyrighted material and their links is not allowed.
 
  NOTE  : Don't ever post confidential data in a workbook. Forum owners and
  members are not responsible for any loss.
  ---
  You received this message because you are subscribed to the Google Groups
  MS EXCEL AND VBA MACROS group.
  To post to this group, send email to 
  excel-macros@googlegroups.comjavascript:;
 .
  To unsubscribe from this group, send email to
  excel-macros+unsubscr...@googlegroups.com javascript:;.
  Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 
 

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE  : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:;
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:;.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Regards
David Grugeon

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Oracle 11.2 client problem with timestamp object

2013-01-28 Thread David Grugeon
Hi Paul
Try

Dynaset.fields(filedate)

On Tuesday, 29 January 2013, Paul Schreiner wrote:

 I recently had my computer upgraded.
 My old computer (which I still can switch to) had the Oracle 9.2 client
 installed.
 I have an Oracle table that looks like this:
  Name Type
  --- 
  ARCHNAMEVARCHAR2(17)
  FILEDATETIMESTAMP(6)
  FILESIZENUMBER(10)
  FILENAMEVARCHAR2(200)
  FULLNAMEVARCHAR2(500)
  UPPERNAME   VARCHAR2(500)
  COMMITARVARCHAR2(4)

 A snippet of my code looks like:

 Set OraSession = CreateObject(OracleInProcServer.XOraSession)
 Set OraDatabase = OraSession.OpenDatabase(PMFD, userid/password,
 1)

 SQLStmt = Select filedate from mfgdesowner.find_files where uppername
 like '%1509423%' 

 Set Dynaset = OraDatabase.DbCreateDynaset(SQLstmt, 0)
 If (Dynaset.RecordCount  0) Then
 For I = 1 To Dynaset.RecordCount
 RepCnt = RepCnt + 1
 Debug.Print Dynaset(filedate).Value
 Dynaset.Movenext
Next I
Endif

 But, I get an error or the Dynaset(filedate).Value statement.
 Specifically:

 438: Object doesn't support this property or method

 and it throws me out of the function.

 The code has run for many, many years.

 Well... technically, the table USED to have separate date/time fields.

 When Oracle came out with the TimeStamp field, I redesigned my
 applications to make use of it.

 Has anyone experienced this problem and know how to fix it?

 thank you!

 Paul


 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Regards
David Grugeon

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Excel.Application throwing an error no. 48

2013-01-28 Thread David Grugeon
Check on that machine that the reference to Excel is ticked.

Check that Excel or office is installed on that machine.


Regards
David Grugeon


On 29 January 2013 05:19, hanumant shinde arsfan2...@yahoo.co.in wrote:

 Hello Friends,

 set xyz = new Excel.Application

 I am getting error no. 48 (Error in loading DLL) for above code on one of
 the machines whereas on other machines code is running fine.

 can you guys please help me how can i resolve this issue.


  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ MS Excel, VBA and Windows Scheduler

2013-01-28 Thread David Grugeon
Hi Richard

I suppose you are trying to say that, although the workbook opens, it does
not do whatever the macro should do.  Could this be because it is running
in the scheduler's workspace, which does not have access to your workspace.
 you may need to get scheduler to run it using either your logon or else
gicve the scheduler logon access to all the resources needed.

You probably have set up a user for the Scheduler.  Try logging on as that
user and then open the file and test the macro.

Regards
David Grugeon


On 29 January 2013 09:49, Richard richard.m...@gmail.com wrote:

 I have a workbook which has a VBA script in the thisworkbook called sub
 workbook_open.  When I open the workbook, it runs perfectly, and does
 exactly what I want it to do.
 If I try to schedule it to run at 5PM everyday, Windows Scheduler will
 show that the job is running, and I know that the workbook is open because
 if I try to open the workbook in Excel I get a message that says that it
 can only be opened in read only since it is in use by my login ID on the
 scheduler.
 It eventually is killed by the scheduler when it exceeds the amount of
 time allowed (it takes under in minute to process manually, and the timeout
 if 10 minutes.  The scheduler log doesn't show any errors except that it
 was stopped for exceeding the timeout.
 Any thoughts would be appreciates.  I have other workbooks that work
 perfectly under Excel
 Thanks in advance,
 Rich Mogy

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Any one help to solve the Test

2013-01-18 Thread David Grugeon
To encourage people to assist you, please do as follows:

Use a meaningful subject line which identifies the nature of the problem .
Explain the problem in detail in the body of the email.  Identify what you
have tried, what you wanted it to do and what it actually did.
Attach a sample file (You already did this).

On Friday, 18 January 2013, Pankaj Singh wrote:

 Dear Team,

 Can any one to help to solve the attached test sheet.


 On Tue, Jan 15, 2013 at 9:50 PM, Pankaj Singh 
 pankajpepsic...@gmail.comjavascript:_e({}, 'cvml', 
 'pankajpepsic...@gmail.com');
  wrote:

 Dear Team,


 Kidly help so sole the test sheet.


 Thanks
 pankaj kumar

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.




  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.





-- 
Regards
David Grugeon

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ VBA code to sort all worksheet tabs alphabetically, except some.

2013-01-18 Thread David Grugeon
Put the four sheets at the beginning of the workbook and change the for x
=1to worksheets.count. To for x = 5 to worksheets.count

On Friday, 18 January 2013, Yahya Muhammad wrote:

 Dear Experts

 I have a workbook with a no. of worksheets. New worksheets are being added
 to it regularly. I am using below code to sort the worksheets after the
 addition of any new sheets. Now I need your help to modify this code so
 that it will keep some of the sheets (say named Summary, Profile,
 Help, Targets) unaltered:

 1. At the beginning of the workbook OR
 2. At the end of the work book.

 Thanks in advance

 Sub Sortem()

 Dim x As Long, y As Long

 For x = 1 To Worksheets.Count

 For y = x To Worksheets.Count



 If UCase(Sheets(y).Name)  UCase(Sheets(x).Name) Then

   Sheets(y).Move Before:=Sheets(x)

  End If

 Next

 Next

 End Sub

  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.





-- 
Regards
David Grugeon

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Re: Excel Query

2013-01-13 Thread David Grugeon
Hi Vikram

Is it only the particular value 125 that gets changed?  For example if you
put 124, does that become 224?

Does this problem arise on every workbook on the system?

Does it arise in other program's or only in excel?


On Monday, 14 January 2013, venus wrote:

 Hi,

 I am not getting this error with any particular error but this is
 happening on particular system.

 Regards,

 Vikram

 On Sun, Jan 13, 2013 at 6:20 PM, Prince 
 prince141...@gmail.comjavascript:_e({}, 'cvml', 'prince141...@gmail.com');
  wrote:

 Hi Vikram,

 Please Share your workbook.

 Regards
 Prince

 On Saturday, January 12, 2013 9:30:45 PM UTC+5:30, vic kumar wrote:

 Hi,

 I need some information regarding excel where in one of the
 instance whenever we input 125 and press enter we are getting 225 as result.

 We have tried a lot to identify reason for this query but not able get
 resolution.

 As a result user is not able to input 125 whenever required on excel
 sheet and we have tried to open new workbook as well but not able to clear
 with this query yet.

 Kindly help in this regard.

 --
 Regards,

 Vikram Ahuja

  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






 --
 Regards,

 Vikram Ahuja

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.





-- 
Regards
David Grugeon

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Re: Reason for delay in Filter

2012-12-23 Thread David Grugeon
Yes.  ThEre are general reasons.  One is using select rather than ranges,
another is not setting calculate to manual before running a complex macro,
and the third is not switching of screenUpdating while the macro is running.

On Sunday, 23 December 2012, hanumant shinde wrote:

 Hi guys,

 sorry but i cant share the workbook as its company workbook so i dont have
 it.

 are there general reasons which may cause the delay?
 like if there are lots of Vlookup and countif formulas on the sheet.


   --
 *From:* Prince prince141...@gmail.com javascript:_e({}, 'cvml',
 'prince141...@gmail.com');
 *To:* excel-macros@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros@googlegroups.com');
 *Cc:* hanumant shinde arsfan2...@yahoo.co.in javascript:_e({}, 'cvml',
 'arsfan2...@yahoo.co.in');
 *Sent:* Sunday, 23 December 2012 11:42 AM
 *Subject:* $$Excel-Macros$$ Re: Reason for delay in Filter

 Hi Prashant,

 Please share your workbook so that we diagnose the problem and can provide
 whatever best we can do.

 Regards
 Prince

 On Saturday, December 22, 2012 9:51:03 PM UTC+5:30, prashant shinde wrote:

 Hi Friends,

 Can somebody please tel me what are the reasons for delay in Autofilter
 code.
 We have a macro file where in one of the function we have used
 Selection.AutoFilter Field:=1, Criteria1:=a

 This code is executed thousand times and it takes almost 1.75 seconds to
 execute above line once. so the whole process takes lots of time.

 Can somebody please tell me how why is it happening.

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.




--
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to 
 excel-macros@googlegroups.comjavascript:_e({}, 'cvml', 
 'excel-macros@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'excel-macros%2bunsubscr...@googlegroups.com');.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.





-- 
Regards
David Grugeon

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com

Re: $$Excel-Macros$$ char code for SM (Service Mark)

2012-12-18 Thread David Grugeon
Seems to be 2120

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ char code for SM (Service Mark)

2012-12-18 Thread David Grugeon
Sorry - that is the hex unicode for the character.  I don't think CHAR()
does unicode.

Regards
David Grugeon



On 18 December 2012 22:48, David Grugeon da...@grugeon.com.au wrote:

 Seems to be 2120


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




  1   2   3   >