Re: $$Excel-Macros$$ Macro for formatting 2 columns in all the worksheets in a folder

2020-08-01 Thread alberto calderon
Earn money online

✔ Get 0.10€ per click
✔ Get 0.01€ per referral's click
✔ Instant payouts
✔ No minimum cashout
✔ Always daily advertisements
✔ Upgrade and earn up to 500% more
https://orbisbux.com/?ref=Vicenteb45

El sáb., 1 ago. 2020 3:50 a. m., rahimka...@gmail.com <
rahimkarim1...@gmail.com> escribió:

> Hi Team,
> I have number of files (more than 16 files) located in a folder "d:\abc"
> and I want to apply format like "0' (13 "0") to "CNIC" column
> and "00'" (14 "0" ) to "account nos" column on each file. the
> order or location of these column are not fixed in excel sheet. sample of
> excel file is attached.
>
> regards,
> Rehman Panjwani
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/excel-macros/cead9c5b-6e4d-444d-9771-b79015a0b754n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/excel-macros/CAKc1Xbk-GZUnUmiGtbwFP5NhuboGcZdyi44mokCN1wBVpXmoWQ%40mail.gmail.com.


Re: $$Excel-Macros$$ Macro for Auto delete workbook

2018-02-18 Thread Prabhu Pinky
can u share sample worksheet


Thanks & Regards,
Prabhu R

On 9 February 2018 at 11:17, Rajesh kumar  wrote:

> Need macro for auto delete workbook after given expiration date.
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-27 Thread Kishore P V K
That's cool.  Thanks for the update.

Regards
Kishore



On Thu, Jul 27, 2017 at 12:11 PM, Shrinivas Shevde 
wrote:

> Dear Sir
> Thanks for reply
> Problem got resolved.
>
> Regards
> Shrini
>
> On Wed, Jul 26, 2017 at 6:58 PM, Kishore P V K 
> wrote:
>
>> Hello Shrini
>>
>> Can you please explain more clearly about your required scenario?  I'm
>> trying to understand but did not get completely.
>>
>> Thanks
>> Kishore
>>
>> On Mon, Jul 24, 2017 at 2:36 PM, Shrinivas Shevde > > wrote:
>>
>>> Dear All
>>>
>>> I have a work book which contain many daywise sheet in which I maintain
>>> machinewise data.
>>> I have 20 machines all machines are not running daily so if machine is
>>> not running I hide that rows and machine running will be visible.
>>> There is down time for a machine having many reasons which are captured
>>> in different rows but the machine no and other in merge cell.
>>> Now I want to manke a single sheet where I will get all daywise data.
>>> See the attached file
>>> I tried it manually but it will take lot of time.
>>> Can Anyone will write macro.
>>> see "required output sheet"
>>>
>>>
>>>
>>> --
>>> 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 https://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> 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 

Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-27 Thread 'Keisha Fry' via MS EXCEL AND VBA MACROS


On Thu, 7/27/17, Shrinivas Shevde <shrinivas...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Copy Paste
 To: excel-macros@googlegroups.com
 Date: Thursday, July 27, 2017, 9:41 AM
 
 Dear
 SirThanks for replyProblem got
 resolved.
 RegardsShrini
 On Wed, Jul 26, 2017 at
 6:58 PM, Kishore P V K <kishore...@gmail.com>
 wrote:
 Hello Shrini
 Can
 you please explain more clearly about your required
 scenario?  I'm trying to understand but did not get
 completely.
 ThanksKishore
 On Mon, Jul 24, 2017
 at 2:36 PM, Shrinivas Shevde <shrinivas...@gmail.com>
 wrote:
 Dear All
 I have a work book which contain
 many daywise sheet in which I maintain machinewise
 data.I have 20 machines all machines are not
 running daily so if machine is not running I hide that rows
 and machine running will be visible.There is down
 time for a machine having many reasons which are captured in
 different rows but the machine no and other in merge
 cell.Now I want to manke a single sheet where I
 will get all daywise data.See the attached
 fileI tried it manually but it will take lot of
 time.Can Anyone will write macro.see
 "required output sheet"
 
 
 --
 
 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/discu
 ssexcel
 
  
 
 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+unsubscribe@googl
 egroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/grou
 p/excel-macros.
 
 For more options, visit https://groups.google.com/d/op
 tout.
 
 
 
 
 
 
 -- 
 
 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+unsubscribe@
 googlegroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/
 group/excel-macros.
 
 For more options, visit https://groups.google.com/d/
 optout.
 
 
 
 
 -- 
 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 emai

Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-27 Thread Shrinivas Shevde
Dear Sir
Thanks for reply
Problem got resolved.

Regards
Shrini

On Wed, Jul 26, 2017 at 6:58 PM, Kishore P V K  wrote:

> Hello Shrini
>
> Can you please explain more clearly about your required scenario?  I'm
> trying to understand but did not get completely.
>
> Thanks
> Kishore
>
> On Mon, Jul 24, 2017 at 2:36 PM, Shrinivas Shevde 
> wrote:
>
>> Dear All
>>
>> I have a work book which contain many daywise sheet in which I maintain
>> machinewise data.
>> I have 20 machines all machines are not running daily so if machine is
>> not running I hide that rows and machine running will be visible.
>> There is down time for a machine having many reasons which are captured
>> in different rows but the machine no and other in merge cell.
>> Now I want to manke a single sheet where I will get all daywise data.
>> See the attached file
>> I tried it manually but it will take lot of time.
>> Can Anyone will write macro.
>> see "required output sheet"
>>
>>
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-26 Thread Kishore P V K
Hello Shrini

Can you please explain more clearly about your required scenario?  I'm
trying to understand but did not get completely.

Thanks
Kishore

On Mon, Jul 24, 2017 at 2:36 PM, Shrinivas Shevde 
wrote:

> Dear All
>
> I have a work book which contain many daywise sheet in which I maintain
> machinewise data.
> I have 20 machines all machines are not running daily so if machine is not
> running I hide that rows and machine running will be visible.
> There is down time for a machine having many reasons which are captured in
> different rows but the machine no and other in merge cell.
> Now I want to manke a single sheet where I will get all daywise data.
> See the attached file
> I tried it manually but it will take lot of time.
> Can Anyone will write macro.
> see "required output sheet"
>
>
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-26 Thread 'Karleen Biggs' via MS EXCEL AND VBA MACROS


On Wed, 7/26/17, 'Julienne Schindler' via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Copy Paste
 To: excel-macros@googlegroups.com
 Date: Wednesday, July 26, 2017, 11:35 AM
 
 
 
 On Wed, 7/26/17, 'Margareta Tolliver'
 via MS EXCEL AND VBA MACROS <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ Macro
 for Copy Paste
  To: excel-macros@googlegroups.com
  Date: Wednesday, July 26, 2017, 11:01
 AM
  
  
 
 
  On Wed, 7/26/17, 'Kenyatta Freed' via
  MS EXCEL AND VBA MACROS <excel-macros@googlegroups.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$
 Macro
  for Copy Paste
   To: excel-macros@googlegroups.com
   Date: Wednesday, July 26, 2017,
 10:11
  AM
   
   
  
 
 
   On Wed, 7/26/17, Shrinivas
 Shevde
   <shrinivas...@gmail.com>
   wrote:
   
    Subject: Re: $$Excel-Macros$$
  Macro
   for Copy Paste
    To: excel-macros@googlegroups.com
    Date: Wednesday, July 26, 2017,
  7:26
   AM
    
     Can
    Anyone please help me?
    On Mon, Jul 24, 2017 at
    2:36 PM, Shrinivas Shevde <shrinivas...@gmail.com>
    wrote:
    Dear All
    I have a work book which
  contain
    many daywise sheet in which I
   maintain machinewise
    data.I have 20 machines all
  machines
   are not
    running daily so if machine is
  not
   running I hide that rows
    and machine running will be
   visible.There is down
    time for a machine having many
  reasons
   which are captured in
    different rows but the machine
  no and
   other in merge
    cell.Now I want to manke a
  single
   sheet where I
    will get all daywise data.See
  the
   attached
    fileI tried it manually but it
  will
   take lot of
    time.Can Anyone will write
  macro.see
    "required output sheet"
    
    
    --
    
    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+unsubscribe@
    googlegroups.com.
    
    To post to this group, send
  email to
   excel-macros@googlegroups.com.
    
    Visit this group at https://groups.google.com/
    group/excel-macros.
    
    For more options, visit https://groups.google.com/d/
    optout.
    
    
    
    
    -- 
    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 

Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-26 Thread 'Julienne Schindler' via MS EXCEL AND VBA MACROS


On Wed, 7/26/17, 'Margareta Tolliver' via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Copy Paste
 To: excel-macros@googlegroups.com
 Date: Wednesday, July 26, 2017, 11:01 AM
 
 
 
 On Wed, 7/26/17, 'Kenyatta Freed' via
 MS EXCEL AND VBA MACROS <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ Macro
 for Copy Paste
  To: excel-macros@googlegroups.com
  Date: Wednesday, July 26, 2017, 10:11
 AM
  
  
 
 
  On Wed, 7/26/17, Shrinivas Shevde
  <shrinivas...@gmail.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$
 Macro
  for Copy Paste
   To: excel-macros@googlegroups.com
   Date: Wednesday, July 26, 2017,
 7:26
  AM
   
    Can
   Anyone please help me?
   On Mon, Jul 24, 2017 at
   2:36 PM, Shrinivas Shevde <shrinivas...@gmail.com>
   wrote:
   Dear All
   I have a work book which
 contain
   many daywise sheet in which I
  maintain machinewise
   data.I have 20 machines all
 machines
  are not
   running daily so if machine is
 not
  running I hide that rows
   and machine running will be
  visible.There is down
   time for a machine having many
 reasons
  which are captured in
   different rows but the machine
 no and
  other in merge
   cell.Now I want to manke a
 single
  sheet where I
   will get all daywise data.See
 the
  attached
   fileI tried it manually but it
 will
  take lot of
   time.Can Anyone will write
 macro.see
   "required output sheet"
   
   
   --
   
   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+unsubscribe@
   googlegroups.com.
   
   To post to this group, send
 email to
  excel-macros@googlegroups.com.
   
   Visit this group at https://groups.google.com/
   group/excel-macros.
   
   For more options, visit https://groups.google.com/d/
   optout.
   
   
   
   
   -- 
   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
 
 https://groups.google.com/group/excel-macros.
   
   For more options, visit
  https://groups.google.com/d/optout.
   xersat in tara  in lungi si
  complicate procese  isi gaseste aici
 o noua confirmare
  
  
  -- 
  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$$ Macro for Copy Paste

2017-07-26 Thread 'Margareta Tolliver' via MS EXCEL AND VBA MACROS


On Wed, 7/26/17, 'Kenyatta Freed' via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Copy Paste
 To: excel-macros@googlegroups.com
 Date: Wednesday, July 26, 2017, 10:11 AM
 
 
 
 On Wed, 7/26/17, Shrinivas Shevde
 <shrinivas...@gmail.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ Macro
 for Copy Paste
  To: excel-macros@googlegroups.com
  Date: Wednesday, July 26, 2017, 7:26
 AM
  
   Can
  Anyone please help me?
  On Mon, Jul 24, 2017 at
  2:36 PM, Shrinivas Shevde <shrinivas...@gmail.com>
  wrote:
  Dear All
  I have a work book which contain
  many daywise sheet in which I
 maintain machinewise
  data.I have 20 machines all machines
 are not
  running daily so if machine is not
 running I hide that rows
  and machine running will be
 visible.There is down
  time for a machine having many reasons
 which are captured in
  different rows but the machine no and
 other in merge
  cell.Now I want to manke a single
 sheet where I
  will get all daywise data.See the
 attached
  fileI tried it manually but it will
 take lot of
  time.Can Anyone will write macro.see
  "required output sheet"
  
  
  --
  
  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+unsubscribe@
  googlegroups.com.
  
  To post to this group, send email to
 excel-macros@googlegroups.com.
  
  Visit this group at https://groups.google.com/
  group/excel-macros.
  
  For more options, visit https://groups.google.com/d/
  optout.
  
  
  
  
  -- 
  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
 https://groups.google.com/group/excel-macros.
  
  For more options, visit
 https://groups.google.com/d/optout.
  xersat in tara  in lungi si
 complicate procese  isi gaseste aici o noua confirmare
 
 
 -- 
 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 membe

Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-26 Thread 'Kenyatta Freed' via MS EXCEL AND VBA MACROS


On Wed, 7/26/17, Shrinivas Shevde <shrinivas...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Copy Paste
 To: excel-macros@googlegroups.com
 Date: Wednesday, July 26, 2017, 7:26 AM
 
  Can
 Anyone please help me?
 On Mon, Jul 24, 2017 at
 2:36 PM, Shrinivas Shevde <shrinivas...@gmail.com>
 wrote:
 Dear All
 I have a work book which contain
 many daywise sheet in which I maintain machinewise
 data.I have 20 machines all machines are not
 running daily so if machine is not running I hide that rows
 and machine running will be visible.There is down
 time for a machine having many reasons which are captured in
 different rows but the machine no and other in merge
 cell.Now I want to manke a single sheet where I
 will get all daywise data.See the attached
 fileI tried it manually but it will take lot of
 time.Can Anyone will write macro.see
 "required output sheet"
 
 
 --
 
 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+unsubscribe@
 googlegroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/
 group/excel-macros.
 
 For more options, visit https://groups.google.com/d/
 optout.
 
 
 
 
 -- 
 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 https://groups.google.com/group/excel-macros.
 
 For more options, visit https://groups.google.com/d/optout.
 xersat in tara  in lungi si complicate procese  isi gaseste aici o noua 
confirmare 

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Copy Paste

2017-07-25 Thread Shrinivas Shevde
 Can Anyone please help me?

On Mon, Jul 24, 2017 at 2:36 PM, Shrinivas Shevde 
wrote:

> Dear All
>
> I have a work book which contain many daywise sheet in which I maintain
> machinewise data.
> I have 20 machines all machines are not running daily so if machine is not
> running I hide that rows and machine running will be visible.
> There is down time for a machine having many reasons which are captured in
> different rows but the machine no and other in merge cell.
> Now I want to manke a single sheet where I will get all daywise data.
> See the attached file
> I tried it manually but it will take lot of time.
> Can Anyone will write macro.
> see "required output sheet"
>
>
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro Error in line. .

2017-07-24 Thread 'Storey Thomas' via MS EXCEL AND VBA MACROS


On Mon, 7/24/17, Paul Schreiner <schreiner_p...@att.net> wrote:

 Subject: Re: $$Excel-Macros$$ Macro Error in line. .
 To: "excel-macros@googlegroups.com" <excel-macros@googlegroups.com>
 Date: Monday, July 24, 2017, 5:48 PM
 
 I
 took a quick look, but since I don't have any .CDS
 files, it didn't work properly.
 But
 a couple of observations:#1)
 I'd add Option Explicit to the start of the module, to
 ensure all variables are declared.#2)
 It's curious that your  editors aren't showing a
 compile error on "Dim
 Dirpath as String" since it's being declared
 twice.
 It's
 also possible that since you're using a "On Error
 Resume Next" statement, but not using "On Error
 Goto 0" to reset it, then you're getting an error,
 but not displaying it.I'd
 also change:Dirpath
 = Dir(dpath + "*.CDS")to:Dirpath
 = Dir(dpath & "*.CDS")since
 "+" is an arithmetic function and
 "&" is a concatenation of strings.VBA
 SHOULD handle it properly, but I don't like to make
 assumptions like that.
 I'd
 set a breakpoint at the Dirpath = Dir(...statement
 and step through it and watch what happens to
 Dirpath.I also like to add a
 "Watch" of:Err.Number
 & ": " & Err.Description (with scope of
 "all modules") so that I can see if an error is
 being caught but not halting due to the "On Error
 Resume Next" statement.
 
 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
 -
 
 
 
On Monday, July 24,
 2017 10:03 AM, Secret Shot <secrets...@gmail.com>
 wrote:
   
 
  Hi Experts, 
 I have created a macro to automate
 my work. 
 Its working
 fine on my laptop, but if i am using same file for same
 folder in my dasktop, its skip a action. its not giving any
 error but also not doing what it soupose to
 do. 
 Below is the
 line of code which is not getting excuted, means the value
 of path is not getting assined in my define variable, so my
 loop is not working. 
 however its working fine on my
 laptop but not on desktop, wheree all the enviroment is same
 (window, MS office, same references etc. )
 please help..
 dpath = tpath &
 "\" & nws.Name &
 "\"Dirpath = Dir(dpath +
 "*.CDS")Do While Len(Dirpath)
 > 0ActiveCell.Formula =
 DirpathActiveCell.Offset(1,
 0).SelectDirpath = Dir()Loop 
 
 attaching the
 file with full code.
 -- 
 Pankaj Pandey
 Bhopal
 
 
 
 
 -- 
 
 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 https://groups.google.com/group/excel-macros.
 
 For more options, visit https://groups.google.com/d/optout.
 
 
  

 
 -- 
 
 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$$ Macro Error in line. .

2017-07-24 Thread Paul Schreiner
I took a quick look, but since I don't have any .CDS files, it didn't work 
properly.
But a couple of observations:#1) I'd add Option Explicit to the start of the 
module, to ensure all variables are declared.#2) It's curious that your  
editors aren't showing a compile error on "Dim Dirpath as String" since it's 
being declared twice.
It's also possible that since you're using a "On Error Resume Next" statement, 
but not using "On Error Goto 0" to reset it, then you're getting an error, but 
not displaying it.I'd also change:Dirpath = Dir(dpath + "*.CDS")to:Dirpath = 
Dir(dpath & "*.CDS")since "+" is an arithmetic function and "&" is a 
concatenation of strings.VBA SHOULD handle it properly, but I don't like to 
make assumptions like that.
I'd set a breakpoint at the Dirpath = Dir(...statement and step through it and 
watch what happens to Dirpath.I also like to add a "Watch" of:Err.Number & ": " 
& Err.Description (with scope of "all modules") so that I can see if an error 
is being caught but not halting due to the "On Error Resume Next" statement.

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
- 

On Monday, July 24, 2017 10:03 AM, Secret Shot  wrote:
 

 Hi Experts, 
I have created a macro to automate my work. 
Its working fine on my laptop, but if i am using same file for same folder in 
my dasktop, its skip a action. its not giving any error but also not doing what 
it soupose to do. 
Below is the line of code which is not getting excuted, means the value of path 
is not getting assined in my define variable, so my loop is not working. 
however its working fine on my laptop but not on desktop, wheree all the 
enviroment is same (window, MS office, same references etc. )
please help..
dpath = tpath & "\" & nws.Name & "\"Dirpath = Dir(dpath + "*.CDS")Do While 
Len(Dirpath) > 0ActiveCell.Formula = DirpathActiveCell.Offset(1, 
0).SelectDirpath = Dir()Loop 

attaching the file with full code.
-- 
Pankaj Pandey
Bhopal-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-07 Thread 'Margareta Tolliver' via MS EXCEL AND VBA MACROS


On Fri, 7/7/17, Puttu * <puttu...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value
 To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
 Date: Friday, July 7, 2017, 2:18 PM
 
 Hi Swapnil,
 
 Just to let you know all your comments
 should be based on the error code.
 
 Error Code column
 1
 2
 3
 
 all these three has
 different error description.
 
 Thanks
 Putta
 
 On Thu, Jul 6, 2017 at 7:14
 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Swapnil,
 
 Thanks you so much
 appreciate your time and help on getting this macro. I think
 got almost what required, there is only small changes, which
 need to be done. Sorry its my mistake not giving right
 information on that.
 
 The reason I am looking a macro is I
 can't educate others who are very beginning stage of
 learning. Macro will be more easier for them to use than
 conditional formatting.
 
 I have added my comments in Final Tab.
 Please review and let me know if any points are unclear.
 
 Thanks
 Putta
 
 
 On Wed, Jul 5, 2017 at 2:18
 PM, Swapnil Palande <palande.swapni...@gmail.com>
 wrote:
 Hi,
 
 Why are you not using conditional
 formatting. If your main purpose is to display user
 duplicates and empty cells, conditional formatting is best
 solution.
 
 Have
 applied both solutions (conditional formatting as well as
 macro) in attached excel.
 
 Regards,
 Swapnil.
 
 On Wed, Jul 5, 2017 at
 12:24 AM, Puttu * <puttu...@gmail.com>
 wrote:
 anyhelp please
 
 On Tue, Jul 4, 2017 at
 12:33 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Thanks Sir, Formula match exactly my
 requirement, however I have more than 50 columns, quite
 difficult to input formula for every column. Thus the reason
 I am looking for macro.
 
 Please help
 
 On Tue,
 Jul 4, 2017 at 11:21 AM, Swapnil Palande <palande.swapni...@gmail.com>
 wrote:
 Hi,
 
 No need of macro, you can do it using
 formulas also. Attached is the excel for your reference.
 
 Regards,
 Swapnil
 On Tue, Jul 4, 2017 at
 10:36 AM, Puttu * <puttu...@gmail.com>
 wrote:
 Experts, Any help on this will be much appreciated
 
 
 On Mon, Jul 3, 2017 at
 10:33 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Experts
 
 Please help on this.
 
 Thanks
 Putta
 
 On Mon,
 Jul 3, 2017 at 9:42 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Experts,
 
 I am not a vba expert
 and need your help me on the attached requirement. 
 
 I have list of columns
 and from that I need to know based on the Model No. column
 filter if the other columns have any duplicate values, if
 yes then it should display comments column as Column Name
 + duplicate value (Ex: Category_description having duplicate
 value)
 
 2. If the
 any of the column is blank it should print Column Name is
 blank (Ex: Parent Category ID has blank value).
 
 Attached is the sample
 spread sheet. Please review and help me on it.
 
 -- 
 Putta
 
 
 
 
 -- 
 
 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/discu
 ssexcel
 
  
 
 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+unsubscribe@googl
 egroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/grou
 p/excel-macros.
 
 For more options, visit https://groups.google.com/d/op
 tout.
 
 
 
 
 -- 
 Putta
 
 
 
 
 -- 
 Putta
 
 
 
 
 -- 
 
 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/discu
 ssexcel
 
  
 
 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)

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-07 Thread Puttu *
Hi Swapnil,

Just to let you know all your comments should be based on the error code.

Error Code column
1
2
3

all these three has different error description.

Thanks
Putta

On Thu, Jul 6, 2017 at 7:14 PM, Puttu *  wrote:

> Hi Swapnil,
>
> Thanks you so much appreciate your time and help on getting this macro. I
> think got almost what required, there is only small changes, which need to
> be done. Sorry its my mistake not giving right information on that.
>
> The reason I am looking a macro is I can't educate others who are very
> beginning stage of learning. Macro will be more easier for them to use than
> conditional formatting.
>
> I have added my comments in Final Tab. Please review and let me know if
> any points are unclear.
>
> Thanks
> Putta
>
>
> On Wed, Jul 5, 2017 at 2:18 PM, Swapnil Palande <
> palande.swapni...@gmail.com> wrote:
>
>> Hi,
>>
>> Why are you not using conditional formatting. If your main purpose is to
>> display user duplicates and empty cells, conditional formatting is best
>> solution.
>>
>> Have applied both solutions (conditional formatting as well as macro) in
>> attached excel.
>>
>> Regards,
>> Swapnil.
>>
>> On Wed, Jul 5, 2017 at 12:24 AM, Puttu *  wrote:
>>
>>> anyhelp please
>>>
>>> On Tue, Jul 4, 2017 at 12:33 PM, Puttu *  wrote:
>>>
 Thanks Sir, Formula match exactly my requirement, however I have more
 than 50 columns, quite difficult to input formula for every column. Thus
 the reason I am looking for macro.

 Please help

 On Tue, Jul 4, 2017 at 11:21 AM, Swapnil Palande <
 palande.swapni...@gmail.com> wrote:

> Hi,
>
> No need of macro, you can do it using formulas also. Attached is the
> excel for your reference.
>
> Regards,
> Swapnil
>
> On Tue, Jul 4, 2017 at 10:36 AM, Puttu *  wrote:
>
>> Experts, Any help on this will be much appreciated
>>
>> On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:
>>
>>> Hi Experts
>>>
>>> Please help on this.
>>>
>>> Thanks
>>> Putta
>>>
>>> On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:
>>>
 Hi Experts,

 I am not a vba expert and need your help me on the attached
 requirement.

 I have list of columns and from that I need to know based on the
 Model No. column filter if the other columns have any duplicate 
 values, if
 yes then it should display comments column as *Column Name +
 duplicate value (Ex: Category_description having duplicate value)*

 2. If the any of the column is blank it should print Column Name is
 blank (*Ex: Parent Category ID has blank value).*

 Attached is the sample spread sheet. Please review and help me on
 it.

 --
 Putta

 --
 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 https://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> Putta
>>>
>>
>>
>>
>> --
>> Putta
>>
>> --
>> 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 

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-06 Thread 'Julienne Schindler' via MS EXCEL AND VBA MACROS


On Thu, 7/6/17, 'Martinez David' via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value
 To: excel-macros@googlegroups.com
 Date: Thursday, July 6, 2017, 11:16 PM
 
 
 
 On Thu, 7/6/17, Puttu * <puttu...@gmail.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ Macro
 for Blank Cell and Duplicate Value
  To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
  Date: Thursday, July 6, 2017, 4:44 PM
  
  Hi Swapnil,
  
  Thanks you so much
  appreciate your time and help on
 getting this macro. I think
  got almost what required, there is
 only small changes, which
  need to be done. Sorry its my mistake
 not giving right
  information on that.
  
  The reason I am looking a macro is I
  can't educate others who are very
 beginning stage of
  learning. Macro will be more easier
 for them to use than
  conditional formatting.
  
  I have added my comments in Final
 Tab.
  Please review and let me know if any
 points are unclear.
  
  Thanks
  Putta
  
  
  On Wed, Jul 5, 2017 at 2:18
  PM, Swapnil Palande <palande.swapni...@gmail.com>
  wrote:
  Hi,
  
  Why are you not using conditional
  formatting. If your main purpose is to
 display user
  duplicates and empty cells,
 conditional formatting is best
  solution.
  
  Have
  applied both solutions (conditional
 formatting as well as
  macro) in attached excel.
  
  Regards,
  Swapnil.
  
  On Wed, Jul 5, 2017 at
  12:24 AM, Puttu * <puttu...@gmail.com>
  wrote:
  anyhelp please
  
  On Tue, Jul 4, 2017 at
  12:33 PM, Puttu * <puttu...@gmail.com>
  wrote:
  Thanks Sir, Formula match exactly my
  requirement, however I have more than
 50 columns, quite
  difficult to input formula for every
 column. Thus the reason
  I am looking for macro.
  
  Please help
  
  On Tue,
  Jul 4, 2017 at 11:21 AM, Swapnil
 Palande <palande.swapni...@gmail.com>
  wrote:
  Hi,
  
  No need of macro, you can do it using
  formulas also. Attached is the excel
 for your reference.
  
  Regards,
  Swapnil
  On Tue, Jul 4, 2017 at
  10:36 AM, Puttu * <puttu...@gmail.com>
  wrote:
  Experts, Any help on this will be much
 appreciated
  
  
  On Mon, Jul 3, 2017 at
  10:33 PM, Puttu * <puttu...@gmail.com>
  wrote:
  Hi Experts
  
  Please help on this.
  
  Thanks
  Putta
  
  On Mon,
  Jul 3, 2017 at 9:42 PM, Puttu * <puttu...@gmail.com>
  wrote:
  Hi Experts,
  
  I am not a vba expert
  and need your help me on the attached
 requirement. 
  
  I have list of columns
  and from that I need to know based on
 the Model No. column
  filter if the other columns have any
 duplicate values, if
  yes then it should display comments
 column as Column Name
  + duplicate value (Ex:
 Category_description having duplicate
  value)
  
  2. If the
  any of the column is blank it should
 print Column Name is
  blank (Ex: Parent Category ID has
 blank value).
  
  Attached is the sample
  spread sheet. Please review and help
 me on it.
  
  -- 
  Putta
  
  
  
  
  -- 
  
  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/discu
  ssexcel
  
   
  
  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+unsubscribe@googl
  egroups.com.
  
  To post to this group, send email to
 excel-macros@googlegroups.com.
  
  Visit this group at https://groups.google.com/grou
  p/excel-macros.
  
  For more options, visit https://groups.google.com/d/op
  tout.
  
  
  
  
  -- 
  Putta
  
  
  
  
  -- 
  Putta
  
  
  
  
  -- 
  
  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/discu
  ssexcel
  
   
  
  FORUM RULES
  
   
  
  1) Use concise, accurate thread
 titles. Poor thread titles,
  like Please Help, Urgent, Need Help,
 Formula Problem, Code
  Problem, and N

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-06 Thread 'Martinez David' via MS EXCEL AND VBA MACROS


On Thu, 7/6/17, Puttu * <puttu...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value
 To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
 Date: Thursday, July 6, 2017, 4:44 PM
 
 Hi Swapnil,
 
 Thanks you so much
 appreciate your time and help on getting this macro. I think
 got almost what required, there is only small changes, which
 need to be done. Sorry its my mistake not giving right
 information on that.
 
 The reason I am looking a macro is I
 can't educate others who are very beginning stage of
 learning. Macro will be more easier for them to use than
 conditional formatting.
 
 I have added my comments in Final Tab.
 Please review and let me know if any points are unclear.
 
 Thanks
 Putta
 
 
 On Wed, Jul 5, 2017 at 2:18
 PM, Swapnil Palande <palande.swapni...@gmail.com>
 wrote:
 Hi,
 
 Why are you not using conditional
 formatting. If your main purpose is to display user
 duplicates and empty cells, conditional formatting is best
 solution.
 
 Have
 applied both solutions (conditional formatting as well as
 macro) in attached excel.
 
 Regards,
 Swapnil.
 
 On Wed, Jul 5, 2017 at
 12:24 AM, Puttu * <puttu...@gmail.com>
 wrote:
 anyhelp please
 
 On Tue, Jul 4, 2017 at
 12:33 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Thanks Sir, Formula match exactly my
 requirement, however I have more than 50 columns, quite
 difficult to input formula for every column. Thus the reason
 I am looking for macro.
 
 Please help
 
 On Tue,
 Jul 4, 2017 at 11:21 AM, Swapnil Palande <palande.swapni...@gmail.com>
 wrote:
 Hi,
 
 No need of macro, you can do it using
 formulas also. Attached is the excel for your reference.
 
 Regards,
 Swapnil
 On Tue, Jul 4, 2017 at
 10:36 AM, Puttu * <puttu...@gmail.com>
 wrote:
 Experts, Any help on this will be much appreciated
 
 
 On Mon, Jul 3, 2017 at
 10:33 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Experts
 
 Please help on this.
 
 Thanks
 Putta
 
 On Mon,
 Jul 3, 2017 at 9:42 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Experts,
 
 I am not a vba expert
 and need your help me on the attached requirement. 
 
 I have list of columns
 and from that I need to know based on the Model No. column
 filter if the other columns have any duplicate values, if
 yes then it should display comments column as Column Name
 + duplicate value (Ex: Category_description having duplicate
 value)
 
 2. If the
 any of the column is blank it should print Column Name is
 blank (Ex: Parent Category ID has blank value).
 
 Attached is the sample
 spread sheet. Please review and help me on it.
 
 -- 
 Putta
 
 
 
 
 -- 
 
 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/discu
 ssexcel
 
  
 
 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+unsubscribe@googl
 egroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/grou
 p/excel-macros.
 
 For more options, visit https://groups.google.com/d/op
 tout.
 
 
 
 
 -- 
 Putta
 
 
 
 
 -- 
 Putta
 
 
 
 
 -- 
 
 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/discu
 ssexcel
 
  
 
 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 becaus

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-06 Thread Puttu *
Hi Swapnil,

Thanks you so much appreciate your time and help on getting this macro. I
think got almost what required, there is only small changes, which need to
be done. Sorry its my mistake not giving right information on that.

The reason I am looking a macro is I can't educate others who are very
beginning stage of learning. Macro will be more easier for them to use than
conditional formatting.

I have added my comments in Final Tab. Please review and let me know if any
points are unclear.

Thanks
Putta


On Wed, Jul 5, 2017 at 2:18 PM, Swapnil Palande  wrote:

> Hi,
>
> Why are you not using conditional formatting. If your main purpose is to
> display user duplicates and empty cells, conditional formatting is best
> solution.
>
> Have applied both solutions (conditional formatting as well as macro) in
> attached excel.
>
> Regards,
> Swapnil.
>
> On Wed, Jul 5, 2017 at 12:24 AM, Puttu *  wrote:
>
>> anyhelp please
>>
>> On Tue, Jul 4, 2017 at 12:33 PM, Puttu *  wrote:
>>
>>> Thanks Sir, Formula match exactly my requirement, however I have more
>>> than 50 columns, quite difficult to input formula for every column. Thus
>>> the reason I am looking for macro.
>>>
>>> Please help
>>>
>>> On Tue, Jul 4, 2017 at 11:21 AM, Swapnil Palande <
>>> palande.swapni...@gmail.com> wrote:
>>>
 Hi,

 No need of macro, you can do it using formulas also. Attached is the
 excel for your reference.

 Regards,
 Swapnil

 On Tue, Jul 4, 2017 at 10:36 AM, Puttu *  wrote:

> Experts, Any help on this will be much appreciated
>
> On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:
>
>> Hi Experts
>>
>> Please help on this.
>>
>> Thanks
>> Putta
>>
>> On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:
>>
>>> Hi Experts,
>>>
>>> I am not a vba expert and need your help me on the attached
>>> requirement.
>>>
>>> I have list of columns and from that I need to know based on the
>>> Model No. column filter if the other columns have any duplicate values, 
>>> if
>>> yes then it should display comments column as *Column Name +
>>> duplicate value (Ex: Category_description having duplicate value)*
>>>
>>> 2. If the any of the column is blank it should print Column Name is
>>> blank (*Ex: Parent Category ID has blank value).*
>>>
>>> Attached is the sample spread sheet. Please review and help me on it.
>>>
>>> --
>>> Putta
>>>
>>> --
>>> 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 https://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Putta
>>
>
>
>
> --
> Putta
>
> --
> 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$$ Macro for Blank Cell and Duplicate Value

2017-07-05 Thread 'Karleen Biggs' via MS EXCEL AND VBA MACROS


On Wed, 7/5/17, 'Martinez David' via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value
 To: excel-macros@googlegroups.com
 Date: Wednesday, July 5, 2017, 11:42 AM
 
 
 
 On Wed, 7/5/17, 'Yu Spain' via MS EXCEL
 AND VBA MACROS <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ Macro
 for Blank Cell and Duplicate Value
  To: excel-macros@googlegroups.com
  Date: Wednesday, July 5, 2017, 2:43
 AM
  
  
 
 
  On Tue, 7/4/17, Puttu * <puttu...@gmail.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$
 Macro
  for Blank Cell and Duplicate Value
   To: "MS EXCEL AND VBA MACROS"
 <excel-macros@googlegroups.com>
   Date: Tuesday, July 4, 2017,
 10:03 AM
   
   Thanks Sir, Formula match
 exactly my
   requirement, however I have more
 than
  50 columns, quite
   difficult to input formula for
 every
  column. Thus the reason
   I am looking for macro.
   
   Please help
   
   On Tue, Jul 4, 2017 at
   11:21 AM, Swapnil Palande <palande.swapni...@gmail.com>
   wrote:
   Hi,
   
   No need of macro, you can do it
 using
   formulas also. Attached is the
 excel
  for your reference.
   
   Regards,
   Swapnil
   On Tue, Jul 4, 2017 at
   10:36 AM, Puttu * <puttu...@gmail.com>
   wrote:
   Experts, Any help on this will
 be much
  appreciated
   
   
   On Mon, Jul 3, 2017 at
   10:33 PM, Puttu * <puttu...@gmail.com>
   wrote:
   Hi Experts
   
   Please help on this.
   
   Thanks
   Putta
   
   On Mon,
   Jul 3, 2017 at 9:42 PM, Puttu *
 <puttu...@gmail.com>
   wrote:
   Hi Experts,
   
   I am not a vba expert
   and need your help me on the
 attached
  requirement. 
   
   I have list of columns
   and from that I need to know
 based on
  the Model No. column
   filter if the other columns have
 any
  duplicate values, if
   yes then it should display
 comments
  column as Column Name
   + duplicate value (Ex:
  Category_description having duplicate
   value)
   
   2. If the
   any of the column is blank it
 should
  print Column Name is
   blank (Ex: Parent Category ID
 has
  blank value).
   
   Attached is the sample
   spread sheet. Please review and
 help
  me on it.
   
   -- 
   Putta
   
   
   
   
   -- 
   
   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/discu
   ssexcel
   
    
   
   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+unsubscribe@googl
   egroups.com.
   
   To post to this group, send
 email to
  excel-macros@googlegroups.com.
   
   Visit this group at https://groups.google.com/grou
   p/excel-macros.
   
   For more options, visit https://groups.google.com/d/op
   tout.
   
   
   
   
   -- 
   Putta
   
   
   
   
   -- 
   Putta
   
   
   
   
   -- 
   
   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/discu
   ssexcel
   
    
   
   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$$ Macro for Blank Cell and Duplicate Value

2017-07-05 Thread 'Martinez David' via MS EXCEL AND VBA MACROS


On Wed, 7/5/17, 'Yu Spain' via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value
 To: excel-macros@googlegroups.com
 Date: Wednesday, July 5, 2017, 2:43 AM
 
 
 
 On Tue, 7/4/17, Puttu * <puttu...@gmail.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ Macro
 for Blank Cell and Duplicate Value
  To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
  Date: Tuesday, July 4, 2017, 10:03 AM
  
  Thanks Sir, Formula match exactly my
  requirement, however I have more than
 50 columns, quite
  difficult to input formula for every
 column. Thus the reason
  I am looking for macro.
  
  Please help
  
  On Tue, Jul 4, 2017 at
  11:21 AM, Swapnil Palande <palande.swapni...@gmail.com>
  wrote:
  Hi,
  
  No need of macro, you can do it using
  formulas also. Attached is the excel
 for your reference.
  
  Regards,
  Swapnil
  On Tue, Jul 4, 2017 at
  10:36 AM, Puttu * <puttu...@gmail.com>
  wrote:
  Experts, Any help on this will be much
 appreciated
  
  
  On Mon, Jul 3, 2017 at
  10:33 PM, Puttu * <puttu...@gmail.com>
  wrote:
  Hi Experts
  
  Please help on this.
  
  Thanks
  Putta
  
  On Mon,
  Jul 3, 2017 at 9:42 PM, Puttu * <puttu...@gmail.com>
  wrote:
  Hi Experts,
  
  I am not a vba expert
  and need your help me on the attached
 requirement. 
  
  I have list of columns
  and from that I need to know based on
 the Model No. column
  filter if the other columns have any
 duplicate values, if
  yes then it should display comments
 column as Column Name
  + duplicate value (Ex:
 Category_description having duplicate
  value)
  
  2. If the
  any of the column is blank it should
 print Column Name is
  blank (Ex: Parent Category ID has
 blank value).
  
  Attached is the sample
  spread sheet. Please review and help
 me on it.
  
  -- 
  Putta
  
  
  
  
  -- 
  
  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/discu
  ssexcel
  
   
  
  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+unsubscribe@googl
  egroups.com.
  
  To post to this group, send email to
 excel-macros@googlegroups.com.
  
  Visit this group at https://groups.google.com/grou
  p/excel-macros.
  
  For more options, visit https://groups.google.com/d/op
  tout.
  
  
  
  
  -- 
  Putta
  
  
  
  
  -- 
  Putta
  
  
  
  
  -- 
  
  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/discu
  ssexcel
  
   
  
  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+unsubscribe@googl
  egroups.com.
  
  To post to this group, send email to
 excel-macros@googlegroups.com.
  
  Visit this group at https://groups.google.com/grou
  p/excel-macros.
  
  For more options, visit https://groups.google.com/d/op
  tout.
  
  
  
  
  
  
  -- 
  
  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) !

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-05 Thread Swapnil Palande
Hi,

Why are you not using conditional formatting. If your main purpose is to
display user duplicates and empty cells, conditional formatting is best
solution.

Have applied both solutions (conditional formatting as well as macro) in
attached excel.

Regards,
Swapnil.

On Wed, Jul 5, 2017 at 12:24 AM, Puttu *  wrote:

> anyhelp please
>
> On Tue, Jul 4, 2017 at 12:33 PM, Puttu *  wrote:
>
>> Thanks Sir, Formula match exactly my requirement, however I have more
>> than 50 columns, quite difficult to input formula for every column. Thus
>> the reason I am looking for macro.
>>
>> Please help
>>
>> On Tue, Jul 4, 2017 at 11:21 AM, Swapnil Palande <
>> palande.swapni...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> No need of macro, you can do it using formulas also. Attached is the
>>> excel for your reference.
>>>
>>> Regards,
>>> Swapnil
>>>
>>> On Tue, Jul 4, 2017 at 10:36 AM, Puttu *  wrote:
>>>
 Experts, Any help on this will be much appreciated

 On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:

> Hi Experts
>
> Please help on this.
>
> Thanks
> Putta
>
> On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:
>
>> Hi Experts,
>>
>> I am not a vba expert and need your help me on the attached
>> requirement.
>>
>> I have list of columns and from that I need to know based on the
>> Model No. column filter if the other columns have any duplicate values, 
>> if
>> yes then it should display comments column as *Column Name +
>> duplicate value (Ex: Category_description having duplicate value)*
>>
>> 2. If the any of the column is blank it should print Column Name is
>> blank (*Ex: Parent Category ID has blank value).*
>>
>> Attached is the sample spread sheet. Please review and help me on it.
>>
>> --
>> Putta
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Putta
>



 --
 Putta

 --
 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 https://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> 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 @
>>> 

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-04 Thread 'Yu Spain' via MS EXCEL AND VBA MACROS


On Tue, 7/4/17, Puttu * <puttu...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value
 To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
 Date: Tuesday, July 4, 2017, 10:03 AM
 
 Thanks Sir, Formula match exactly my
 requirement, however I have more than 50 columns, quite
 difficult to input formula for every column. Thus the reason
 I am looking for macro.
 
 Please help
 
 On Tue, Jul 4, 2017 at
 11:21 AM, Swapnil Palande <palande.swapni...@gmail.com>
 wrote:
 Hi,
 
 No need of macro, you can do it using
 formulas also. Attached is the excel for your reference.
 
 Regards,
 Swapnil
 On Tue, Jul 4, 2017 at
 10:36 AM, Puttu * <puttu...@gmail.com>
 wrote:
 Experts, Any help on this will be much appreciated
 
 
 On Mon, Jul 3, 2017 at
 10:33 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Experts
 
 Please help on this.
 
 Thanks
 Putta
 
 On Mon,
 Jul 3, 2017 at 9:42 PM, Puttu * <puttu...@gmail.com>
 wrote:
 Hi Experts,
 
 I am not a vba expert
 and need your help me on the attached requirement. 
 
 I have list of columns
 and from that I need to know based on the Model No. column
 filter if the other columns have any duplicate values, if
 yes then it should display comments column as Column Name
 + duplicate value (Ex: Category_description having duplicate
 value)
 
 2. If the
 any of the column is blank it should print Column Name is
 blank (Ex: Parent Category ID has blank value).
 
 Attached is the sample
 spread sheet. Please review and help me on it.
 
 -- 
 Putta
 
 
 
 
 -- 
 
 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/discu
 ssexcel
 
  
 
 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+unsubscribe@googl
 egroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/grou
 p/excel-macros.
 
 For more options, visit https://groups.google.com/d/op
 tout.
 
 
 
 
 -- 
 Putta
 
 
 
 
 -- 
 Putta
 
 
 
 
 -- 
 
 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/discu
 ssexcel
 
  
 
 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+unsubscribe@googl
 egroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/grou
 p/excel-macros.
 
 For more options, visit https://groups.google.com/d/op
 tout.
 
 
 
 
 
 
 -- 
 
 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.

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-04 Thread Puttu *
anyhelp please

On Tue, Jul 4, 2017 at 12:33 PM, Puttu *  wrote:

> Thanks Sir, Formula match exactly my requirement, however I have more than
> 50 columns, quite difficult to input formula for every column. Thus the
> reason I am looking for macro.
>
> Please help
>
> On Tue, Jul 4, 2017 at 11:21 AM, Swapnil Palande <
> palande.swapni...@gmail.com> wrote:
>
>> Hi,
>>
>> No need of macro, you can do it using formulas also. Attached is the
>> excel for your reference.
>>
>> Regards,
>> Swapnil
>>
>> On Tue, Jul 4, 2017 at 10:36 AM, Puttu *  wrote:
>>
>>> Experts, Any help on this will be much appreciated
>>>
>>> On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:
>>>
 Hi Experts

 Please help on this.

 Thanks
 Putta

 On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:

> Hi Experts,
>
> I am not a vba expert and need your help me on the attached
> requirement.
>
> I have list of columns and from that I need to know based on the Model
> No. column filter if the other columns have any duplicate values, if yes
> then it should display comments column as *Column Name + duplicate
> value (Ex: Category_description having duplicate value)*
>
> 2. If the any of the column is blank it should print Column Name is
> blank (*Ex: Parent Category ID has blank value).*
>
> Attached is the sample spread sheet. Please review and help me on it.
>
> --
> Putta
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



 --
 Putta

>>>
>>>
>>>
>>> --
>>> Putta
>>>
>>> --
>>> 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 https://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> 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 

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-04 Thread Puttu *
Thanks Sir, Formula match exactly my requirement, however I have more than
50 columns, quite difficult to input formula for every column. Thus the
reason I am looking for macro.

Please help

On Tue, Jul 4, 2017 at 11:21 AM, Swapnil Palande <
palande.swapni...@gmail.com> wrote:

> Hi,
>
> No need of macro, you can do it using formulas also. Attached is the excel
> for your reference.
>
> Regards,
> Swapnil
>
> On Tue, Jul 4, 2017 at 10:36 AM, Puttu *  wrote:
>
>> Experts, Any help on this will be much appreciated
>>
>> On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:
>>
>>> Hi Experts
>>>
>>> Please help on this.
>>>
>>> Thanks
>>> Putta
>>>
>>> On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:
>>>
 Hi Experts,

 I am not a vba expert and need your help me on the attached
 requirement.

 I have list of columns and from that I need to know based on the Model
 No. column filter if the other columns have any duplicate values, if yes
 then it should display comments column as *Column Name + duplicate
 value (Ex: Category_description having duplicate value)*

 2. If the any of the column is blank it should print Column Name is
 blank (*Ex: Parent Category ID has blank value).*

 Attached is the sample spread sheet. Please review and help me on it.

 --
 Putta

 --
 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 https://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> Putta
>>>
>>
>>
>>
>> --
>> Putta
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-03 Thread Swapnil Palande
Hi,

No need of macro, you can do it using formulas also. Attached is the excel
for your reference.

Regards,
Swapnil

On Tue, Jul 4, 2017 at 10:36 AM, Puttu *  wrote:

> Experts, Any help on this will be much appreciated
>
> On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:
>
>> Hi Experts
>>
>> Please help on this.
>>
>> Thanks
>> Putta
>>
>> On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:
>>
>>> Hi Experts,
>>>
>>> I am not a vba expert and need your help me on the attached requirement.
>>>
>>> I have list of columns and from that I need to know based on the Model
>>> No. column filter if the other columns have any duplicate values, if yes
>>> then it should display comments column as *Column Name + duplicate
>>> value (Ex: Category_description having duplicate value)*
>>>
>>> 2. If the any of the column is blank it should print Column Name is
>>> blank (*Ex: Parent Category ID has blank value).*
>>>
>>> Attached is the sample spread sheet. Please review and help me on it.
>>>
>>> --
>>> Putta
>>>
>>> --
>>> 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 https://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Putta
>>
>
>
>
> --
> Putta
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Null & Duplicate.xlsx

Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-03 Thread Puttu *
Experts, Any help on this will be much appreciated

On Mon, Jul 3, 2017 at 10:33 PM, Puttu *  wrote:

> Hi Experts
>
> Please help on this.
>
> Thanks
> Putta
>
> On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:
>
>> Hi Experts,
>>
>> I am not a vba expert and need your help me on the attached requirement.
>>
>> I have list of columns and from that I need to know based on the Model
>> No. column filter if the other columns have any duplicate values, if yes
>> then it should display comments column as *Column Name + duplicate value
>> (Ex: Category_description having duplicate value)*
>>
>> 2. If the any of the column is blank it should print Column Name is blank
>> (*Ex: Parent Category ID has blank value).*
>>
>> Attached is the sample spread sheet. Please review and help me on it.
>>
>> --
>> Putta
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Putta
>



-- 
Putta

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Blank Cell and Duplicate Value

2017-07-03 Thread Puttu *
Hi Experts

Please help on this.

Thanks
Putta

On Mon, Jul 3, 2017 at 9:42 PM, Puttu *  wrote:

> Hi Experts,
>
> I am not a vba expert and need your help me on the attached requirement.
>
> I have list of columns and from that I need to know based on the Model No.
> column filter if the other columns have any duplicate values, if yes then
> it should display comments column as *Column Name + duplicate value (Ex:
> Category_description having duplicate value)*
>
> 2. If the any of the column is blank it should print Column Name is blank 
> (*Ex:
> Parent Category ID has blank value).*
>
> Attached is the sample spread sheet. Please review and help me on it.
>
> --
> Putta
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Putta

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-24 Thread keisha.fry via MS EXCEL AND VBA MACROS


On Tue, 1/24/17, storeythomas725 via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: excel-macros@googlegroups.com
 Date: Tuesday, January 24, 2017, 11:29 AM
 
 
 
 On Tue, 1/24/17, silvers.r via MS EXCEL AND VBA MACROS
 <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR
 MULTIPLE TIMES
  To: excel-macros@googlegroups.com
  Date: Tuesday, January 24, 2017, 8:37 AM
  
  
  
  On Tue, 1/24/17, silvers.r via MS EXCEL AND VBA MACROS
  <excel-macros@googlegroups.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
 RANGE FOR
  MULTIPLE TIMES
   To: excel-macros@googlegroups.com
   Date: Tuesday, January 24, 2017, 6:22 AM
   
   
   
   On Tue, 1/24/17, libertystringer via MS EXCEL AND
 VBA
  MACROS
   <excel-macros@googlegroups.com>
   wrote:
   
    Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
  RANGE FOR
   MULTIPLE TIMES
    To: excel-macros@googlegroups.com
    Date: Tuesday, January 24, 2017, 1:27 AM
    
    
    
    On Mon, 1/23/17, julienneschindler via MS EXCEL AND
  VBA
    MACROS <excel-macros@googlegroups.com>
    wrote:
    
     Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
   RANGE FOR
    MULTIPLE TIMES
     To: excel-macros@googlegroups.com
     Date: Monday, January 23, 2017, 10:58 PM
     
     
     
     On Mon, 1/23/17, GENIUS <izharra...@gmail.com>
     wrote:
     
      Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
    RANGE FOR
     MULTIPLE TIMES
      To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
      Cc: schreiner_p...@att.net
      Date: Monday, January 23, 2017, 5:13 PM
      
      That's
      great, Thank you very much for your help
      
      
      
      
      -- 
      
      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
     https://groups.google.com/group/excel-macros.
      
      For more options, visit
     https://groups.google.com/d/optout.
      n anii '50  relatiile romano-sovietice au
  evoluat
    de
     la o stransa cooperare la o distantare 
   ajungandu-se
     chiar la o autonomie a Partidului Comunist din
   Romania si
    la
     o relativa independenta  a statului roman.
   Elementele
     noi in relatiile dintre cele doua state au fost
    determinate
     de neincrederea personala dintre Gheorghiu-Dej si
    Hrusciov.
     O astfel de orientare politica era menita  in
   conceptia
     liderilor comunisti de la Bucuresti  sa afirme 
 cu
     si mai multa putere  rolul partidului comunist
 in
   ochii
     maselor populare.
     
     -- 
     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
     s

Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-24 Thread storeythomas725 via MS EXCEL AND VBA MACROS


On Tue, 1/24/17, silvers.r via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: excel-macros@googlegroups.com
 Date: Tuesday, January 24, 2017, 8:37 AM
 
 
 
 On Tue, 1/24/17, silvers.r via MS EXCEL AND VBA MACROS
 <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR
 MULTIPLE TIMES
  To: excel-macros@googlegroups.com
  Date: Tuesday, January 24, 2017, 6:22 AM
  
  
  
  On Tue, 1/24/17, libertystringer via MS EXCEL AND VBA
 MACROS
  <excel-macros@googlegroups.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
 RANGE FOR
  MULTIPLE TIMES
   To: excel-macros@googlegroups.com
   Date: Tuesday, January 24, 2017, 1:27 AM
   
   
   
   On Mon, 1/23/17, julienneschindler via MS EXCEL AND
 VBA
   MACROS <excel-macros@googlegroups.com>
   wrote:
   
    Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
  RANGE FOR
   MULTIPLE TIMES
    To: excel-macros@googlegroups.com
    Date: Monday, January 23, 2017, 10:58 PM
    
    
    
    On Mon, 1/23/17, GENIUS <izharra...@gmail.com>
    wrote:
    
     Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
   RANGE FOR
    MULTIPLE TIMES
     To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
     Cc: schreiner_p...@att.net
     Date: Monday, January 23, 2017, 5:13 PM
     
     That's
     great, Thank you very much for your help
     
     
     
     
     -- 
     
     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
    https://groups.google.com/group/excel-macros.
     
     For more options, visit
    https://groups.google.com/d/optout.
     n anii '50  relatiile romano-sovietice au
 evoluat
   de
    la o stransa cooperare la o distantare 
  ajungandu-se
    chiar la o autonomie a Partidului Comunist din
  Romania si
   la
    o relativa independenta  a statului roman.
  Elementele
    noi in relatiile dintre cele doua state au fost
   determinate
    de neincrederea personala dintre Gheorghiu-Dej si
   Hrusciov.
    O astfel de orientare politica era menita  in
  conceptia
    liderilor comunisti de la Bucuresti  sa afirme  cu
    si mai multa putere  rolul partidului comunist in
  ochii
    maselor populare.
    
    -- 
    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 

Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread silvers.r via MS EXCEL AND VBA MACROS


On Tue, 1/24/17, silvers.r via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: excel-macros@googlegroups.com
 Date: Tuesday, January 24, 2017, 6:22 AM
 
 
 
 On Tue, 1/24/17, libertystringer via MS EXCEL AND VBA MACROS
 <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR
 MULTIPLE TIMES
  To: excel-macros@googlegroups.com
  Date: Tuesday, January 24, 2017, 1:27 AM
  
  
  
  On Mon, 1/23/17, julienneschindler via MS EXCEL AND VBA
  MACROS <excel-macros@googlegroups.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
 RANGE FOR
  MULTIPLE TIMES
   To: excel-macros@googlegroups.com
   Date: Monday, January 23, 2017, 10:58 PM
   
   
   
   On Mon, 1/23/17, GENIUS <izharra...@gmail.com>
   wrote:
   
    Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
  RANGE FOR
   MULTIPLE TIMES
    To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
    Cc: schreiner_p...@att.net
    Date: Monday, January 23, 2017, 5:13 PM
    
    That's
    great, Thank you very much for your help
    
    
    
    
    -- 
    
    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
   https://groups.google.com/group/excel-macros.
    
    For more options, visit
   https://groups.google.com/d/optout.
    n anii '50  relatiile romano-sovietice au evoluat
  de
   la o stransa cooperare la o distantare 
 ajungandu-se
   chiar la o autonomie a Partidului Comunist din
 Romania si
  la
   o relativa independenta  a statului roman.
 Elementele
   noi in relatiile dintre cele doua state au fost
  determinate
   de neincrederea personala dintre Gheorghiu-Dej si
  Hrusciov.
   O astfel de orientare politica era menita  in
 conceptia
   liderilor comunisti de la Bucuresti  sa afirme  cu
   si mai multa putere  rolul partidului comunist in
 ochii
   maselor populare.
   
   -- 
   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
   https://groups.google.com/group/excel-macros.
   For more options, visit
   https://groups.google.com/d/optout.xersat
  in tara  in lungi si complicate procese  isi
  gaseste aici o noua confirmare 
  
  -- 
  Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you
  wanna be? It’s =TIME

Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread silvers.r via MS EXCEL AND VBA MACROS


On Tue, 1/24/17, libertystringer via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: excel-macros@googlegroups.com
 Date: Tuesday, January 24, 2017, 1:27 AM
 
 
 
 On Mon, 1/23/17, julienneschindler via MS EXCEL AND VBA
 MACROS <excel-macros@googlegroups.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR
 MULTIPLE TIMES
  To: excel-macros@googlegroups.com
  Date: Monday, January 23, 2017, 10:58 PM
  
  
  
  On Mon, 1/23/17, GENIUS <izharra...@gmail.com>
  wrote:
  
   Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A
 RANGE FOR
  MULTIPLE TIMES
   To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
   Cc: schreiner_p...@att.net
   Date: Monday, January 23, 2017, 5:13 PM
   
   That's
   great, Thank you very much for your help
   
   
   
   
   -- 
   
   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
  https://groups.google.com/group/excel-macros.
   
   For more options, visit
  https://groups.google.com/d/optout.
   n anii '50  relatiile romano-sovietice au evoluat
 de
  la o stransa cooperare la o distantare  ajungandu-se
  chiar la o autonomie a Partidului Comunist din Romania si
 la
  o relativa independenta  a statului roman. Elementele
  noi in relatiile dintre cele doua state au fost
 determinate
  de neincrederea personala dintre Gheorghiu-Dej si
 Hrusciov.
  O astfel de orientare politica era menita  in conceptia
  liderilor comunisti de la Bucuresti  sa afirme  cu
  si mai multa putere  rolul partidului comunist in ochii
  maselor populare.
  
  -- 
  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
  https://groups.google.com/group/excel-macros.
  For more options, visit
  https://groups.google.com/d/optout.xersat
 in tara  in lungi si complicate procese  isi
 gaseste aici o noua confirmare 
 
 -- 
 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 th

Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread libertystringer via MS EXCEL AND VBA MACROS


On Mon, 1/23/17, julienneschindler via MS EXCEL AND VBA MACROS 
<excel-macros@googlegroups.com> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: excel-macros@googlegroups.com
 Date: Monday, January 23, 2017, 10:58 PM
 
 
 
 On Mon, 1/23/17, GENIUS <izharra...@gmail.com>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR
 MULTIPLE TIMES
  To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
  Cc: schreiner_p...@att.net
  Date: Monday, January 23, 2017, 5:13 PM
  
  That's
  great, Thank you very much for your help
  
  
  
  
  -- 
  
  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
 https://groups.google.com/group/excel-macros.
  
  For more options, visit
 https://groups.google.com/d/optout.
  n anii '50  relatiile romano-sovietice au evoluat de
 la o stransa cooperare la o distantare  ajungandu-se
 chiar la o autonomie a Partidului Comunist din Romania si la
 o relativa independenta  a statului roman. Elementele
 noi in relatiile dintre cele doua state au fost determinate
 de neincrederea personala dintre Gheorghiu-Dej si Hrusciov.
 O astfel de orientare politica era menita  in conceptia
 liderilor comunisti de la Bucuresti  sa afirme  cu
 si mai multa putere  rolul partidului comunist in ochii
 maselor populare.
 
 -- 
 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
 https://groups.google.com/group/excel-macros.
 For more options, visit
 https://groups.google.com/d/optout.xersat in tara  in lungi si complicate 
procese  isi gaseste aici o noua confirmare 

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

Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread julienneschindler via MS EXCEL AND VBA MACROS


On Mon, 1/23/17, GENIUS <izharra...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: "MS EXCEL AND VBA MACROS" <excel-macros@googlegroups.com>
 Cc: schreiner_p...@att.net
 Date: Monday, January 23, 2017, 5:13 PM
 
 That's
 great, Thank you very much for your help
 
 
 
 
 -- 
 
 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 https://groups.google.com/group/excel-macros.
 
 For more options, visit https://groups.google.com/d/optout.
 n anii '50  relatiile romano-sovietice au evoluat de la o stransa cooperare la 
o distantare  ajungandu-se chiar la o autonomie a Partidului Comunist din 
Romania si la o relativa independenta  a statului roman. Elementele noi in 
relatiile dintre cele doua state au fost determinate de neincrederea personala 
dintre Gheorghiu-Dej si Hrusciov. O astfel de orientare politica era menita  in 
conceptia liderilor comunisti de la Bucuresti  sa afirme  cu si mai multa 
putere  rolul partidului comunist in ochii maselor populare.

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread GENIUS
That's great, Thank you very much for your help

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread mintaspriggs via MS EXCEL AND VBA MACROS


On Mon, 1/23/17, Paul Schreiner <schreiner_p...@att.net> wrote:

 Subject: Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES
 To: "excel-macros@googlegroups.com" <excel-macros@googlegroups.com>
 Date: Monday, January 23, 2017, 2:42 PM
 
 Are
 you wanting the end result such that cell A19 contains
 "Bill" (the value of A2)A20 =
 JoeA21 =
 DaveA22 =
 Fredand
 so on, then repeating this series for 15 sets?
 For
 THAT, you could use something like:Option ExplicitSub
 Dup_Sets()
    
 Dim nRow, nRows, dRow, SetCnt, SetNo
    
 SetCnt = 15
    
 
    
 nRows =
 Application.WorksheetFunction.CountA(Range("A:A"))
    
 
    
 For SetNo = 1 To SetCnt - 1
    
 For nRow = 2 To nRows
    
 Debug.Print nRow + (SetNo * (nRows - 1))
    
 Cells(nRow + (SetNo * (nRows - 1)), "A").Value =
 Cells(nRow, "A").Value
    
 Next nRow
    
 Next SetNo
 End
 Sub
 If that's not what you
 meant, then I need further explanation.
 
 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
 -
 
 
 On Friday, January 20, 2017 11:15 PM,
 Izhar <izharra...@gmail.com> wrote:
   
 
  
 I need code for the above nameSCENARIOif I want to copy the above
 names below the range for about 15
 times
 
 
 
 
 -- 
 
 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 https://groups.google.com/group/excel-macros.
 
 For more options, visit https://groups.google.com/d/optout.
 
 
  

 
 -- 
 
 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 https://groups.google.com/group/excel-macros.
 
 For more options, visit https://groups.google.com/d/optout.
 lteta Regala  ceea ce a semnificat intarirea prestigiului sau  dar si  in 
special  afirmarea unui nou statut international pentru Romania. Ulterior  
guvernele europene au recunoscut noul titlu oficial. Consolidarea pozitiei 
internationale a tarii noastre dupa cucerirea independentei de stat a permis 
proclamarea Romaniei ca regat. Aceasta s-a realizat la 14 martie 1881  dupa 
votul din parlament. in urma unor festivitati  la 10 22 mai 1881 Carol'si sotia 
sa  Ehsabeta de Wfeo poeta Carmen Sylva   au fost incoronati.

-- 
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 titl

Re: $$Excel-Macros$$ MACRO FOR COPYING A RANGE FOR MULTIPLE TIMES

2017-01-23 Thread Paul Schreiner
Are you wanting the end result such that cell A19 contains "Bill" (the value of 
A2)A20 = JoeA21 = DaveA22 = Fredand so on, then repeating this series for 15 
sets?
For THAT, you could use something like:Option ExplicitSub Dup_Sets()
    Dim nRow, nRows, dRow, SetCnt, SetNo
    SetCnt = 15
    
    nRows = Application.WorksheetFunction.CountA(Range("A:A"))
    
    For SetNo = 1 To SetCnt - 1
    For nRow = 2 To nRows
    Debug.Print nRow + (SetNo * (nRows - 1))
    Cells(nRow + (SetNo * (nRows - 1)), "A").Value = Cells(nRow, 
"A").Value
    Next nRow
    Next SetNo
End Sub
If that's not what you meant, then I need further explanation.

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
- 

On Friday, January 20, 2017 11:15 PM, Izhar  wrote:
 

 
I need code for the above nameSCENARIOif I want to copy the above names below 
the range for about 15 times-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ macro to be edit

2016-11-24 Thread GENIUS
Sir,
Thanks you very much for your help. Would you please suggest the best way 
for learning Macro and the videos, I have watched so many videos on macros 
but those videos are not so advanced.  Thanks once again.

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ macro to be edit

2016-11-23 Thread Paul Schreiner
You're not defining a delimiter.Are you using a comma (,) as the delimiter?
then you need Comma:=true, 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
- 

On Wednesday, November 23, 2016 10:56 AM, GENIUS  
wrote:
 

 you may see the attachment, I have made some changes in it, and then running 
the same but still not working.  Would you please change it and then send it to 
me the changed copy, please don't mention in the email because I'm not so 
expert in macro

NOTE:
I'm using excel 2013
-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ macro to be edit

2016-11-23 Thread GENIUS
you may see the attachment, I have made some changes in it, and then 
running the same but still not working.  Would you please change it and 
then send it to me the changed copy, please don't mention in the email 
because I'm not so expert in macro

NOTE:
I'm using excel 2013

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


TEXT TO COLUMN.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12


Re: $$Excel-Macros$$ macro to be edit

2016-11-22 Thread Paul Schreiner
It looks like it's a problem with your FieldInfo:= value.
You have:FieldInfo:=Array(1, 1)
when I recorded a macro, it used:
FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1)),

when I modified it to fit in your macro, it worked.
although, I suspect you should change your logic.Starting with column 1, 
NOthing should happen with column 1.
Perhaps you need to start with the last column and work backwards and stop when 
you encounter a column with values. 
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
- 

On Monday, November 21, 2016 9:34 PM, Izhar  wrote:
 

 HELLO
I'm interested to make column B as TEXT TO COLUMN thru the attach macro, I'm 
running the macro but nothing happend, would you please edit this macro so that 
the above target is achieved. Please take the whole column in the macro dont 
choose the range
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ MACRO NOT WORKNIG

2016-10-14 Thread GENIUS
Thank you very much Mr. Mihai Ghilea

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


RE: $$Excel-Macros$$ MACRO NOT WORKNIG

2016-10-13 Thread Mihai Ghilea
PFA.

 

METABRAS



Mihai Ghilea | Administrator retea 


T: +4(0) 268.407.410 | F: 0268.407.426 | M: 0728.994.113 


A: Strada Grivitei A44, Cod postal RO500182 


E:   mihai.ghi...@metabras.ro 


W:   3W.METABRAS.RO 

http://www.metabras.com/sigle/21-ani-otel-banner.png

P Think green!. Do you really need to print this email?




 

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On 
Behalf Of Izhar
Sent: 14 octombrie 2016 06:46
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ MACRO NOT WORKNIG

 

can anyone please check what's wrong with the macro in the attachment

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


VLOOKUP Using VBA.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12


Re: $$Excel-Macros$$ Macro run very slow

2016-09-20 Thread Learner Excel
please share your code.

--

On Tue, Sep 20, 2016 at 1:33 PM, chandrashekarb.xls <
chandrashekarb@gmail.com> wrote:

>
> Hi Team,
> Am trying to format few rows using vba code but it taking lot of time
> still have kept screenupdating & enableevent to false.
>
> Regards,
> Chandru
>
>
> Sent from my Samsung Galaxy smartphone.
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro to extract datas from PDF form to Excel sheet

2016-09-14 Thread Learner Excel
Hey,

If you are good in VBA coding then you can search "pdf to excel convert
vba" and take reference.

Please see below the some useful urls-


https://www.linkedin.com/groups/1871310/1871310-74131482
http://quickvba.blogspot.in/2010/12/import-pdf-in-excel.html
http://www.vbaexpress.com/kb/getarticle.php?kb_id=1101
http://www.ozgrid.com/forum/showthread.php?t=186024
https://acrobatusers.com/forum/general-acrobat-topics/
search-text-pdf-vba-only-adobe-reader-installed/
http://www.mrexcel.com/forum/excel-questions/776114-how-copy-data-pdf-excel-using-visual-basic-applications-multiple-sheets.html


--

On Wed, Sep 14, 2016 at 4:27 PM,  wrote:

> Hi,
> I have more than 350 PDF forms, all are identical format. I need to
> extract all field datas from PDF forms to Excel sheet in row wise. ie, file
> name with field data in row.
> Please guide to extract the datas from multiple PDF form to Excel.
>
> Thanks
> KVV
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-09 Thread GENIUS
Thanks brother that's great

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-09 Thread Learner Excel
Try enclosed one

--

On Fri, Sep 9, 2016 at 9:37 AM, GENIUS  wrote:

> working perfectly, thank you very much for your help
>
> one more question, if I have  figures in column A as shown in the sheet
> and I want to take the 17% in  column B of the amount of column A as shown
> in the attachment then how do I automate this task whenever i put a figure
> in column A and run the macro it calculates 17% in column B for more
> details please see the attachment
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


MACRO FOR APPLYING PERCENTAGE IN COLUMN B.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12


Re: $$Excel-Macros$$ Macro not working

2016-09-08 Thread GENIUS
working perfectly, thank you very much for your help

one more question, if I have  figures in column A as shown in the sheet and 
I want to take the 17% in  column B of the amount of column A as shown in 
the attachment then how do I automate this task whenever i put a figure in 
column A and run the macro it calculates 17% in column B for more details 
please see the attachment

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


MACRO FOR APPLYING PERCENTAGE IN COLUMN B.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Macro not working

2016-09-08 Thread Learner Excel
Opps you have register incorrect data type against variable j, data type
should be string

[image: Inline image 1]

--

On Thu, Sep 8, 2016 at 10:01 PM, GENIUS  wrote:

>
> Sir
>>>
>> Thanks for your follow up, I enable which you have mentioned in the last
>> mail but there is another message please see the attachment
>>
>> right now I have three version of excel i.e. 2007,2010 & 2013, I opened
>> the file in excel 2010 and I also have Microsoft outlook 2010
>>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-08 Thread Learner Excel
Attachment missing


--

On Thu, Sep 8, 2016 at 9:59 PM, GENIUS  wrote:

> Sir
>>
> Thanks for your follow up, I enable which you have mentioned in the last
> mail but there is another message please see the attachment
>
> right now I have three version of excel i.e. 2007,2010 & 2013, I opened
> the file in excel 2010 and I also have Microsoft outlook 2010
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-08 Thread GENIUS

>
> Sir
>
Thanks for your follow up, I enable which you have mentioned in the last 
mail but there is another message please see the attachment

right now I have three version of excel i.e. 2007,2010 & 2013, I opened the 
file in excel 2010 and I also have Microsoft outlook 2010

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-06 Thread Learner Excel
Brother, you have to add Outlook reference as well

[image: Inline image 1]

--

On Tue, Sep 6, 2016 at 9:18 AM, GENIUS  wrote:

> Sir
>
> I'm waiting for your reply very anxiously
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-05 Thread GENIUS
Sir

I'm waiting for your reply very anxiously

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro not working

2016-09-03 Thread Learner Excel
You need to add "Microsoft Outlook 14.0 Object Library" in references

--

On Sat, Sep 3, 2016 at 10:10 PM, Izhar  wrote:

>
> Please see the question in the attachment
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro is not working

2016-09-03 Thread 'ravinder negi' via MS EXCEL AND VBA MACROS
 

On Saturday, September 3, 2016 11:42 AM, GENIUS  
wrote:
 

 THANK YOU VERY MUCH MR GAURAV DEVRANI AND ALSO THANKS FOR MR XLS S for a new 
way of doing the same.

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Book1.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12


Re: $$Excel-Macros$$ Macro is not working

2016-09-03 Thread GENIUS
THANK YOU VERY MUCH MR GAURAV DEVRANI AND ALSO THANKS FOR MR XLS S for a 
new way of doing the same.

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro is not working

2016-09-02 Thread Gaurav Devrani
Hi,

I believe your code is extracting the file name from the path which you are
browsing.
Your code had problem in substitute formula. Please check

Function Extractfilename(url As Variant) As String
For i = 1 To Len(url)
If Mid(url, i, 1) = "\" Then
x = x + 1
End If
Next i
'n = Application.WorksheetFunction.Substitute("\", "@", x)
error in this line
n = Application.WorksheetFunction.Substitute(url, "\", "@", x)'''Corrected"
m = Application.WorksheetFunction.Search("@", n) + 1

Extractfilename = Trim(Mid(url, m, Len(url)))
End Function

On Fri, Sep 2, 2016 at 11:57 AM, Learner Excel  wrote:

> For list of file name, use enclosed code.
>
> --
>
> On Fri, Sep 2, 2016 at 10:33 PM, Izhar  wrote:
>
>>
>> Please open the file and see the question
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Thanks & Regards*
*Gaurav Devrani*

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro is not working

2016-09-02 Thread Learner Excel
For list of file name, use enclosed code.

--

On Fri, Sep 2, 2016 at 10:33 PM, Izhar  wrote:

>
> Please open the file and see the question
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


GetFileName.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12


Re: $$Excel-Macros$$ Macro error in opening file

2016-04-28 Thread Paul Schreiner
I simplified the macros wrote two versions.One using Dir() and another with the 
FileSystem object.
they both work just fine:
Sub First_Macro()
    Dim MyFile As String
    Dim path As String
    
    path = "D:\For Pankaj\Dump\"
    MyFile = Dir(path & "*L1.xlsx")
    
    Do While MyFile <> ""
    Workbooks.Open (path & MyFile)
    MyFile = Dir()
    Loop
End SubSub fSys_Macro()
    Dim f, fldr, fso
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set fldr = fso.getfolder("D:\For Pankaj\Dump")
    For Each f In fldr.Files
    If (InStr(1, f.Name, "L1") > 0) Then Workbooks.Open f.path
    Next f
End Sub
 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
- 

On Wednesday, April 27, 2016 4:05 PM, Secret Shot  
wrote:
 
 

 Dear Experts,
I want to open all files in a folder with suffix of "L1", where i have below 
files in a folder
04 L1.Xlsx04 L2.Xlsx05 L1.Xlsx05 L2.Xlsx06 L1.Xlsx06 L2.Xlsx

I want macro to open Only files which contain "L1", (Means 04 L1.Xlsx, 05 
L1.Xlsx, 06 L1.Xlsx).
I created 2 macros but both giving me same error "Run-time error '1004': Sorry, 
we couldn't find 05 L1.Xlsx. It is possible it was moved, renamed or deleted?"
Both macro are opening first file (I mean 04 L1.Xlsx) perfectly, but giving 
error on second file.
Below are the macro's 
Sub First_Macro()      Dim MyFile As String      Dim path As String        path 
= "D:\For Pankaj\Dump\"        MyFile = Dir(path & "*.xlsx")         Do While 
MyFile <> ""                If InStr(MyFile, "L1") > 0 Then                
MsgBox path & "\" & MyFile                Workbooks.Open (MyFile)        End If 
       MyFile = Dir()        Loop   End Sub 
Sub Second_Macro()Dim path As StringDim Fname As StringDim p As String
path = "D:\For Pankaj\Dump\"Fname = ".xlsx"p = "*L1"   MyFile = Dir(path & p & 
Fname)    Do While MyFile <> 0        Workbooks.Open (MyFile)        MyFile = 
Dir    LoopEnd Sub


Please help me in solving this issue. i know i am making some silly mistake but 
not able to understand why it is opening first file and giving error on second 
file. 

I would waiting for replies on this issue. 
-- 
Pankaj Pandey
Bhopal-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


 
  

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro error in opening file

2016-04-28 Thread Abhishek Jain
It is working perfectly fine at my end.

On Thu, Apr 28, 2016 at 11:36 AM, Secret Shot  wrote:

> I tried that option...  When I am using
>
> Workbooks.Open (path & MyFile)
>
> Then my loop is going in infinity and every time it is reopening the first
> file only.. Which 04 L1. Xlsx
>
> Pls suggest
> On Apr 28, 2016 11:02 AM, "Abhishek Jain"  wrote:
>
>> In your first macro, instead of:
>>
>> Workbooks.Open (MyFile)
>>
>> use:
>>
>> Workbooks.Open (path & MyFile)
>>
>> HTH
>>
>>
>> On Thu, Apr 28, 2016 at 9:26 AM, Secret Shot 
>> wrote:
>>
>>> Hi all,
>>>
>>> Can anybody pls look into it. I am really hoping that I will get
>>> resolution from this forum.
>>> On Apr 28, 2016 1:35 AM, "Secret Shot"  wrote:
>>>
 Dear Experts,

 I want to open all files in a folder with suffix of "L1", where i have
 below files in a folder

 04 L1.Xlsx
 04 L2.Xlsx
 05 L1.Xlsx
 05 L2.Xlsx
 06 L1.Xlsx
 06 L2.Xlsx

 I want macro to open Only files which contain "L1", (Means 04 L1.Xlsx,
 05 L1.Xlsx, 06 L1.Xlsx).

 I created 2 macros but both giving me same error "Run-time error
 '1004': Sorry, we couldn't find 05 L1.Xlsx. It is possible it was moved,
 renamed or deleted?"

 Both macro are opening first file (I mean 04 L1.Xlsx) perfectly, but
 giving error on second file.

 Below are the macro's

 Sub First_Macro()
   Dim MyFile As String
   Dim path As String
 path = "D:\For Pankaj\Dump\"
 MyFile = Dir(path & "*.xlsx")
  Do While MyFile <> ""
 If InStr(MyFile, "L1") > 0 Then
 MsgBox path & "\" & MyFile
 Workbooks.Open (MyFile)
 End If
 MyFile = Dir()
 Loop
End Sub

 Sub Second_Macro()
 Dim path As String
 Dim Fname As String
 Dim p As String

 path = "D:\For Pankaj\Dump\"
 Fname = ".xlsx"
 p = "*L1"

   MyFile = Dir(path & p & Fname)
 Do While MyFile <> 0
 Workbooks.Open (MyFile)
 MyFile = Dir
 Loop
 End Sub



 Please help me in solving this issue. i know i am making some silly
 mistake but not able to understand why it is opening first file and giving
 error on second file.


 I would waiting for replies on this issue.

 --
 Pankaj Pandey
 Bhopal

 --
 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 https://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.

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

Re: $$Excel-Macros$$ Macro error in opening file

2016-04-28 Thread Secret Shot
I tried that option...  When I am using

Workbooks.Open (path & MyFile)

Then my loop is going in infinity and every time it is reopening the first
file only.. Which 04 L1. Xlsx

Pls suggest
On Apr 28, 2016 11:02 AM, "Abhishek Jain"  wrote:

> In your first macro, instead of:
>
> Workbooks.Open (MyFile)
>
> use:
>
> Workbooks.Open (path & MyFile)
>
> HTH
>
>
> On Thu, Apr 28, 2016 at 9:26 AM, Secret Shot  wrote:
>
>> Hi all,
>>
>> Can anybody pls look into it. I am really hoping that I will get
>> resolution from this forum.
>> On Apr 28, 2016 1:35 AM, "Secret Shot"  wrote:
>>
>>> Dear Experts,
>>>
>>> I want to open all files in a folder with suffix of "L1", where i have
>>> below files in a folder
>>>
>>> 04 L1.Xlsx
>>> 04 L2.Xlsx
>>> 05 L1.Xlsx
>>> 05 L2.Xlsx
>>> 06 L1.Xlsx
>>> 06 L2.Xlsx
>>>
>>> I want macro to open Only files which contain "L1", (Means 04 L1.Xlsx,
>>> 05 L1.Xlsx, 06 L1.Xlsx).
>>>
>>> I created 2 macros but both giving me same error "Run-time error '1004':
>>> Sorry, we couldn't find 05 L1.Xlsx. It is possible it was moved, renamed or
>>> deleted?"
>>>
>>> Both macro are opening first file (I mean 04 L1.Xlsx) perfectly, but
>>> giving error on second file.
>>>
>>> Below are the macro's
>>>
>>> Sub First_Macro()
>>>   Dim MyFile As String
>>>   Dim path As String
>>> path = "D:\For Pankaj\Dump\"
>>> MyFile = Dir(path & "*.xlsx")
>>>  Do While MyFile <> ""
>>> If InStr(MyFile, "L1") > 0 Then
>>> MsgBox path & "\" & MyFile
>>> Workbooks.Open (MyFile)
>>> End If
>>> MyFile = Dir()
>>> Loop
>>>End Sub
>>>
>>> Sub Second_Macro()
>>> Dim path As String
>>> Dim Fname As String
>>> Dim p As String
>>>
>>> path = "D:\For Pankaj\Dump\"
>>> Fname = ".xlsx"
>>> p = "*L1"
>>>
>>>   MyFile = Dir(path & p & Fname)
>>> Do While MyFile <> 0
>>> Workbooks.Open (MyFile)
>>> MyFile = Dir
>>> Loop
>>> End Sub
>>>
>>>
>>>
>>> Please help me in solving this issue. i know i am making some silly
>>> mistake but not able to understand why it is opening first file and giving
>>> error on second file.
>>>
>>>
>>> I would waiting for replies on this issue.
>>>
>>> --
>>> Pankaj Pandey
>>> Bhopal
>>>
>>> --
>>> 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 https://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Are you =EXP(E:RT) 

Re: $$Excel-Macros$$ Macro error in opening file

2016-04-27 Thread Abhishek Jain
In your first macro, instead of:

Workbooks.Open (MyFile)

use:

Workbooks.Open (path & MyFile)

HTH


On Thu, Apr 28, 2016 at 9:26 AM, Secret Shot  wrote:

> Hi all,
>
> Can anybody pls look into it. I am really hoping that I will get
> resolution from this forum.
> On Apr 28, 2016 1:35 AM, "Secret Shot"  wrote:
>
>> Dear Experts,
>>
>> I want to open all files in a folder with suffix of "L1", where i have
>> below files in a folder
>>
>> 04 L1.Xlsx
>> 04 L2.Xlsx
>> 05 L1.Xlsx
>> 05 L2.Xlsx
>> 06 L1.Xlsx
>> 06 L2.Xlsx
>>
>> I want macro to open Only files which contain "L1", (Means 04 L1.Xlsx, 05
>> L1.Xlsx, 06 L1.Xlsx).
>>
>> I created 2 macros but both giving me same error "Run-time error '1004':
>> Sorry, we couldn't find 05 L1.Xlsx. It is possible it was moved, renamed or
>> deleted?"
>>
>> Both macro are opening first file (I mean 04 L1.Xlsx) perfectly, but
>> giving error on second file.
>>
>> Below are the macro's
>>
>> Sub First_Macro()
>>   Dim MyFile As String
>>   Dim path As String
>> path = "D:\For Pankaj\Dump\"
>> MyFile = Dir(path & "*.xlsx")
>>  Do While MyFile <> ""
>> If InStr(MyFile, "L1") > 0 Then
>> MsgBox path & "\" & MyFile
>> Workbooks.Open (MyFile)
>> End If
>> MyFile = Dir()
>> Loop
>>End Sub
>>
>> Sub Second_Macro()
>> Dim path As String
>> Dim Fname As String
>> Dim p As String
>>
>> path = "D:\For Pankaj\Dump\"
>> Fname = ".xlsx"
>> p = "*L1"
>>
>>   MyFile = Dir(path & p & Fname)
>> Do While MyFile <> 0
>> Workbooks.Open (MyFile)
>> MyFile = Dir
>> Loop
>> End Sub
>>
>>
>>
>> Please help me in solving this issue. i know i am making some silly
>> mistake but not able to understand why it is opening first file and giving
>> error on second file.
>>
>>
>> I would waiting for replies on this issue.
>>
>> --
>> Pankaj Pandey
>> Bhopal
>>
>> --
>> 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 https://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

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

Re: $$Excel-Macros$$ Macro error in opening file

2016-04-27 Thread Secret Shot
Hi all,

Can anybody pls look into it. I am really hoping that I will get resolution
from this forum.
On Apr 28, 2016 1:35 AM, "Secret Shot"  wrote:

> Dear Experts,
>
> I want to open all files in a folder with suffix of "L1", where i have
> below files in a folder
>
> 04 L1.Xlsx
> 04 L2.Xlsx
> 05 L1.Xlsx
> 05 L2.Xlsx
> 06 L1.Xlsx
> 06 L2.Xlsx
>
> I want macro to open Only files which contain "L1", (Means 04 L1.Xlsx, 05
> L1.Xlsx, 06 L1.Xlsx).
>
> I created 2 macros but both giving me same error "Run-time error '1004':
> Sorry, we couldn't find 05 L1.Xlsx. It is possible it was moved, renamed or
> deleted?"
>
> Both macro are opening first file (I mean 04 L1.Xlsx) perfectly, but
> giving error on second file.
>
> Below are the macro's
>
> Sub First_Macro()
>   Dim MyFile As String
>   Dim path As String
> path = "D:\For Pankaj\Dump\"
> MyFile = Dir(path & "*.xlsx")
>  Do While MyFile <> ""
> If InStr(MyFile, "L1") > 0 Then
> MsgBox path & "\" & MyFile
> Workbooks.Open (MyFile)
> End If
> MyFile = Dir()
> Loop
>End Sub
>
> Sub Second_Macro()
> Dim path As String
> Dim Fname As String
> Dim p As String
>
> path = "D:\For Pankaj\Dump\"
> Fname = ".xlsx"
> p = "*L1"
>
>   MyFile = Dir(path & p & Fname)
> Do While MyFile <> 0
> Workbooks.Open (MyFile)
> MyFile = Dir
> Loop
> End Sub
>
>
>
> Please help me in solving this issue. i know i am making some silly
> mistake but not able to understand why it is opening first file and giving
> error on second file.
>
>
> I would waiting for replies on this issue.
>
> --
> Pankaj Pandey
> Bhopal
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro send different files to different recipients

2016-04-04 Thread Paul Schreiner
What do you mean by "it generates an error"?Turning off screen updating imply 
makes it so that the screen isn't flashing and updating whenever you switch 
between sheets or updates values.It doesn't do ANYTHING to handle errors.
"Alerts" is what the messages are that are things like:prompts when removing 
sheets or deleting files.So, turning off the alerts simply makes it so that the 
macro does what it instructs rather than asking: "OK to ...?"Regardless, that 
isn't handling errors.
So, neither of these would cause errors to be skipped.
What kind of error are you seeing?
next:You said you have 64 reports to be sent to 64 emails.
You need to figure out how you want to specify the file names and email 
addresses and pass that info to the send_mail macro.

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
- 

On Monday, April 4, 2016 11:27 AM, Jorge Marques  
wrote:
 
 

 Hi,Any update on this? Do I need to run/duplicate this macro for each email? 
also strangely If I run the macro, I then start receiving duplicate emails in 
my email box, do I need to activate/deactivate something?
Thank you very much in advance,jorge
On 16 March 2016 at 13:01, Jorge Marques  wrote:

Hi Paul,i have the Microsoft Outlook 15.0 Object Library.
The Macros runs fine if I remove the updates and display alerts, if not it 
generates error.
'Application.ScreenUpdating = False 'Application.DisplayAlerts = False
This is great starting point, my challenge now besides the error is how do I 
point 64 emails to 64 reports to 64 separate emails? I know there are not 
miracles but can this be done automatically, and not running the macro 
differently 64x? Or is that defined in the function below?
Thank you very much,Jorge 





On 16 March 2016 at 12:28, Paul Schreiner  wrote:

In VBA, you'll need to include the "Microsoft Outlook 14.0 Object Library 
"(under Tools->References)
then, this VBA code should work:(use your own email addresses for 
"name@domain")---Option Explicit
Sub Test_Mail()
    Dim Stat, fso
    Dim Mail_Addr_To, Mail_Addr_CC, Mail_Subject, Mail_Body, FileName
    
    Set fso = CreateObject("Scripting.FileSystemObject")
    '
    ' Note: the list of email addresses must be separated by (;)
    '
    Mail_Addr_To = "name@domain;name@domain"
    Mail_Addr_CC = "name@domain"
    Mail_Subject = "Test Email"
    Mail_Body = "This is a test email from Outlook"
    FileName = "C:\temp\TD_Drawings.txt"
    
    If (fso.fileexists(FileName)) Then
    Stat = Send_Mail(Mail_Addr_To, Mail_Addr_CC, Mail_Subject, Mail_Body, 
FileName)
    End If
End Sub
Function Send_Mail(TO_Addr, CC_Addr, MsgSubject, MsgBody, MsgAttachment)
    Dim I As Long, fso
    Dim olApp As Outlook.Application
    Dim olMail As MailItem
    Dim Stat
    
    Application.DisplayAlerts = False
    
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set olApp = New Outlook.Application
    Set olMail = olApp.CreateItem(olMailItem)
    Err.Clear
    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    Err.Clear
    On Error Resume Next
 
    Set olApp = GetObject(, "Outlook.Application")
    
    '
    ' If Outlook is not running, this starts it
    '
    If Err.Number <> 0 Then
    Stat = Shell("outlook.exe ", vbNormalNoFocus)
    Application.Wait (Now + TimeValue("0:00:04"))
    Err.Clear
    Set olApp = GetObject(, "Outlook.Application")
    If Err.Number <> 0 Then
    Exit Function
    End If
    End If
    On Error GoTo 0
    '
    With olMail
    .To = TO_Addr
 If (CC_Addr & "X" <> "X") Then _
    .CC = CC_Addr
    .Subject = MsgSubject
    .body = MsgBody
    If ((MsgAttachment & "X" <> "X") _
    And (fso.fileexists(MsgAttachment))) Then _
    .Attachments.Add MsgAttachment
    .Send
    End With
    
    Application.ScreenUpdating = True
    Application.DisplayAlerts = True
    If (Err.Number = 0) Then
    Send_Mail = True
    Else
    Send_Mail = False
    End If
    
    Application.DisplayAlerts = True
    
End Function
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
- 

On Tuesday, 

Re: $$Excel-Macros$$ Macro send different files to different recipients

2016-04-04 Thread Jorge Marques
Hi,
Any update on this? Do I need to run/duplicate this macro for each email?
also strangely If I run the macro, I then start receiving duplicate emails
in my email box, do I need to activate/deactivate something?

Thank you very much in advance,
jorge

On 16 March 2016 at 13:01, Jorge Marques  wrote:

> Hi Paul,
> i have the Microsoft Outlook 15.0 Object Library.
>
> The Macros runs fine if I remove the updates and display alerts, if not it
> generates error.
>
> 'Application.ScreenUpdating = False
>  'Application.DisplayAlerts = False
>
> This is great starting point, my challenge now besides the error is how do
> I point 64 emails to 64 reports to 64 separate emails? I know there are not
> miracles but can this be done automatically, and not running the macro
> differently 64x? Or is that defined in the function below?
>
> Thank you very much,
> Jorge
>
>
>
>
>
>
> On 16 March 2016 at 12:28, Paul Schreiner  wrote:
>
>> In VBA, you'll need to include the "Microsoft Outlook 14.0 Object Library
>> "
>> (under Tools->References)
>>
>> then, this VBA code should work:
>> (use your own email addresses for "name@domain")
>> ---
>> Option Explicit
>> Sub Test_Mail()
>> Dim Stat, fso
>> Dim Mail_Addr_To, Mail_Addr_CC, Mail_Subject, Mail_Body, FileName
>>
>> Set fso = CreateObject("Scripting.FileSystemObject")
>> '
>> ' Note: the list of email addresses must be separated by (;)
>> '
>> Mail_Addr_To = "name@domain;name@domain"
>> Mail_Addr_CC = "name@domain"
>> Mail_Subject = "Test Email"
>> Mail_Body = "This is a test email from Outlook"
>> FileName = "C:\temp\TD_Drawings.txt"
>>
>> If (fso.fileexists(FileName)) Then
>> Stat = Send_Mail(Mail_Addr_To, Mail_Addr_CC, Mail_Subject,
>> Mail_Body, FileName)
>> End If
>> End Sub
>> Function Send_Mail(TO_Addr, CC_Addr, MsgSubject, MsgBody, MsgAttachment)
>> Dim I As Long, fso
>> Dim olApp As Outlook.Application
>> Dim olMail As MailItem
>> Dim Stat
>>
>> Application.DisplayAlerts = False
>>
>> Set fso = CreateObject("Scripting.FileSystemObject")
>> Set olApp = New Outlook.Application
>> Set olMail = olApp.CreateItem(olMailItem)
>> Err.Clear
>> Application.ScreenUpdating = False
>> Application.DisplayAlerts = False
>> Err.Clear
>> On Error Resume Next
>>
>> Set olApp = GetObject(, "Outlook.Application")
>>
>> '
>> ' If Outlook is not running, this starts it
>> '
>> If Err.Number <> 0 Then
>> Stat = Shell("outlook.exe ", vbNormalNoFocus)
>> Application.Wait (Now + TimeValue("0:00:04"))
>> Err.Clear
>> Set olApp = GetObject(, "Outlook.Application")
>> If Err.Number <> 0 Then
>> Exit Function
>> End If
>> End If
>> On Error GoTo 0
>> '
>> With olMail
>> .To = TO_Addr
>>  If (CC_Addr & "X" <> "X") Then _
>> .CC = CC_Addr
>> .Subject = MsgSubject
>> .body = MsgBody
>> If ((MsgAttachment & "X" <> "X") _
>> And (fso.fileexists(MsgAttachment))) Then _
>> .Attachments.Add MsgAttachment
>> .Send
>> End With
>>
>> Application.ScreenUpdating = True
>> Application.DisplayAlerts = True
>> If (Err.Number = 0) Then
>> Send_Mail = True
>> Else
>> Send_Mail = False
>> End If
>>
>> Application.DisplayAlerts = True
>>
>> End Function
>> *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*
>> -
>>
>>
>> On Tuesday, March 15, 2016 5:49 PM, Jorge Marques 
>> wrote:
>>
>>
>>
>> Hi Paul,
>> Yes I use Outlook, Having Outlook opened for it to work is not an issue
>> for me,  it is always open from the moment computer is on until is shut
>> down. Providing the function would be more than helpful :). Thank you very
>> much!
>>
>> Best,
>> Jorge
>>
>> On 15 March 2016 at 19:15, Paul Schreiner  wrote:
>>
>> First of all, Excel doesn't have email capability.
>> What it DOES do, however, is allow you to use your existing email
>> software.
>>
>> At least somewhat.
>>
>> What email do you use?
>> I use Outlook.
>> With that, I can write a function that takes the email address and
>> filename as input and creates/sends the appropriate email.
>>
>> But you have to have Outlook open for it to work.
>>
>> I can provide that 

Re: $$Excel-Macros$$ Macro send different files to different recipients

2016-03-19 Thread Paul Schreiner
In VBA, you'll need to include the "Microsoft Outlook 14.0 Object Library 
"(under Tools->References)
then, this VBA code should work:(use your own email addresses for 
"name@domain")---Option Explicit
Sub Test_Mail()
    Dim Stat, fso
    Dim Mail_Addr_To, Mail_Addr_CC, Mail_Subject, Mail_Body, FileName
    
    Set fso = CreateObject("Scripting.FileSystemObject")
    '
    ' Note: the list of email addresses must be separated by (;)
    '
    Mail_Addr_To = "name@domain;name@domain"
    Mail_Addr_CC = "name@domain"
    Mail_Subject = "Test Email"
    Mail_Body = "This is a test email from Outlook"
    FileName = "C:\temp\TD_Drawings.txt"
    
    If (fso.fileexists(FileName)) Then
    Stat = Send_Mail(Mail_Addr_To, Mail_Addr_CC, Mail_Subject, Mail_Body, 
FileName)
    End If
End Sub
Function Send_Mail(TO_Addr, CC_Addr, MsgSubject, MsgBody, MsgAttachment)
    Dim I As Long, fso
    Dim olApp As Outlook.Application
    Dim olMail As MailItem
    Dim Stat
    
    Application.DisplayAlerts = False
    
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set olApp = New Outlook.Application
    Set olMail = olApp.CreateItem(olMailItem)
    Err.Clear
    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    Err.Clear
    On Error Resume Next
 
    Set olApp = GetObject(, "Outlook.Application")
    
    '
    ' If Outlook is not running, this starts it
    '
    If Err.Number <> 0 Then
    Stat = Shell("outlook.exe ", vbNormalNoFocus)
    Application.Wait (Now + TimeValue("0:00:04"))
    Err.Clear
    Set olApp = GetObject(, "Outlook.Application")
    If Err.Number <> 0 Then
    Exit Function
    End If
    End If
    On Error GoTo 0
    '
    With olMail
    .To = TO_Addr
 If (CC_Addr & "X" <> "X") Then _
    .CC = CC_Addr
    .Subject = MsgSubject
    .body = MsgBody
    If ((MsgAttachment & "X" <> "X") _
    And (fso.fileexists(MsgAttachment))) Then _
    .Attachments.Add MsgAttachment
    .Send
    End With
    
    Application.ScreenUpdating = True
    Application.DisplayAlerts = True
    If (Err.Number = 0) Then
    Send_Mail = True
    Else
    Send_Mail = False
    End If
    
    Application.DisplayAlerts = True
    
End Function
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
- 

On Tuesday, March 15, 2016 5:49 PM, Jorge Marques  
wrote:
 
 

 Hi Paul,Yes I use Outlook, Having Outlook opened for it to work is not an 
issue for me,  it is always open from the moment computer is on until is shut 
down. Providing the function would be more than helpful :). Thank you very much!
Best,Jorge
On 15 March 2016 at 19:15, Paul Schreiner  wrote:

First of all, Excel doesn't have email capability.What it DOES do, however, is 
allow you to use your existing email software.
At least somewhat.
What email do you use?I use Outlook.With that, I can write a function that 
takes the email address and filename as input and creates/sends the appropriate 
email.
But you have to have Outlook open for it to work.
I can provide that function if it is helpful. 
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
- 

On Tuesday, March 15, 2016 11:28 AM, Jorge Marques  
wrote:
 
 

 Hi all,I have been searching but haven´t found so far a macro similar to this 
one, the situation point is:
Have one folder: C:\Users\username\Documents\Weekly Report\
With 4 different reports:
Report 1Report 2Report n...
 for 4 different companies (Reports are the same but for different customers)
Then a Email recipient excel with the emails I should send these reports every 
week
Is there a way for me to open the Email Recipient excel run a macro, and then 
it sends 4 different emails with the respective reports attached to the 
respective email recipient?
So Reports  should be attached to an email separately from each and sent to 

| u...@company1.com

Report 2 sent to 


| u...@company2.com |

 |


So 4 reports, 4 emails sent separately but same text (subject, description)
A 1000 thanks in advance :).
-- 
Best Regards,Jorge Marques-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in 

Re: $$Excel-Macros$$ Macro send different files to different recipients

2016-03-19 Thread Jorge Marques
Hi Paul,
i have the Microsoft Outlook 15.0 Object Library.

The Macros runs fine if I remove the updates and display alerts, if not it
generates error.

'Application.ScreenUpdating = False
 'Application.DisplayAlerts = False

This is great starting point, my challenge now besides the error is how do
I point 64 emails to 64 reports to 64 separate emails? I know there are not
miracles but can this be done automatically, and not running the macro
differently 64x? Or is that defined in the function below?

Thank you very much,
Jorge






On 16 March 2016 at 12:28, Paul Schreiner  wrote:

> In VBA, you'll need to include the "Microsoft Outlook 14.0 Object Library "
> (under Tools->References)
>
> then, this VBA code should work:
> (use your own email addresses for "name@domain")
> ---
> Option Explicit
> Sub Test_Mail()
> Dim Stat, fso
> Dim Mail_Addr_To, Mail_Addr_CC, Mail_Subject, Mail_Body, FileName
>
> Set fso = CreateObject("Scripting.FileSystemObject")
> '
> ' Note: the list of email addresses must be separated by (;)
> '
> Mail_Addr_To = "name@domain;name@domain"
> Mail_Addr_CC = "name@domain"
> Mail_Subject = "Test Email"
> Mail_Body = "This is a test email from Outlook"
> FileName = "C:\temp\TD_Drawings.txt"
>
> If (fso.fileexists(FileName)) Then
> Stat = Send_Mail(Mail_Addr_To, Mail_Addr_CC, Mail_Subject,
> Mail_Body, FileName)
> End If
> End Sub
> Function Send_Mail(TO_Addr, CC_Addr, MsgSubject, MsgBody, MsgAttachment)
> Dim I As Long, fso
> Dim olApp As Outlook.Application
> Dim olMail As MailItem
> Dim Stat
>
> Application.DisplayAlerts = False
>
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set olApp = New Outlook.Application
> Set olMail = olApp.CreateItem(olMailItem)
> Err.Clear
> Application.ScreenUpdating = False
> Application.DisplayAlerts = False
> Err.Clear
> On Error Resume Next
>
> Set olApp = GetObject(, "Outlook.Application")
>
> '
> ' If Outlook is not running, this starts it
> '
> If Err.Number <> 0 Then
> Stat = Shell("outlook.exe ", vbNormalNoFocus)
> Application.Wait (Now + TimeValue("0:00:04"))
> Err.Clear
> Set olApp = GetObject(, "Outlook.Application")
> If Err.Number <> 0 Then
> Exit Function
> End If
> End If
> On Error GoTo 0
> '
> With olMail
> .To = TO_Addr
>  If (CC_Addr & "X" <> "X") Then _
> .CC = CC_Addr
> .Subject = MsgSubject
> .body = MsgBody
> If ((MsgAttachment & "X" <> "X") _
> And (fso.fileexists(MsgAttachment))) Then _
> .Attachments.Add MsgAttachment
> .Send
> End With
>
> Application.ScreenUpdating = True
> Application.DisplayAlerts = True
> If (Err.Number = 0) Then
> Send_Mail = True
> Else
> Send_Mail = False
> End If
>
> Application.DisplayAlerts = True
>
> End Function
> *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*
> -
>
>
> On Tuesday, March 15, 2016 5:49 PM, Jorge Marques 
> wrote:
>
>
>
> Hi Paul,
> Yes I use Outlook, Having Outlook opened for it to work is not an issue
> for me,  it is always open from the moment computer is on until is shut
> down. Providing the function would be more than helpful :). Thank you very
> much!
>
> Best,
> Jorge
>
> On 15 March 2016 at 19:15, Paul Schreiner  wrote:
>
> First of all, Excel doesn't have email capability.
> What it DOES do, however, is allow you to use your existing email software.
>
> At least somewhat.
>
> What email do you use?
> I use Outlook.
> With that, I can write a function that takes the email address and
> filename as input and creates/sends the appropriate email.
>
> But you have to have Outlook open for it to work.
>
> I can provide that function if it is helpful.
>
> *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*
> -
>
>
> On Tuesday, March 15, 2016 11:28 AM, Jorge Marques 
> wrote:
>
>
>
> Hi all,
> I have been searching but haven´t found so far a macro 

Re: $$Excel-Macros$$ Macro send different files to different recipients

2016-03-15 Thread Jorge Marques
Hi Paul,
Yes I use Outlook, Having Outlook opened for it to work is not an issue for
me,  it is always open from the moment computer is on until is shut down.
Providing the function would be more than helpful :). Thank you very much!

Best,
Jorge

On 15 March 2016 at 19:15, Paul Schreiner  wrote:

> First of all, Excel doesn't have email capability.
> What it DOES do, however, is allow you to use your existing email software.
>
> At least somewhat.
>
> What email do you use?
> I use Outlook.
> With that, I can write a function that takes the email address and
> filename as input and creates/sends the appropriate email.
>
> But you have to have Outlook open for it to work.
>
> I can provide that function if it is helpful.
>
> *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*
> -
>
>
> On Tuesday, March 15, 2016 11:28 AM, Jorge Marques 
> wrote:
>
>
>
> Hi all,
> I have been searching but haven´t found so far a macro similar to this
> one, the situation point is:
>
> Have one folder: C:\Users\username\Documents\Weekly Report\
>
> With 4 different reports:
>
> Report 1
> Report 2
> Report n...
>
>  for 4 different companies (Reports are the same but for different
> customers)
>
> Then a Email recipient excel with the emails I should send these reports
> every week
>
> Is there a way for me to open the Email Recipient excel run a macro, and
> then it sends 4 different emails with the respective reports attached to
> the respective email recipient?
>
> So Reports  should be attached to an email separately from each and sent
> to
>
> u...@company1.com
>
> Report 2 sent to
>
> u...@company2.com
>
> So 4 reports, 4 emails sent separately but same text (subject, description)
>
> A 1000 thanks in advance :).
>
> --
> Best Regards,
> Jorge Marques
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best Regards,
Jorge Marques

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

Re: $$Excel-Macros$$ Macro send different files to different recipients

2016-03-15 Thread Paul Schreiner
First of all, Excel doesn't have email capability.What it DOES do, however, is 
allow you to use your existing email software.
At least somewhat.
What email do you use?I use Outlook.With that, I can write a function that 
takes the email address and filename as input and creates/sends the appropriate 
email.
But you have to have Outlook open for it to work.
I can provide that function if it is helpful. 
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
- 

On Tuesday, March 15, 2016 11:28 AM, Jorge Marques  
wrote:
 
 

 Hi all,I have been searching but haven´t found so far a macro similar to this 
one, the situation point is:
Have one folder: C:\Users\username\Documents\Weekly Report\
With 4 different reports:
Report 1Report 2Report n...
 for 4 different companies (Reports are the same but for different customers)
Then a Email recipient excel with the emails I should send these reports every 
week
Is there a way for me to open the Email Recipient excel run a macro, and then 
it sends 4 different emails with the respective reports attached to the 
respective email recipient?
So Reports  should be attached to an email separately from each and sent to 

| u...@company1.com

Report 2 sent to 


| u...@company2.com |

 |


So 4 reports, 4 emails sent separately but same text (subject, description)
A 1000 thanks in advance :).
-- 
Best Regards,Jorge Marques-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


 
  

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro Require

2016-03-06 Thread jayendra gaurav
please support me.

On Mon, Feb 29, 2016 at 6:19 PM, jayendra gaurav 
wrote:

> Dear All,
>
>
> I have 1150 separate files of part list Variant wise. and other hand I
> have part list can you please suggest way that how can I search part usage
> quantity of each part no as per variant wise.
>
> *Example - lest suppose that I have file no - 47402452.5 as attached under
> . *
>
> and I want part usage qty as attached in out put file .I just simple enter
> variant no (47402452.5) and macro will search file no and then search part
> usage qty against part no.
>
> --
> J.Gaurav
> Call-7838594954
>
> --
> 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 https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
J.Gaurav
Call-7838594954

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ macro for custom views

2016-02-02 Thread Paul Schreiner
Do you mean:
Application.Dialogs(xlDialogCustomViews).Show
? 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
- 

On Saturday, January 30, 2016 2:52 AM, Izhar  wrote:
 
 

 
look at the attachment, i need a macro in which CUSTOM VIEWS coding required. 
In this workbook i have different sheets having different names, i need a macro 
when i run it opens that custom views dialogue box and I choose a sheet, I'm 
running excel 2013 and you know I'm talking about the CUSTOM VIEWS, which is in 
VIEW tab in the WORKBOOK VIEWS group


-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


 
  

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro to Import Word Tables to Excel from a folder

2016-02-02 Thread Samuellificationable
Hi, I know I'm a bit late to this so might not get answer but your code is 
exactly what I need to do but I get a runtime error on the line Dim appWord 
As Word.Application with the error "User-defined type not defined", do you 
have any idea why?  Thanks so much for the code.

On Wednesday, October 2, 2013 at 6:09:44 AM UTC+1, ashish wrote:
>
> try this
>
> Sub import_word_table_to_excel()
> Application.DisplayAlerts = False
> Application.ScreenUpdating = False
> Dim fldpath
> Dim fld, fil As Object
> Dim appWord As Word.Application
> Dim docWord As Word.Document
> Dim tableWord As Word.Table
> Dim sdoc As String
>
>
> ' use to choose the folder having word documents
>
> Application.FileDialog(msoFileDialogFolderPicker).Title = "Choose Folder"
> Application.FileDialog(msoFileDialogFolderPicker).Show
> fldpath = 
> Application.FileDialog(msoFileDialogFolderPicker).SelectedItems(1) & "\"
> Set fso = CreateObject("scripting.filesystemobject")
> Set fld = fso.getfolder(fldpath)
>
> Set appWord = New Word.Application
> appWord.Visible = True
> For Each fil In fld.Files
>
> ' browse word documents in a folder
>
>
> If UCase(Right(fil.Path, 4)) = UCase(".doc") Or UCase(Right(fil.Path, 5)) 
> = UCase(".docx") Then
> Set docWord = appWord.Documents.Open(fil.Path)
> For Each tableWord In docWord.Tables
> ' copy word tables
> tableWord.Range.Copy
> ' paste it on sheet 1 of excel file
> Sheets(1).Paste Destination:=Sheets(1).Range("A65356").End(xlUp).Offset(1, 
> 0)
> Next
> docWord.Close
> End If
> Next fil
>
>
> appWord.Quit
> Sheets(1).Select
> Set tableWord = Nothing
> Set docWord = Nothing
> Set appWord = Nothing
>
> Application.DisplayAlerts = True
> Application.ScreenUpdating = True
>
> End Sub
>
>
> On Mon, Sep 30, 2013 at 12:47 PM, Nasir Khan  > wrote:
>
>>
>> Hello All,
>> I have got lot of MS Word files in a folder eg. C:\Test\> here>
>> I wish to copy and paste the Tables from all the word documents in the 
>> above mentioned folder to excel.
>>  
>> I found Macro1 (see below) which copy and paste the Table in Excel.
>> My requirement is to get the tables from all the documents from each 
>> folder in the path C:\Test\
>> Can Macro 1 be amended *to copy and paste all tables from each folder in 
>> C:\Test\*
>>  
>> *MACRO 1 TO IMPORT WORD TABLE*
>> Sub ImportWordTable()
>> On Error GoTo errHandler
>> Dim wordDoc As Object
>> Dim wdFileName As Variant
>> Dim noTble As Integer
>> Dim rowNb As Long
>> Dim colNb As Integer
>> Dim x As Long, y As Long
>> x = 1: y = 1
>> wdFileName = Application.GetOpenFilename("Word files 
>> (*.docx),*.docx", , _
>> "Browse for file containing table to be imported") 'adjust this to 
>> the document type you are after
>> If wdFileName = False Then Exit Sub
>> Set wordDoc = GetObject(wdFileName)
>> With wordDoc
>> noTble = wordDoc.tables.Count
>> If noTble = 0 Then
>> MsgBox "No Tables in this document", vbExclamation, "No 
>> Tables to Import"
>> Exit Sub
>> End If
>>  
>>  
>> For k = 1 To noTble
>> With .tables(k)
>> For rowNb = 1 To .Rows.Count
>> For colNb = 1 To .Columns.Count
>> Cells(x, y) = 
>> WorksheetFunction.Clean(.cell(rowNb, colNb).Range.Text)
>> y = y + 1
>> Next colNb
>> y = 1
>> x = x + 1
>> Next rowNb
>> End With
>> x = x + 2
>> Next
>> End With
>> Set wordDoc = Nothing
>> Exit Sub
>> errHandler:
>> MsgBox "Error in generating tables - " & Err.Number & " - " & 
>> Err.Description
>> End Sub
>>  
>> *MACRO 2 TO RUN ON ALL THE FOLDERS - this gives me runtime error as shown 
>> below*
>>  
>> Sub RunOnAllFolders()
>> Dim file
>> Dim path As String
>> Dim MyArray()
>> Dim N As Long
>> path = "C:\Test\"
>> file = Dir(path & "*.docx")
>> ReDim MyArray(0)
>> Do While file <> ""
>> If MyArray(0) = "" Then
>> MyArray(0) = file
>> Else
>> ReDim Preserve MyArray(UBound(MyArray) + 1)
>> MyArray(UBound(MyArray)) = file
>> End If
>> file = Dir()
>> Loop
>> For N = 0 To UBound(MyArray)
>>Documents.Open filename:=path & MyArray(N) *'<> ActiveX Component can't create Object >>*
>>
>>  *Call ImportWordTable*
>> 
>> ActiveDocument.Save
>> ActiveDocument.Close
>> file = Dir()
>> Next N
>> End Sub
>> Can the runtime error 429 be rectified from Macro 2
>>  
>> Any help would be appreciated.
>> Regards
>> Nasir 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
>>  
>> FORUM RULES
>>  
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please 
>> Help, Urgent, Need Help, Formula Problem, Code 

Re: $$Excel-Macros$$ Macro to Import Word Tables to Excel from a folder

2016-02-02 Thread Samuellificationable
Hi,

Thanks so much for the code but for me even though I select the folder 
(which currently contains two filled in Word forms), it only transfers the 
headings and "Please enter text" for each field even though text has been 
filled in.  Could this be because I used plain text content controls?

Thanks

On Wednesday, October 2, 2013 at 6:09:44 AM UTC+1, ashish wrote:
>
> try this
>
> Sub import_word_table_to_excel()
> Application.DisplayAlerts = False
> Application.ScreenUpdating = False
> Dim fldpath
> Dim fld, fil As Object
> Dim appWord As Word.Application
> Dim docWord As Word.Document
> Dim tableWord As Word.Table
> Dim sdoc As String
>
>
> ' use to choose the folder having word documents
>
> Application.FileDialog(msoFileDialogFolderPicker).Title = "Choose Folder"
> Application.FileDialog(msoFileDialogFolderPicker).Show
> fldpath = 
> Application.FileDialog(msoFileDialogFolderPicker).SelectedItems(1) & "\"
> Set fso = CreateObject("scripting.filesystemobject")
> Set fld = fso.getfolder(fldpath)
>
> Set appWord = New Word.Application
> appWord.Visible = True
> For Each fil In fld.Files
>
> ' browse word documents in a folder
>
>
> If UCase(Right(fil.Path, 4)) = UCase(".doc") Or UCase(Right(fil.Path, 5)) 
> = UCase(".docx") Then
> Set docWord = appWord.Documents.Open(fil.Path)
> For Each tableWord In docWord.Tables
> ' copy word tables
> tableWord.Range.Copy
> ' paste it on sheet 1 of excel file
> Sheets(1).Paste Destination:=Sheets(1).Range("A65356").End(xlUp).Offset(1, 
> 0)
> Next
> docWord.Close
> End If
> Next fil
>
>
> appWord.Quit
> Sheets(1).Select
> Set tableWord = Nothing
> Set docWord = Nothing
> Set appWord = Nothing
>
> Application.DisplayAlerts = True
> Application.ScreenUpdating = True
>
> End Sub
>
>
> On Mon, Sep 30, 2013 at 12:47 PM, Nasir Khan  > wrote:
>
>>
>> Hello All,
>> I have got lot of MS Word files in a folder eg. C:\Test\> here>
>> I wish to copy and paste the Tables from all the word documents in the 
>> above mentioned folder to excel.
>>  
>> I found Macro1 (see below) which copy and paste the Table in Excel.
>> My requirement is to get the tables from all the documents from each 
>> folder in the path C:\Test\
>> Can Macro 1 be amended *to copy and paste all tables from each folder in 
>> C:\Test\*
>>  
>> *MACRO 1 TO IMPORT WORD TABLE*
>> Sub ImportWordTable()
>> On Error GoTo errHandler
>> Dim wordDoc As Object
>> Dim wdFileName As Variant
>> Dim noTble As Integer
>> Dim rowNb As Long
>> Dim colNb As Integer
>> Dim x As Long, y As Long
>> x = 1: y = 1
>> wdFileName = Application.GetOpenFilename("Word files 
>> (*.docx),*.docx", , _
>> "Browse for file containing table to be imported") 'adjust this to 
>> the document type you are after
>> If wdFileName = False Then Exit Sub
>> Set wordDoc = GetObject(wdFileName)
>> With wordDoc
>> noTble = wordDoc.tables.Count
>> If noTble = 0 Then
>> MsgBox "No Tables in this document", vbExclamation, "No 
>> Tables to Import"
>> Exit Sub
>> End If
>>  
>>  
>> For k = 1 To noTble
>> With .tables(k)
>> For rowNb = 1 To .Rows.Count
>> For colNb = 1 To .Columns.Count
>> Cells(x, y) = 
>> WorksheetFunction.Clean(.cell(rowNb, colNb).Range.Text)
>> y = y + 1
>> Next colNb
>> y = 1
>> x = x + 1
>> Next rowNb
>> End With
>> x = x + 2
>> Next
>> End With
>> Set wordDoc = Nothing
>> Exit Sub
>> errHandler:
>> MsgBox "Error in generating tables - " & Err.Number & " - " & 
>> Err.Description
>> End Sub
>>  
>> *MACRO 2 TO RUN ON ALL THE FOLDERS - this gives me runtime error as shown 
>> below*
>>  
>> Sub RunOnAllFolders()
>> Dim file
>> Dim path As String
>> Dim MyArray()
>> Dim N As Long
>> path = "C:\Test\"
>> file = Dir(path & "*.docx")
>> ReDim MyArray(0)
>> Do While file <> ""
>> If MyArray(0) = "" Then
>> MyArray(0) = file
>> Else
>> ReDim Preserve MyArray(UBound(MyArray) + 1)
>> MyArray(UBound(MyArray)) = file
>> End If
>> file = Dir()
>> Loop
>> For N = 0 To UBound(MyArray)
>>Documents.Open filename:=path & MyArray(N) *'<> ActiveX Component can't create Object >>*
>>
>>  *Call ImportWordTable*
>> 
>> ActiveDocument.Save
>> ActiveDocument.Close
>> file = Dir()
>> Next N
>> End Sub
>> Can the runtime error 429 be rectified from Macro 2
>>  
>> Any help would be appreciated.
>> Regards
>> Nasir 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
>>  
>> FORUM RULES
>>  
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please 
>> Help, Urgent, Need 

Re: $$Excel-Macros$$ macro for custom views

2016-02-02 Thread GENIUS
Oh that's really great thank you very much for your help

>
>

-- 
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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro Popup Window with Combo Box based on Cell values that might change

2015-12-11 Thread Paul Schreiner
There's several ways of doing this.Here are some:
1) copy the unique info to your second sheet and name the range.   Then, use 
this named range in the "RowSource" attribute for your combobox in the 
userform.2) "initialize" event macro for the userform,    Read through the data 
and load unique values into an array.   Then, in the initialize event, set the 
combobox to the array.
I can try to put together an example. 
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: Isaac Rosser 
 To: MS EXCEL AND VBA MACROS  
 Sent: Thursday, December 10, 2015 4:47 PM
 Subject: $$Excel-Macros$$ Macro Popup Window with Combo Box based on Cell 
values that might change
   
Hi All,
I'm creating a macro that automatically runs upon opening the workbook. (Not 
the issue) My problem is that I don't have experience with popup windows and 
encorporating them into macro's.  I want to create a macro that will present a 
popup window that has a dropdown(combo box) of all values from a certain 
column.  Once the user selects a value from that dropdown, the macro should 
continue to run, and will delete every row that does not contain the value 
selected from the dropdown.  The issue is, that over time, I would like the 
dropdown list to automatically update.  My trick for this is to copy the enter 
column to a new sheet, and use those cells to populate the combo box each time 
the macro runs.
Let's use this as an example
I have a list of Animal Types, and different breeds of each animal. Dogs, Cats, 
Fish, and Horses.
This list of animals has been copied to Sheet2 column A, and removed all 
duplicated to condense it to Range("A1:A4")
I can't seem to populate my combo box popup window with those values, and upon 
selecting one of those values from the dropdown, populate Cell B2 on Sheet2.
Any help would be greatly 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.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro Popup Window with Combo Box based on Cell values that might change

2015-12-11 Thread Isaac Rosser
Thank you Paul, I was able to get everything to work now.  Much appreciated.

Results are now chosen via a listbox, and the selection(s) from this 
listbox decide which rows of data to keep from the master list.  

Thanks again!


On Friday, December 11, 2015 at 8:29:01 AM UTC-5, Paul Schreiner wrote:
>
> There's several ways of doing this.
> Here are some:
>
> 1) copy the unique info to your second sheet and name the range.
>Then, use this named range in the "RowSource" attribute for your 
> combobox in the userform.
> 2) "initialize" event macro for the userform, 
>Read through the data and load unique values into an array.
>Then, in the initialize event, set the combobox to the array.
>
> I can try to put together an example.
>  
> *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:* Isaac Rosser 
> *To:* MS EXCEL AND VBA MACROS  
> *Sent:* Thursday, December 10, 2015 4:47 PM
> *Subject:* $$Excel-Macros$$ Macro Popup Window with Combo Box based on 
> Cell values that might change
>
> Hi All,
>
> I'm creating a macro that automatically runs upon opening the workbook. 
> (Not the issue) My problem is that I don't have experience with popup 
> windows and encorporating them into macro's.  I want to create a macro that 
> will present a popup window that has a dropdown(combo box) of all values 
> from a certain column.  Once the user selects a value from that dropdown, 
> the macro should continue to run, and will delete every row that does not 
> contain the value selected from the dropdown.  The issue is, that over 
> time, I would like the dropdown list to automatically update.  My trick for 
> this is to copy the enter column to a new sheet, and use those cells to 
> populate the combo box each time the macro runs.
>
> Let's use this as an example
>
> I have a list of Animal Types, and different breeds of each animal. Dogs, 
> Cats, Fish, and Horses.
>
> This list of animals has been copied to Sheet2 column A, and removed all 
> duplicated to condense it to Range("A1:A4")
>
> I can't seem to populate my combo box popup window with those values, and 
> upon selecting one of those values from the dropdown, populate Cell B2 on 
> Sheet2.
>
> Any help would be greatly 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...@googlegroups.com .
> To post to this group, send email to excel-...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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$$ Macro (Excel) Need data via Formula

2015-12-09 Thread Mandeep Baluja

  Check this out !! 
 Mandeep baluja 



On Wednesday, December 9, 2015 at 3:31:45 PM UTC+5:30, Sadiq wrote:
>
> Hello Team ,
>
>  
>
> I have a excel sheet where have Team Name in “A” column and in “B” column 
> we have count. I need Team name details in another sheet with count of Team 
> Name via formula.
>
>  
>
> Sheet attached for your easy reference.
>
>  
>
> Rgds,
>
> Mohd Sadiq
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Demo.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Macro (Excel) Need data via Formula

2015-12-09 Thread Mandeep Baluja
Check this out and let me know !!! 

Two formulas to be used !! 

Regards, 
Mandeep baluja 


-- 
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.
For more options, visit https://groups.google.com/d/optout.


Demo.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Macro (Excel) Need data via Formula

2015-12-09 Thread mohd sadiq
I did not required the count of name .

I need that names in cells of given count.

e.g -

Name- Sadiq
Count 20

I need this name in 20 times in "a" cell.


On Wed, Dec 9, 2015 at 3:45 PM, Mandeep Baluja 
wrote:

>
>   Check this out !!
>  Mandeep baluja
>
>
>
> On Wednesday, December 9, 2015 at 3:31:45 PM UTC+5:30, Sadiq wrote:
>>
>> Hello Team ,
>>
>>
>>
>> I have a excel sheet where have Team Name in “A” column and in “B” column
>> we have count. I need Team name details in another sheet with count of Team
>> Name via formula.
>>
>>
>>
>> Sheet attached for your easy reference.
>>
>>
>>
>> Rgds,
>>
>> Mohd Sadiq
>>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
Mohd Sadiq
contact no:- 9565809193
E-mail :- mohdsadiq...@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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro (Excel) Need data via Formula

2015-12-09 Thread Mandeep Baluja
Check this out !!! 

Regards, 
Mandeep baluja 


On Wednesday, December 9, 2015 at 5:22:27 PM UTC+5:30, Sadiq wrote:
>
> I did not required the count of name .
>
> I need that names in cells of given count.
>
> e.g -
>
> Name- Sadiq
> Count 20
>
> I need this name in 20 times in "a" cell.
>
>
> On Wed, Dec 9, 2015 at 3:45 PM, Mandeep Baluja  > wrote:
>
>>
>>   Check this out !! 
>>  Mandeep baluja 
>>
>>
>>
>> On Wednesday, December 9, 2015 at 3:31:45 PM UTC+5:30, Sadiq wrote:
>>>
>>> Hello Team ,
>>>
>>>  
>>>
>>> I have a excel sheet where have Team Name in “A” column and in “B” 
>>> column we have count. I need Team name details in another sheet with count 
>>> of Team Name via formula.
>>>
>>>  
>>>
>>> Sheet attached for your easy reference.
>>>
>>>  
>>>
>>> Rgds,
>>>
>>> Mohd Sadiq
>>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to excel-...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Regards
> Mohd Sadiq
> contact no:- 9565809193
> E-mail :- mohdsa...@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.
For more options, visit https://groups.google.com/d/optout.


Demo.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Macro (Excel) Need data via Formula

2015-12-09 Thread mohd sadiq
Thanks a lot Mandeep for quick help .

If don't  mind can you pls do one more help.

I have a sheet where i have given shift wise weekly off  i want to assign
WO in another sheet by Formula in day wise.


Excel sheet attached for your easy reference.





On Wed, Dec 9, 2015 at 6:20 PM, Mandeep Baluja 
wrote:

> Check this out and let me know !!!
>
> Two formulas to be used !!
>
> Regards,
> Mandeep baluja
>
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
Mohd Sadiq
contact no:- 9565809193
E-mail :- mohdsadiq...@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.
For more options, visit https://groups.google.com/d/optout.


Book2.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Macro (Excel) Need data via Formula

2015-12-09 Thread Mandeep baluja
Hi, 

Give us a clear explanation to what to achieve by giving some output !!

Regards, 
Mandeep baluja 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro (Excel) Need data via Formula

2015-12-09 Thread mohd sadiq
Good Morning Mandeep ,

I need put Week OFF basis of Given chart (Day wise  WO count).(Excel
attached for your reference )


Lets example we have 20 agents in team and we need to give Weekly off to
everyone basis of decided Day wise count and WO should not be repeated
within Week.


Please refer the attached sheet , I am sure you will understand what I want.








On Wed, Dec 9, 2015 at 11:23 PM, Mandeep baluja 
wrote:

> Hi,
>
> Give us a clear explanation to what to achieve by giving some output !!
>
> Regards,
> Mandeep baluja
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
Mohd Sadiq
contact no:- 9565809193
E-mail :- mohdsadiq...@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.
For more options, visit https://groups.google.com/d/optout.


Book2.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Macro to populate a column with data from another column

2015-11-10 Thread Andre Polivarov
Hi Ashish

Thank you for you prompt response.

One thing: I need to have an empty field in a "Parent Category" column if a 
"Category Name" = "parent category y"

Group ID Client ID Category ID Category Name Parent Category ID 0 3001 
101 parent category 1 (should be empty)
0 3001 102 sub category 1 for parent category 1 101 0 3001 103 sub 
category 2 for parent category 1 101 

Thanks,
Andrey

On Tuesday, November 10, 2015 at 8:18:26 PM UTC-8, ashish wrote:
>
> see if it helps
>
> On Wed, Nov 11, 2015 at 3:52 AM, Andre Polivarov  > wrote:
>
>> Hello,
>>  
>> I need to come up with a Macro to populate 50 rows in column (E) 
>> Parent Category ID .
>>
>> I have a table with the following columns: (A) Group ID, (B) Client ID, 
>> (C) Category ID, (D) Category Name, (E) Parent Category ID
>>
>> I need to populate "Parent Category ID" column for the rows where 
>> "Category Name" = "sub category X for parent category Y" with a "Category 
>> Name" = "parent category Y"
>>
>> Please see an attachment to understand the logic
>>
>> I would appreciate any help!
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to excel-...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> *Regards*
>  
> *Ashish Koul*
>
>
> *Visit*
> http://www.excelvbamacros.in
> Like Us on Facebook 
> Join Us on Facebook 
>
>
> P Before printing, think about the environment.
>
>  
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro to populate a column with data from another column

2015-11-10 Thread ashish koul
see if it helps

On Wed, Nov 11, 2015 at 3:52 AM, Andre Polivarov 
wrote:

> Hello,
>
> I need to come up with a Macro to populate 50 rows in column (E)
> Parent Category ID .
>
> I have a table with the following columns: (A) Group ID, (B) Client ID,
> (C) Category ID, (D) Category Name, (E) Parent Category ID
>
> I need to populate "Parent Category ID" column for the rows where
> "Category Name" = "sub category X for parent category Y" with a "Category
> Name" = "parent category Y"
>
> Please see an attachment to understand the logic
>
> I would appreciate any help!
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Regards*

*Ashish Koul*


*Visit*
http://www.excelvbamacros.in
Like Us on Facebook 
Join Us on Facebook 


P Before printing, think about the environment.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


formula.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ MACRO VBA

2015-11-05 Thread Paul Schreiner
Can you provide a sample file showing what you'd like?Are you looking for 
Conditional Formatting for the column? Are you looking for a macro to highlight 
the date?or even a Change_Event macro to format the 
column?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: ulysse-pacome koudou 
 To: MS EXCEL AND VBA MACROS  
 Sent: Thursday, November 5, 2015 3:21 AM
 Subject: $$Excel-Macros$$ MACRO VBA
   
hi I am starting with VBA and I'd like to create a macro that group every 
element of a column in another one by giving them a name.
for instance:
Year         colour2015      blue2014      red2003     yellow2011     blue2006  
   red
If the year is 2015 or 2011 the given colour have to be blue, if the year is 
2014 or 2006 the colour have to be red.and so on.
cheers-- 
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.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ macro to loop through data sheet , fetch 8 rows at a time and put in new sheet

2015-09-03 Thread nyree

Hello Paul
What can I say? Its perfect - exactly what I needed -
THANK YOU SO MUCH

ps it may seem easy for you!
Thanks again for your help, I'm so grateful.

Best regards
Nyree

On 03-Sep-15 2:34 PM, Paul Schreiner wrote:

That's simple enough to do.
(I know, if it's so simply, why isn't it obvious?)

to do JUST what you want in your example, you could use:
Sub Make_Sheets()
Dim rSource, rDest
rDest = 5
Sheets("Sheet1").Range("B3").Value = Sheets("data").Range("F2").Value
For rSource = 2 To 9
rDest = rDest + 1
Sheets("Sheet1").Cells(rDest, "A").Value = 
Sheets("data").Cells(rSource, "A").Value
Sheets("Sheet1").Cells(rDest, "B").Value = 
Sheets("data").Cells(rSource, "B").Value

Next rSource
End Sub

but there are lots of things you need to do to make it "flexible".

For instance:
Name the worksheet after the teacher's name.
(Have the macro copy the blank template for new teachers.)
then, only move the students with that name.
(that way, if only 7 students are listed, so be it).

I made up a dummy file with 50 teachers and wrote this macro.
(I also wrote a "clear_Teachers" macro to remove the test sheets.)
see attached.

Option Explicit
Sub Make_Sheets()
Dim Teacher, nRows
Dim RowSource, RowDest

Application.ScreenUpdating = False
On Error Resume Next
nRows = 
Application.WorksheetFunction.CountA(Sheets("data").Range("A:A"))

For RowSource = 2 To nRows
Teacher = Sheets("data").Cells(RowSource, "F").Value
Err.Clear
Sheets(Teacher).Select
If (Err.Number <> 0) Then
Sheets("Template").Copy After:=Sheets(Sheets.Count)
ActiveSheet.Name = Teacher
Sheets(Teacher).Range("B3").Value = Teacher
End If
RowDest = 
Application.WorksheetFunction.CountA(Sheets(Teacher).Range("A6:A16")) + 6

If (RowDest > 15) Then
MsgBox "Students for Teacher: " & Chr(13) & Chr(13) & 
Teacher & Chr(13) & Chr(13) & " Exceeds 15"

Else
Sheets(Teacher).Cells(RowDest, "A").Value = 
Sheets("data").Cells(RowSource, "A").Value
Sheets(Teacher).Cells(RowDest, "B").Value = 
Sheets("data").Cells(RowSource, "B").Value

End If
Next RowSource
Sheets("data").Select
Application.ScreenUpdating = True
On Error GoTo 0
MsgBox "Finished: " & Sheets.Count & " Teachers"
End Sub
/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:* N .williams 
*To:* MS EXCEL AND VBA MACROS 
*Sent:* Wednesday, September 2, 2015 10:08 PM
*Subject:* $$Excel-Macros$$ macro to loop through data sheet ,
fetch 8 rows at a time and put in new sheet



Hello
I've searched the forums and I can't find exactly what I need.

I would like to know how to create new sheets based on a summary
sheet.
Copy students names: from columns A and B in data sheet to columns
A and B in destination sheet1

Copy teacher's name: from column F in data sheet to cell B3 in
destination sheet

Fetch 8 rows (rows 2 - 9) then create new sheet and repeat for
rows 10-17

Any help would be greatly appreciated!
Thanks
Nyree
-- 
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.
For more options, visit https://groups.google.com/d/optout.


--
Are you =EXP(E:RT) or 

Re: $$Excel-Macros$$ macro to loop through data sheet , fetch 8 rows at a time and put in new sheet

2015-09-03 Thread Paul Schreiner
That's simple enough to do.(I know, if it's so simply, why isn't it obvious?)
to do JUST what you want in your example, you could use:Sub Make_Sheets()
    Dim rSource, rDest
    rDest = 5
    Sheets("Sheet1").Range("B3").Value = Sheets("data").Range("F2").Value
    For rSource = 2 To 9
    rDest = rDest + 1
    Sheets("Sheet1").Cells(rDest, "A").Value = 
Sheets("data").Cells(rSource, "A").Value
    Sheets("Sheet1").Cells(rDest, "B").Value = 
Sheets("data").Cells(rSource, "B").Value
    Next rSource
End Sub

but there are lots of things you need to do to make it "flexible". 
For instance:Name the worksheet after the teacher's name.(Have the macro copy 
the blank template for new teachers.)then, only move the students with that 
name.(that way, if only 7 students are listed, so be it).
I made up a dummy file with 50 teachers and wrote this macro.(I also wrote a 
"clear_Teachers" macro to remove the test sheets.)see attached.
Option Explicit
Sub Make_Sheets()
    Dim Teacher, nRows
    Dim RowSource, RowDest
    
    Application.ScreenUpdating = False
    On Error Resume Next
    nRows = Application.WorksheetFunction.CountA(Sheets("data").Range("A:A"))
    For RowSource = 2 To nRows
    Teacher = Sheets("data").Cells(RowSource, "F").Value
    Err.Clear
    Sheets(Teacher).Select
    If (Err.Number <> 0) Then
    Sheets("Template").Copy After:=Sheets(Sheets.Count)
    ActiveSheet.Name = Teacher
    Sheets(Teacher).Range("B3").Value = Teacher
    End If
    RowDest = 
Application.WorksheetFunction.CountA(Sheets(Teacher).Range("A6:A16")) + 6
    If (RowDest > 15) Then
    MsgBox "Students for Teacher: " & Chr(13) & Chr(13) & Teacher & 
Chr(13) & Chr(13) & " Exceeds 15"
    Else
    Sheets(Teacher).Cells(RowDest, "A").Value = 
Sheets("data").Cells(RowSource, "A").Value
    Sheets(Teacher).Cells(RowDest, "B").Value = 
Sheets("data").Cells(RowSource, "B").Value
    End If
    Next RowSource
    Sheets("data").Select
    Application.ScreenUpdating = True
    On Error GoTo 0
    MsgBox "Finished: " & Sheets.Count & " Teachers"
End Sub
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: N .williams 
 To: MS EXCEL AND VBA MACROS  
 Sent: Wednesday, September 2, 2015 10:08 PM
 Subject: $$Excel-Macros$$ macro to loop through data sheet , fetch 8 rows at a 
time and put in new sheet
   


Hello 
I've searched the forums and I can't find exactly what I need.

I would like to know how to create new sheets based on a summary sheet.
Copy students names: from columns A and B in data sheet to columns A and B in 
destination sheet1

Copy teacher's name: from column F in data sheet to cell B3 in destination sheet

Fetch 8 rows (rows 2 - 9) then create new sheet and repeat for rows 10-17

Any help would be greatly appreciated!
Thanks
Nyree-- 
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.
For more options, visit https://groups.google.com/d/optout.


   

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

Re: $$Excel-Macros$$ Macro to strip LinkedIn Company Page Followers.

2015-08-26 Thread ashish koul
could you please share the sample file and output u like to see

On Wed, Aug 26, 2015 at 3:46 PM, MMartin rcbr4nch...@gmail.com wrote:

 Hi,

 I am trying to use this macro to strip and sort my company page
 followers.  I am not technical but found this and have tried to get it to
 work for me.

 It appears to start working then it just stops and I have lost lots of my
 data  I have four files that I need to run micro in then merge the
 results.  All it appears to do is add in a new column A with a number for
 each record.

 Sub Macro1()

 Range(A1).Select

 lastRow = LastRowIndex(ActiveSheet, 1)

 Do While ActiveCell.Row  lastRow

 ActiveCell.Select
 Selection.RowHeight = 49.5

 Selection.Offset(1, 0).Select
 Selection.Delete Shift:=xlUp
 Selection.Delete Shift:=xlUp

 Selection.Offset(3, 0).Select
 Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove

 Selection.Offset(1, 0).Select

 lastRow = LastRowIndex(ActiveSheet, 1)

 Loop

 ' AutoFit Column Width
 Cells.Select
 With Selection
 .VerticalAlignment = xlBottom
 .WrapText = False
 .Orientation = 0
 .AddIndent = False
 .IndentLevel = -1
 .ShrinkToFit = False
 .ReadingOrder = xlContext
 .MergeCells = False
 End With
 Selection.Columns.AutoFit

 ' Insert a column
 Columns(A:A).Select
 Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove

 ' Insert record numbers
 Range(A1).Select
 i = 1
 Selection.Value = i
 Do While ActiveCell.Row  lastRow
 i = i + 1
 Selection.Offset(5, 0).Select
 Selection.Value = i
 Loop

 'clear last row
 Selection.ClearContents

 End Sub


 Function LastRowIndex(ByVal w As Worksheet, ByVal col As Variant) As Long
 Dim r As Range

 Set r = Application.Intersect(w.UsedRange, w.Columns(col))
 If Not r Is Nothing Then
 Set r = r.Cells(r.Cells.Count)

 If IsEmpty(r.Value) Then
 LastRowIndex = r.End(xlUp).Row
 Else
 LastRowIndex = r.Row
 End If
 End If
 End Function

 hope someone can help me.

 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.
 For more options, visit https://groups.google.com/d/optout.




-- 
*Regards*

*Ashish Koul*


*Visit*
http://www.excelvbamacros.in
Like Us on Facebook https://www.facebook.com/excelvbacodes
Join Us on Facebook http://www.facebook.com/groups/163491717053198/


P Before printing, think about the environment.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro from non specific cell

2015-08-13 Thread Paul Schreiner
What you're asking for can be accomplished without a macro.In Cell A2, you'd 
have your starting date (or the date for the first record).Then in Cell A3, put:
=IF(B3=,,IF(B3=0,A2+1,A2))and drag it down the column.
Basically, this makes use of the fact that Excel stores dates as numbers.The 
number of days since 1/1/1900.
So, to day (August 13, 2015) is 42229
That's why you can change the display format to show the date in any way you 
want.8/13/1513-Aug-2015Aug-20152015-08-132015Thursday
So, basically adding (1) to any number is like adding 1 day to a dateAugust 12, 
2015 (42228) + 1 = 42229 = August 13, 2015
The other thing is that Excel stores TIME as a fractional part of a day.6:00am 
is 6/24 of a day or .25 daysso, today at 6:00am is 42229.25
At this exact second:8/13/2015 at 1:55:47, Excel stores ad 42229.5804053241
So, in the function, If(B3=0,is testing to see if the time is midnight (0:00)If 
it is, then it adds 1 to the previous date.If not, then it copies the previous 
date.
the nested IF statement portion:IF(B3=,,
simply checks to see if the time value is blank.If it is, then it puts a blank 
in the date cell.

Now, if you want a macro to REALLY automate the collection,then you can write a 
macro that loops through all of the .csvfiles in the folder, reads them and 
enters the data.(I'm assuming the filename has the date?)
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: Ian Truslove truslo...@gmail.com
 To: MS EXCEL AND VBA MACROS excel-macros@googlegroups.com 
 Sent: Thursday, August 13, 2015 11:36 AM
 Subject: $$Excel-Macros$$ Macro from non specific cell
   
Hi

I have a monitor which records in 10 minute intervals the output from my 
rooftop solar panels.

I  transfer the daily data to an Excel 365 day ‘Master Sheet’. Unfortunately, 
the monitor supplies a CSV (read only file) which ONLY contains two columns 
with 10 minute intervals and kWh output.

13:00 1.44
13:10 1.896
13:20 1.926
13:30 2.148
13:40 2.106
13:50 2.106

I copy and paste the data into columns ‘B’ and ‘C’ and then add the relevant 
date into column ‘A’ 144 times.

I would like to add a macro which takes the date in the LAST DATE CELL, (in the 
attached sheet A145) and increment it by one day. I would then like the macro 
to paste the same date into the next 144 cells.

I’ve created a macro which does this, but it only works on the specific cell 
that was originally selected (A2) rather than carrying on from the new required 
cell (A146).

I’m using Excel for Mac 2011.

Any help or suggestions would be much appreciated.




Best regards

Ian-- 
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.
For more options, visit https://groups.google.com/d/optout.


   

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

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-08-03 Thread Mandeep Baluja
check once again :) Regards Mandeep 

Private Sub Worksheet_Change(ByVal Target As Range)
  On Error Resume Next
   ' MsgBox Target.Value2
If Target.Column = 1 Then
Target.Offset(0, 1).Select
ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\  
Target.Value2  .jpg).Select
ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\  
Target.Value2  .jpeg).Select
With Selection.ShapeRange
.Height = Target.Offset(0, 1).Height
.LockAspectRatio = msoFalse
.Width = Target.Offset(0, 1).Width
.Line.Visible = msoTrue
.Line.Weight = 0.25
End With
Target.Select
End If

If Target.Value =  Then
For Each s In ActiveSheet.Shapes
MsgBox s.TopLeftCell.Address
MsgBox Target.Offset(0, 1).Address
If Not Intersect(Target.Offset(0, 1), s.TopLeftCell) Is Nothing Then
s.Delete
End If
Next s

End If

End Sub


On Monday, August 3, 2015 at 6:21:28 PM UTC+5:30, prkhan56 wrote:

 Thanks Mandeep...for the code.
 One small issue
 I want the respective picture to be deleted
 Now if I delete any value in Col A then it deletes all the pictures.
 Can you please rectify.
 If the value in Col A is deleted then only the respective pictures in Col 
 B should be deleted .. and not all the pictures

 Thanks once again.

 On Mon, Aug 3, 2015 at 4:19 PM, Mandeep Baluja rocke...@gmail.com 
 javascript: wrote:

 check this out !!


 Private Sub Worksheet_Change(ByVal Target As Range)
   On Error Resume Next
' MsgBox Target.Value2
 If Target.Column = 1 Then
 Target.Offset(0, 1).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\ 
  Target.Value2  .jpg).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\ 
  Target.Value2  .jpeg).Select
 With Selection.ShapeRange
 .Height = Target.Offset(0, 1).Height
 .LockAspectRatio = msoFalse
 .Width = Target.Offset(0, 1).Width
 .Line.Visible = msoTrue
 .Line.Weight = 0.25
 End With
 Target.Select
 End If

 If Target.Value =  Then
 For Each s In ActiveSheet.Shapes
 'MsgBox s.TopLeftCell.Address
 'MsgBox s.BottomRightCell.Address
 If Not Intersect(Range(B1:B1), s.TopLeftCell) Is Nothing Then
 s.Delete
 End If
 Next s
 End If

 End Sub


 Regards, 
 Mandeep baluja 


 -- 
 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 a topic in the 
 Google Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/excel-macros/W2CtEqVFNXA/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 excel-macros...@googlegroups.com javascript:.
 To post to this group, send email to excel-...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




 -- 

 *Rashid Khan*

 *Senior Trainer*

  

 *ExecuTrain*

 *AmanatSoft*

 *Corporate Training*

 *Software Development*

  

 PO Box: 26977, Dubai, UAE

 Tel: +97143374888, Fax: +97143374889, *Mob: +971(55)7490756 – 
 +971(50)2323657*

 www.executrain.ae | www.executrain.com/dubai | *www.amanatsoft.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 

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-08-03 Thread Rashid Khan
Superr...wow...
Thanks a million
Also thanks to De Premor for his help too.
God Bless you all



On Mon, Aug 3, 2015 at 9:19 PM, Mandeep Baluja rockerna...@gmail.com
wrote:

 check once again :) Regards Mandeep

 Private Sub Worksheet_Change(ByVal Target As Range)
   On Error Resume Next
' MsgBox Target.Value2
 If Target.Column = 1 Then
 Target.Offset(0, 1).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\ 
 Target.Value2  .jpg).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\ 
 Target.Value2  .jpeg).Select
 With Selection.ShapeRange
 .Height = Target.Offset(0, 1).Height
 .LockAspectRatio = msoFalse
 .Width = Target.Offset(0, 1).Width
 .Line.Visible = msoTrue
 .Line.Weight = 0.25
 End With
 Target.Select
 End If

 If Target.Value =  Then
 For Each s In ActiveSheet.Shapes
 MsgBox s.TopLeftCell.Address
 MsgBox Target.Offset(0, 1).Address
 If Not Intersect(Target.Offset(0, 1), s.TopLeftCell) Is Nothing Then
 s.Delete
 End If
 Next s

 End If

 End Sub


 On Monday, August 3, 2015 at 6:21:28 PM UTC+5:30, prkhan56 wrote:

 Thanks Mandeep...for the code.
 One small issue
 I want the respective picture to be deleted
 Now if I delete any value in Col A then it deletes all the pictures.
 Can you please rectify.
 If the value in Col A is deleted then only the respective pictures in Col
 B should be deleted .. and not all the pictures

 Thanks once again.

 On Mon, Aug 3, 2015 at 4:19 PM, Mandeep Baluja rocke...@gmail.com
 wrote:

 check this out !!


 Private Sub Worksheet_Change(ByVal Target As Range)
   On Error Resume Next
' MsgBox Target.Value2
 If Target.Column = 1 Then
 Target.Offset(0, 1).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\
  Target.Value2  .jpg).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\
  Target.Value2  .jpeg).Select
 With Selection.ShapeRange
 .Height = Target.Offset(0, 1).Height
 .LockAspectRatio = msoFalse
 .Width = Target.Offset(0, 1).Width
 .Line.Visible = msoTrue
 .Line.Weight = 0.25
 End With
 Target.Select
 End If

 If Target.Value =  Then
 For Each s In ActiveSheet.Shapes
 'MsgBox s.TopLeftCell.Address
 'MsgBox s.BottomRightCell.Address
 If Not Intersect(Range(B1:B1), s.TopLeftCell) Is Nothing Then
 s.Delete
 End If
 Next s
 End If

 End Sub


 Regards,
 Mandeep baluja


 --
 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 a topic in the
 Google Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/excel-macros/W2CtEqVFNXA/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
 For more options, visit https://groups.google.com/d/optout.




 --

 *Rashid Khan*

 *Senior Trainer*



 *ExecuTrain*

 *AmanatSoft*

 *Corporate Training*

 *Software Development*



 PO Box: 26977, Dubai, UAE

 Tel: +97143374888, Fax: +97143374889, *Mob: +971(55)7490756 –
 +971(50)2323657*

 www.executrain.ae | www.executrain.com/dubai | *www.amanatsoft.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 

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-08-03 Thread Mandeep Baluja
check this out !!


Private Sub Worksheet_Change(ByVal Target As Range)
  On Error Resume Next
   ' MsgBox Target.Value2
If Target.Column = 1 Then
Target.Offset(0, 1).Select
ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\  
Target.Value2  .jpg).Select
ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\  
Target.Value2  .jpeg).Select
With Selection.ShapeRange
.Height = Target.Offset(0, 1).Height
.LockAspectRatio = msoFalse
.Width = Target.Offset(0, 1).Width
.Line.Visible = msoTrue
.Line.Weight = 0.25
End With
Target.Select
End If

If Target.Value =  Then
For Each s In ActiveSheet.Shapes
'MsgBox s.TopLeftCell.Address
'MsgBox s.BottomRightCell.Address
If Not Intersect(Range(B1:B1), s.TopLeftCell) Is Nothing Then
s.Delete
End If
Next s
End If

End Sub


Regards, 
Mandeep baluja 


-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-08-03 Thread Rashid Khan
Thanks Mandeep...for the code.
One small issue
I want the respective picture to be deleted
Now if I delete any value in Col A then it deletes all the pictures.
Can you please rectify.
If the value in Col A is deleted then only the respective pictures in Col B
should be deleted .. and not all the pictures

Thanks once again.

On Mon, Aug 3, 2015 at 4:19 PM, Mandeep Baluja rockerna...@gmail.com
wrote:

 check this out !!


 Private Sub Worksheet_Change(ByVal Target As Range)
   On Error Resume Next
' MsgBox Target.Value2
 If Target.Column = 1 Then
 Target.Offset(0, 1).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\ 
 Target.Value2  .jpg).Select
 ActiveSheet.Pictures.Insert(C:\Users\Mandeep.baluja\Desktop\a\ 
 Target.Value2  .jpeg).Select
 With Selection.ShapeRange
 .Height = Target.Offset(0, 1).Height
 .LockAspectRatio = msoFalse
 .Width = Target.Offset(0, 1).Width
 .Line.Visible = msoTrue
 .Line.Weight = 0.25
 End With
 Target.Select
 End If

 If Target.Value =  Then
 For Each s In ActiveSheet.Shapes
 'MsgBox s.TopLeftCell.Address
 'MsgBox s.BottomRightCell.Address
 If Not Intersect(Range(B1:B1), s.TopLeftCell) Is Nothing Then
 s.Delete
 End If
 Next s
 End If

 End Sub


 Regards,
 Mandeep baluja


 --
 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 a topic in the
 Google Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/excel-macros/W2CtEqVFNXA/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
 For more options, visit https://groups.google.com/d/optout.




-- 

*Rashid Khan*

*Senior Trainer*



*ExecuTrain*

*AmanatSoft*

*Corporate Training*

*Software Development*



PO Box: 26977, Dubai, UAE

Tel: +97143374888, Fax: +97143374889, *Mob: +971(55)7490756 –
+971(50)2323657*

www.executrain.ae | www.executrain.com/dubai | *www.amanatsoft.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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-08-02 Thread Rashid Khan
No...sorry...I have checked everything.  It only takes the file 1.jpg...and
not any other files.
The files are there in the folder and they are in jpg format.
That is the reason I sent the sample pics folder for testing on your end
May be you can give me a code which should run looking at values in Col A
and then insert pictures in Col B.

Thanks once again for your time and help

On Mon, Aug 3, 2015 at 4:35 AM, De Premor d...@premor.net wrote:

 Hi,
 Still curious with your problem, there is few more thing we need to check.
 1. Make sure picture that you want to load is exist in the referenced
 folder on the code
 2. Make sure it image with JPG format, not PNG, GIF, BMP  or other image
 format, just JPG (the extention is .jpg)

 Thanks, waiting for your respond.


 On 01/08/2015 23:40, Rashid Khan wrote:

 Thanks for your explanation.
 But unfortunately it is not working.
 I am just enclosing herewith the pics which I am using for testing on your
 side.

 Regards

 On Sat, Aug 1, 2015 at 4:22 AM, De Premor d...@premor.net wrote:

 Are you sure ?
 i've been test and try the code, and it work for any other picture.

 Did you know how that code work ?
 let me explain a little
 **) **the code is in blue, and green is my comment *

 *'This code will only executed before you double clicking on any cells /
 ranges on sheet*

 *Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
 Boolean) **'If some error happen, just ignore it, ex: **picture file
 not found*


 * On Error Resume Next** 'The code will only working if target
 column is 1 or in otherwords = Column A*



 * If Target.Column = 1 Then 'it will move the cursor to
 select the cell on column B to place the picture *


 * Target.Offset(0, 1).Select 'And load the picture from
 the respective folder with name as name on Cell Column A that you've
 clicked *


 * ActiveSheet.Pictures.Insert(C:\Product\Pictures\ 
 Target.Value2  .jpg).Select 'Then Resize, and make a border **
 With Selection.ShapeRange*
 * .Height = Target.Offset(0, 1).Height*
 * .LockAspectRatio = msoFalse*
 * .Width = Target.Offset(0, 1).Width*
 * .Line.Visible = msoTrue*
 * .Line.Weight = 0.25*



 * End With 'Reselect the cell that you clicked before **
 Target.Select*
 * End If*
 * End Sub*



 On 01/08/2015 3:33, Rashid Khan wrote:

 Thanks for the quick response.
 It works only for 1.jpg and not for any other pictures.

 Kindly look into the code

 thanks once again.



 On Sat, Aug 1, 2015 at 12:00 AM, De Premor d...@premor.net wrote:

 Here is the code, you can make changes or experiment with it

 Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
 Boolean)
 On Error Resume Next
 If Target.Column = 1 Then
 Target.Offset(0, 1).Select
 ActiveSheet.Pictures.Insert(C:\Product\Pictures\ 
 Target.Value2  .jpg).Select
 With Selection.ShapeRange
 .Height = Target.Offset(0, 1).Height
 .LockAspectRatio = msoFalse
 .Width = Target.Offset(0, 1).Width
 .Line.Visible = msoTrue
 .Line.Weight = 0.25
 End With
 Target.Select
 End If
 End Sub

 Rgds,
 [dp]

 On 01/08/2015 2:25, prkhan56 wrote:

 I am using Excel 2010
 I have a problem as shown in the attached sample data

 In the directory C:\Product\Pictures I have many files with the names
 shown in Column A under the Code group eg: 1.jpg, 2.jpg ….and so on

 The size of inserted picture should be of the same height and width of
 the cell in Column B.

 I want a macro which when run should look up the Code number in Col A.
 viz: if code is 1 then it should put the pic in Column B of 1.jpg and so
 on an so forth

 If there is no value in Col A then it should do nothing otherwise put
 the respective pictures from C:\Product\Pictures.

 Any help would be really appreciated.

 A sample file is attached herewith

 TIA
 Rashid
 --
 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 

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-08-02 Thread De Premor

Hi,
Still curious with your problem, there is few more thing we need to check.
1. Make sure picture that you want to load is exist in the referenced 
folder on the code
2. Make sure it image with JPG format, not PNG, GIF, BMP  or other image 
format, just JPG (the extention is .jpg)


Thanks, waiting for your respond.

On 01/08/2015 23:40, Rashid Khan wrote:

Thanks for your explanation.
But unfortunately it is not working.
I am just enclosing herewith the pics which I am using for testing on 
your side.


Regards

On Sat, Aug 1, 2015 at 4:22 AM, De Premor d...@premor.net 
mailto:d...@premor.net wrote:


Are you sure ?
i've been test and try the code, and it work for any other picture.

Did you know how that code work ?
let me explain a little
/*) //the code is in blue, and green is my comment /

*'This code will only executed before you double clicking on any
cells / ranges on sheet*
*Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range,
Cancel As Boolean)
**'If some error happen, just ignore it, ex: **picture file not
found**
**On Error Resume Next

**'The code will only working if target column is 1 or in
otherwords = Column A**
**If Target.Column = 1 Then

'it will move the cursor to select the cell on column B to place
the picture
**Target.Offset(0, 1).Select

  'And load the picture from the respective folder with name as
name on Cell Column A that you've clicked
**ActiveSheet.Pictures.Insert(C:\Product\Pictures\ 
Target.Value2  .jpg).Select

'Then Resize, and make a border
**With Selection.ShapeRange**
**.Height = Target.Offset(0, 1).Height**
**.LockAspectRatio = msoFalse**
**.Width = Target.Offset(0, 1).Width**
**.Line.Visible = msoTrue**
**.Line.Weight = 0.25**
**End With

'Reselect the cell that you clicked before
**Target.Select**
**End If**
**End Sub*



On 01/08/2015 3:33, Rashid Khan wrote:

Thanks for the quick response.
It works only for 1.jpg and not for any other pictures.

Kindly look into the code

thanks once again.



On Sat, Aug 1, 2015 at 12:00 AM, De Premor d...@premor.net
mailto:d...@premor.net wrote:

Here is the code, you can make changes or experiment with it

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As
Range, Cancel As Boolean)
On Error Resume Next
If Target.Column = 1 Then
Target.Offset(0, 1).Select
ActiveSheet.Pictures.Insert(C:\Product\Pictures\ 
Target.Value2  .jpg).Select
With Selection.ShapeRange
.Height = Target.Offset(0, 1).Height
.LockAspectRatio = msoFalse
.Width = Target.Offset(0, 1).Width
.Line.Visible = msoTrue
.Line.Weight = 0.25
End With
Target.Select
End If
End Sub

Rgds,
[dp]

On 01/08/2015 2:25, prkhan56 wrote:

I am using Excel 2010
I have a problem as shown in the attached sample data

In the directory C:\Product\Pictures I have many files with
the names
shown in Column A under the Code group eg: 1.jpg, 2.jpg
….and so on

The size of inserted picture should be of the same height
and width of the cell in Column B.

I want a macro which when run should look up the Code number
in Col A.
viz: if code is 1 then it should put the pic in Column B of
1.jpg and so on an so forth

If there is no value in Col A then it should do nothing
otherwise put the respective pictures from C:\Product\Pictures.

Any help would be really appreciated.

A sample file is attached herewith

TIA
Rashid
-- 
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 

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-07-31 Thread De Premor

Are you sure ?
i've been test and try the code, and it work for any other picture.

Did you know how that code work ?
let me explain a little
/*) //the code is in blue, and green is my comment /

*'This code will only executed before you double clicking on any cells / 
ranges on sheet*
*Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel 
As Boolean)

**'If some error happen, just ignore it, ex: **picture file not found**
**On Error Resume Next

**'The code will only working if target column is 1 or in otherwords = 
Column A**

If Target.Column = 1 Then

'it will move the cursor to select the cell on column B to place the 
picture

Target.Offset(0, 1).Select

  'And load the picture from the respective folder with name as name on 
Cell Column A that you've clicked
ActiveSheet.Pictures.Insert(C:\Product\Pictures\  Target.Value2  
.jpg).Select


'Then Resize, and make a border
With Selection.ShapeRange**
**.Height = Target.Offset(0, 1).Height**
**.LockAspectRatio = msoFalse**
**.Width = Target.Offset(0, 1).Width**
**.Line.Visible = msoTrue**
**.Line.Weight = 0.25**
**End With

'Reselect the cell that you clicked before
Target.Select**
**End If**
**End Sub*


On 01/08/2015 3:33, Rashid Khan wrote:

Thanks for the quick response.
It works only for 1.jpg and not for any other pictures.

Kindly look into the code

thanks once again.



On Sat, Aug 1, 2015 at 12:00 AM, De Premor d...@premor.net 
mailto:d...@premor.net wrote:


Here is the code, you can make changes or experiment with it

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range,
Cancel As Boolean)
On Error Resume Next
If Target.Column = 1 Then
Target.Offset(0, 1).Select
ActiveSheet.Pictures.Insert(C:\Product\Pictures\ 
Target.Value2  .jpg).Select
With Selection.ShapeRange
.Height = Target.Offset(0, 1).Height
.LockAspectRatio = msoFalse
.Width = Target.Offset(0, 1).Width
.Line.Visible = msoTrue
.Line.Weight = 0.25
End With
Target.Select
End If
End Sub

Rgds,
[dp]

On 01/08/2015 2:25, prkhan56 wrote:

I am using Excel 2010
I have a problem as shown in the attached sample data

In the directory C:\Product\Pictures I have many files with the names
shown in Column A under the Code group eg: 1.jpg, 2.jpg ….and so on

The size of inserted picture should be of the same height and
width of the cell in Column B.

I want a macro which when run should look up the Code number in
Col A.
viz: if code is 1 then it should put the pic in Column B of 1.jpg
and so on an so forth

If there is no value in Col A then it should do nothing otherwise
put the respective pictures from C:\Product\Pictures.

Any help would be really appreciated.

A sample file is attached herewith

TIA
Rashid
-- 
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
mailto:excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to
excel-macros@googlegroups.com mailto:excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


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

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-07-31 Thread Rashid Khan
Thanks for the quick response.
It works only for 1.jpg and not for any other pictures.

Kindly look into the code

thanks once again.



On Sat, Aug 1, 2015 at 12:00 AM, De Premor d...@premor.net wrote:

 Here is the code, you can make changes or experiment with it

 Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
 Boolean)
 On Error Resume Next
 If Target.Column = 1 Then
 Target.Offset(0, 1).Select
 ActiveSheet.Pictures.Insert(C:\Product\Pictures\  Target.Value2
  .jpg).Select
 With Selection.ShapeRange
 .Height = Target.Offset(0, 1).Height
 .LockAspectRatio = msoFalse
 .Width = Target.Offset(0, 1).Width
 .Line.Visible = msoTrue
 .Line.Weight = 0.25
 End With
 Target.Select
 End If
 End Sub

 Rgds,
 [dp]

 On 01/08/2015 2:25, prkhan56 wrote:

 I am using Excel 2010
 I have a problem as shown in the attached sample data

 In the directory C:\Product\Pictures I have many files with the names
 shown in Column A under the Code group eg: 1.jpg, 2.jpg ….and so on

 The size of inserted picture should be of the same height and width of the
 cell in Column B.

 I want a macro which when run should look up the Code number in Col A.
 viz: if code is 1 then it should put the pic in Column B of 1.jpg and so
 on an so forth

 If there is no value in Col A then it should do nothing otherwise put the
 respective pictures from C:\Product\Pictures.

 Any help would be really appreciated.

 A sample file is attached herewith

 TIA
 Rashid
 --
 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.
 For more options, visit https://groups.google.com/d/optout.


 --
 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 a topic in the
 Google Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/excel-macros/W2CtEqVFNXA/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
 For more options, visit https://groups.google.com/d/optout.




-- 

*Rashid Khan*

*Senior Trainer*



*ExecuTrain*

*AmanatSoft*

*Corporate Training*

*Software Development*



PO Box: 26977, Dubai, UAE

Tel: +97143374888, Fax: +97143374889, *Mob: +971(55)7490756 –
+971(50)2323657*

www.executrain.ae | www.executrain.com/dubai | *www.amanatsoft.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 

Re: $$Excel-Macros$$ Macro to Insert Pictures according to the Cell Value in Column A

2015-07-31 Thread De Premor

Here is the code, you can make changes or experiment with it

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As 
Boolean)

On Error Resume Next
If Target.Column = 1 Then
Target.Offset(0, 1).Select
ActiveSheet.Pictures.Insert(C:\Product\Pictures\  
Target.Value2  .jpg).Select

With Selection.ShapeRange
.Height = Target.Offset(0, 1).Height
.LockAspectRatio = msoFalse
.Width = Target.Offset(0, 1).Width
.Line.Visible = msoTrue
.Line.Weight = 0.25
End With
Target.Select
End If
End Sub

Rgds,
[dp]

On 01/08/2015 2:25, prkhan56 wrote:

I am using Excel 2010
I have a problem as shown in the attached sample data

In the directory C:\Product\Pictures I have many files with the names
shown in Column A under the Code group eg: 1.jpg, 2.jpg ….and so on

The size of inserted picture should be of the same height and width of 
the cell in Column B.


I want a macro which when run should look up the Code number in Col A.
viz: if code is 1 then it should put the pic in Column B of 1.jpg and 
so on an so forth


If there is no value in Col A then it should do nothing otherwise put 
the respective pictures from C:\Product\Pictures.


Any help would be really appreciated.

A sample file is attached herewith

TIA
Rashid
--
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 
mailto:excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com 
mailto:excel-macros@googlegroups.com.

Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


--
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.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Macro for Column to Rows

2015-07-24 Thread Paul Schreiner
Based on your sample file, I put together two macros:RowsToColumnsColumnsToRows
you need to select an input sheet and run the appropriate macro.
I'm sure this doesn't do ALL you need, but it should give you an idea of tools 
and techniques to customize to your needs. 
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: Deepak Rawat deepakexce...@gmail.com
 To: excel-macros excel-macros@googlegroups.com 
 Sent: Friday, July 24, 2015 2:37 AM
 Subject: $$Excel-Macros$$ Macro for Column to Rows
   
Hi,
attached file 
I have a huge data to convert from column to row
Raw data is in Sheet1
Final data is in Sheet2
Please give me code for vice versa 
Like if i want to convert data from sheet1 to sheet 2 or         if i want to 
convert data from sheet2 to sheet 1
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.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
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.
For more options, visit https://groups.google.com/d/optout.


column to Row.xlsb
Description: application/vnd.ms-excel.sheet.binary.macroenabled.12


Re: $$Excel-Macros$$ Macro for Column to Rows

2015-07-24 Thread Deepak Rawat
Thanks! Paul, its all done...

On Fri, Jul 24, 2015 at 5:21 PM, Paul Schreiner schreiner_p...@att.net
wrote:

 Based on your sample file, I put together two macros:
 RowsToColumns
 ColumnsToRows

 you need to select an input sheet and run the appropriate macro.

 I'm sure this doesn't do ALL you need, but it should give you an idea of
 tools and techniques to customize to your needs.

 *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:* Deepak Rawat deepakexce...@gmail.com
 *To:* excel-macros excel-macros@googlegroups.com
 *Sent:* Friday, July 24, 2015 2:37 AM
 *Subject:* $$Excel-Macros$$ Macro for Column to Rows

 Hi,

 attached file

 I have a huge data to convert from column to row

 Raw data is in Sheet1

 Final data is in Sheet2

 Please give me code for vice versa

 Like if i want to convert data from sheet1 to sheet 2 or
  if i want to convert data from sheet2 to sheet 1

 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.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


--
 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.
 For more options, visit https://groups.google.com/d/optout.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   7   8   9   >