$$Excel-Macros$$ Text +17273513812 XANAX, KUSH, LSD, ICE, WEED, OXYCODON, OXYTOCIN, MDMA, CRYSTAL METH. 

2020-07-30 Thread thompon paul


 One SOS  Gang : Serious buyers only 

 Wickr: baronmeds 

 Text +17273513812 

 text or Whatsapp: Plus 1 (seven seven four ) three two six four four 
Six two

We are legit suppliers of Xanax, Oxytocin's, Lsd, Cocain, MDMA, Crystal met
  we also have few other medications like TKO extracts carts, Brass 
knuckles, king pens, Exotic carts, supreme carts, dank carts and equally 
grade A medical marijuana both sativa and indica, raw distillate, edibles, 
shroom, shatter wax, ..we discreetly ship with package double vacuum 
sealed and delivered in the form of a toy like a birthday 
gift.refundable policy %

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND 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/d25ebbe0-c410-4aea-bb1a-aa3f868e9102o%40googlegroups.com.


$$Excel-Macros$$ Fast Delivery, Exotic Top Shelf Flowers Carts And Oils

2020-07-15 Thread Paul Watson

Signal:+1(929) 900-5143 High ~~~ Concentrates, Flower, And Carts 
Available Now!
I currently have a variety of ~~~ shelf concentrates, flower, and vape 
cartridges available. We guarantee 100% satisfaction on all our products. 
All products are produced in a lab environment. We offer  via USPS 
Priority  and meet up unless otherwise specified. All orders are 
vacuum-sealed and pa–ed discreetly for your privacy. Our menu is listed 
below and is regularly updated with new products so be sure to check back 
often! For all questions regarding pricing and  please message us 
on signal Serious ***ers only, please. Thank you for taking the time to 
read our ad. We look forward to your business.

Blue Dream , Sour Diesel ,Girl Scout Cookies ,Green Crack ,Jack Herer , SFV 
OG , Headband , Fire OG , White Widow , Super Lemon Haze , Bubba Kush , OG 
Kush ,Durban Poison , Tahoe OG , Master Kush , Skywalker OG , Cherry Pie , 
Blackberry Kush , Trainwreck , Purple Trainwreck , Pineapple Express , 
Super Silver Haze ,Grape Ape , Purple Kush ,Purple Haze , White 99 , 
Blackwater OG , Moon Rocks

FLOWER (EXOTIC AND TOP SHELF INDOOR)

Kosher Kush, Mimosa, SFV99, Wedding Cake, Soul Assassin OG,Gelato,Gorilla 
Glue,sourd..

CONCENTRATES

Cali Blaise Live Resin Cake Batter

Humboldt OG, Sour Cookies, Mango Kush, Blackwater Punch

Midas Touch Diamond Sauce

Purple Punchsicle, Kosher Cookies, Gelato #33, Grape Pie Crumble Strawberry 
Banana, Citrus Sap Shatter

Fire OG, Pluto OG, SFV OG, Pineapple Express, Kandy Kush, Wedding Cake

CARTS (ICE KREAM)

Tangie Punch, White Runtz, Tropicana Cookies, Lemon OG, King Louie OG, 
Birthday Cake, Sour Patch Kidz, Forbidden Fruit, Oreo Cookies, Pineapple

Absolutely no fronts, Won’t send first , please don’t even ask. However,We 
can start small if only we have open packs . You pay for product and we 
delivery/Ship..

NB: No time Wasting or Games…

If you place an order and start playing games or do not make the payment 
within 24 hours, you will be banned. Keep it short and simple for the best 
experience. Thanks for your support and we promise to be of great help to 
all customers acting in good faith…

By responding to this ad you acknowledge you are not affiliated with any 
law enforcement agencies…

Contact via details below:
WhatsApp:+1(929) 900-5143
Text #:+1(929) 900-5143

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND 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/09351188-d77f-4955-bac8-7c88dd0e3ecco%40googlegroups.com.


$$Excel-Macros$$ Xanax pills, Oxycodone etc and marijuana strains

2020-07-14 Thread Paul Watson
We can deliver to your door step the following .. Oxycontin 80 mg,Percocet 
10/625mg,Diazepam Valium 10 mg,Xanax 2 mg,Suboxone 8 mg,Roxycodone 30 
mg,Opana 10 mg,Mandrax(Quaalude) 300 mg,Hydrocodone 500 mg,Actavis 
Promethazine Codeine cough syrup,Ritalin 5 mg,Adderall 30 mg, For 
stoners,we have got strains like Purple haze, White widow, bruce banner, 
Master kush, etc wax and shatter, cannabis/CBD OIl
You can send a quick text to +1 929 900 5143

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND 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/f43f8248-6904-437a-9bf6-81014db37019o%40googlegroups.com.


$$Excel-Macros$$ Re: Introduce Yourself !!

2020-06-14 Thread Paul Watson
Buy pharmaceuticals online
We have hulks , Pecs , Oxy,Clr

You can contact for more information at

Text: +1 929 900 5143

Wickr:tonyandeson11

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND 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/002b8fe6-5bd2-4e2c-afbe-9843e768a2d3o%40googlegroups.com.


$$Excel-Macros$$ Buy Blues, Yellows and vals in Bulk.. Nextday and sameday

2020-06-14 Thread Paul Watson

WELCOME TO GREENS PHARMACEUTICALS MEDS  ONLINE MED STORE, CENTER OF ALL 
MEDICAL SOLUTIONS. GET SOLUTION FOR YOUR ILLNESS TODAY.Company

Order Via Website :https://www.greenishpharma.com/
Customer Support CALL OR TEXT /WHATSAPP..+1 (929)-900-5143
 

Fentanyl brand name: duragesic 5-12 12.5 mcg/hr patches
Demerol (meperidine hcl) caps
Black and White Heroin
Pure Ketamine
Pure Heroin
Nembutal powder and Pills
METHADONE 10mg 40mg
Nembutal powder,
CRYSTAL METH,
Pure Methamphetamine
Pure Cocaine
Mephedrone,
MDMA,
Apetamn syrup 200ml
AMBIEN 10MG,
morphine 30MG,
WATSON 325 10MG,
WATSON 853 10MG,
VICODIN 5MG,
VICODIN ES 7.5MG,
EPHEDRINE 30MG,
Celebrex 100mg,
Codeine 15mg,
Methiopropamine,
Naphyrone,
Soma 350mg,
Adderall 30mg,
Ritalin 10mg,
Tramadol ( Ultram) 50mg,
Opana 40mg,
CRYSTAL METH,
Mephedrone,
MDPV,
Methylone,
Phenazepam,
Butylone,
4MEC,
5-IAI,
4-ACO-DMT,
Ephedrine HCL,
Ethylphenidate HCL,
Pentedrone,
CB-13,
Oxycontin 40mg
Oxycontin 80 mg
Percocet 10/625mg
Diazepam Valium 10 mg
Xanax 2 mg
Suboxone 8 mg
Roxycodone 30 mg
Opana 10 mg
Mandrax (Quaalude) 300 mg
Hydrocodone 500 mg
Actavis Promethazine Codeine cough syrup
Ritalin 5 mg
Adderall 30 mg
Lortab Watson 7.5 mg
Methadone 10 mg and 40 mg wafers
Methoxetamine,
Percocet 5/ 325,
Endocet 10/ 325,
Hydrocodone-ibuprofen
Suboxone,
Subutex,
Watson 540,
Dilaudid 8mg,
Soma 350mg,
Adderall 30mg,
Ritalin 10mg,
Tramadol ( Ultram) 50mg,
ibuprofen,
Advil pm,
Atarax 25mg,
viagra gold,
FIORICET (BUTALBITAL 50MG) - MIKART,
Hydrocodone,
Roxicodone 15mg, 30mg,
Opana 40mga,
Tramadol ( Ultram) 50mg,
Opana 40mg,
CRYSTAL METH,
Mephedrone,
MDPV,
Methylone,
Phenazepam,
Butylone,
4MEC,
5-IAI,
4-ACO-DMT,
Ephedrine HCL,
Ethylphenidate HCL,
Pentedrone,
Oxycontin 40mg
Oxycontin 80 mg
Percocet 10/625mg
Diazepam Valium 10 mg
Xanax 2 mg
Suboxone 8 mg
Roxycodone 30 mg
Opana 10 mg
Mandrax (Quaalude) 300 mg
Hydrocodone 500 mg
Actavis Promethazine Codeine cough syrup
Ritalin 5 mg
Adderall 30 mg
Lortab Watson 7.5 mg
Methadone
Methoxetamine,
Percocet 5/ 325,
Endocet 10/ 325,
Hydrocodone-ibuprofen
Suboxone,
Watson 540,
Dilaudid 8mg,
Soma 350mg,
Adderall 30mg,
Ritalin 10mg,
Tramadol ( Ultram) 50mg,
ibuprofen,
XANAX 1 mg (blue Ksalol)
Xanax SR 2 mg (brand Upjohn)
Xanax 2 mg (Pfizer LongBars)
Valium 10 mg Bensedine
AMBIEN (Zolpidem, Stilnox)
Lorazepam 2.5 mg (Ativan)
Clonazepam 2 mg (Rivotril)
Nitrazeoam 5 mg (Nipam)
Bromazepam 6 mg (Lexotan)
Apaurine 10 mg (blue valium)
aderall generic: amphetamine salt combo
arimidex chemical name: anastrozole  
adderall xr 10mg capsules 30 capsules
codeine 30/500mg  
FIORICET (BUTALBITAL 50MG) - MIKART,
Hydrocodone,
Roxicodone 15mg, 30mg,
Opana 40mg   etc

.100% Discrete and Confidential posting services,
.Your personal details are 100% SECURE.,
.Fast Worldwide Delivery (You can track and trace with your tracking number 
provided).

Customer Support CALL OR TEXT /WHATSAPP..+1 (929)-900-5143
Company Website ://www.greenishpharma.com/
Email:greenishpharma.com
Wickr: Tonyandeson11

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND 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/4eee2dc7-f615-4b40-a867-e085b9363e01o%40googlegroups.com.


$$Excel-Macros$$ Unsubscribing due to unsolicited emails

2018-08-09 Thread Paul Schreiner
Dear fellow programmers,
I have been a member of this group for a number of years, but the extreme 
abundance of unsolicited SPAM in the form of job postings (which is 
specifically disallowed in the forum rules) has forced me to choose to 
unsubscribe from this group.

For those I have worked with in the past, feel free to hang onto my email 
address and contact me directly.
I would enjoy keeping in touch.

I'm sure you'll find me on other VBA help sites!

Paul Schreiner

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ ETL Data Architect

2018-08-08 Thread Paul Schreiner
At the bottom of each message, there is the address to use to unsubscribe.
I'm nearly to the point of doing so myself...Really disappointed that the 
owner/moderator doesn't enforce the rules for the group (re: #5:) 
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, August 8, 2018 12:39 AM, Mohit Bheda 
 wrote:
 

 Hi HiltonI want to unsubscribe this group please do the needful.
-- 
Kind Regards, 


Mohit BhedaAssistant Manager
Accounts
Cruise Electric Pvt. Ltd.
23B Mahal Industrial Estate,
Mahakali Caves Road, Andheri (E),Mumbai 400 093, India
T : +91 22 4242 M:  +91 70459 59229
E : mohit.bh...@cruiseac.comw: www.cruiseac.com
DISCLAIMER: This email contains confidential information. It is intended 
exclusively for the addressees. If you are not an addressee, you must not 
store, transmit or disclose its contents. Instead please notify the sender 
immediately; and permanently delete this e-mail from your computer systems. We 
have taken reasonable precautions to ensure that no viruses are present. 
However, you must check this email and the attachments, for viruses. We accept 
no liability whatsoever, for any detriment caused by any transmitted virus.
On Wed, Aug 8, 2018 at 2:23 AM, Hilton Varma  wrote:

Hi,   Hope you are doing great,This is Hilton from ASK Staffing.I 
was reviewing your resume online and would like to talk to you regarding 
anexciting opportunity we have with one of ASK's premier clients. 
Yourexperience looks like a good fit for the position and I wanted to know if 
youwould be interested in exploring this opportunity.  Since this is an urgent 
business requirement,I’d appreciate a prompt response on this.Send me your 
resume and 2-3 work references(name, number, company, Title of the job, E-mail 
Id) attached to this e-mail  Position:   ETL Data 
ArchitectLocation:  Bellevue, WADuration:  Long Term 
(More than 1 Year)
Only GC, USC Required Skills: ·Candidate should have 10 plus years of 
IT Industry experience·Candidate with hands on development experience 
in dataintegration, ETL, data transformation is preferred·Must have 4 
plus years of ETL development experience using IBMDataStage / IBM Data 
Management Suite·Must have experience with complex data transformation 
usingDataStage 11.x and above·Ability to work as Data Architect, 
leading data movement, dataintegration across multiple systems.·
Candidate should be familiar with Oracle and IBM Db (DB2).·Must have 
good knowledge of PL/SQL. Ability to write complex SQLand packages preferred·   
 Candidate should be able to lead and participate as functional 
andintegration testing at different phases of project
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Fo

Re: $$Excel-Macros$$ Preventing to Delete based on condition

2018-07-31 Thread Paul Schreiner
I'm not sure how you implemented the code.If it is installed properly, the user 
cannot SELECT the entire row to delete!
The code goes in the "Thisworkbook" module.you can add the line:
Debug.Assert False
to have it pause to see if the macro is actually being called. 
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 30, 2018 11:59 PM, Chandra Shekar 
 wrote:
 

 Hello Paul,
Thanks for the reply. I tried this code but if user delete entire row it does 
not work.
My requirement is code should not allow to delete entire row but it should 
allow to delete cells & it should allow to update cells/row.
Regards,
Chandru
On Mon, Jul 30, 2018 at 6:20 PM, Paul Schreiner  wrote:

I've done something like this before using a couple of different methods.
It's really going to depend on what you're trying to "block".
For instance, if you want to keep someone from deleting any of the rows 1-8, 
thenyou can use a SelectionChange event to test for selected rows in the 1-8 
range and the number of columns selected as greater than, say, 100...If the 
selection meets this criteria, simply change the selection and cancel the sub
Like:
Private Sub Workbook_SheetSelectionChange( ByVal Sh As Object, ByVal Target As 
Range)
   Dim Targ As Range
   For Each Targ In Target.Rows
    If ((Targ.Row >= 1) And (Targ.Row <= 8)) Then
    If (Target.Columns.Count > 100) Then
    Application.EnableEvents = False
    Cells(Targ.Row, "A").Select
    Application.EnableEvents = True
    Exit Sub
    End If
    End If
   Next TargEnd 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 Sunday, July 29, 2018 4:06 AM, Chandra Shekar 
 wrote:
 

 Hello,
Is there any way to prevent from deletion based on condition but without using 
protecting sheet.
For ex: Prevent user to delete row lesser than 8 but still he can able to edit 
it.


Regards,
Chandru-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


   -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


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

$$Excel-Macros$$ SAP EHS candidate AVAILABLE immediately.

2018-07-30 Thread Akash Paul
we have *SAP EHS *candidate AVAILABLE immediately.
Please share open requirements.

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

FORUM RULES

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

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


$$Excel-Macros$$ Certified SALESFORCE AVAILABLE IMMEDIATELY..

2018-07-30 Thread Akash Paul
*Certified SALESFORCE AVAILABLE IMMEDIATELY.. *

*Email us open requirements*

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

FORUM RULES

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

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


$$Excel-Macros$$ SAP BASIS consultant open to relocate anywhere.

2018-07-30 Thread Akash Paul
*SAP BASIS consultant open to relocate anywhere.*
*Please share open requirements.*

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

FORUM RULES

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

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


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-30 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Stop with the job postings!

2018-07-30 Thread Paul Schreiner
I know!Right?I had them all blocked and something happened and now they all 
started getting through.I'm very close to unsubscribing from the list because 
of all of the job postings.
One other sight that I used to participate in simply closed down completely 
because of the spam postings. 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 30, 2018 1:43 PM, Janell Craig  wrote:
 

 This forum is NOT intended to distribute job postings!

Sent from my iPhone

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

FORUM RULES

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

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


$$Excel-Macros$$ Available VMWARE CONSULTANT immediately. Please review attached resume.

2018-07-30 Thread Akash Paul
Available VMWARE CONSULTANT immediately. Please review attached resume.

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

FORUM RULES

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

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


Bharath_Resume_P.docx
Description: MS-Word 2007 document


$$Excel-Macros$$ Certified SALESFORCE AVAILABLE IMMEDIATELY..

2018-07-30 Thread Akash Paul
*Certified SALESFORCE AVAILABLE IMMEDIATELY.. *

*Email us open requirements*

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

FORUM RULES

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

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


$$Excel-Macros$$ SAP EHS candidate AVAILABLE immediately.

2018-07-30 Thread Akash Paul
we have *SAP EHS *candidate AVAILABLE immediately.
Please share open requirements.

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

FORUM RULES

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

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


$$Excel-Macros$$ SAP BASIS consultant open to relocate anywhere.

2018-07-30 Thread Akash Paul
*SAP BASIS consultant open to relocate anywhere.*
*Please share open requirements.*

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

FORUM RULES

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

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


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-30 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Preventing to Delete based on condition

2018-07-30 Thread Paul Schreiner
I've done something like this before using a couple of different methods.
It's really going to depend on what you're trying to "block".
For instance, if you want to keep someone from deleting any of the rows 1-8, 
thenyou can use a SelectionChange event to test for selected rows in the 1-8 
range and the number of columns selected as greater than, say, 100...If the 
selection meets this criteria, simply change the selection and cancel the sub
Like:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As 
Range)
   Dim Targ As Range
   For Each Targ In Target.Rows
    If ((Targ.Row >= 1) And (Targ.Row <= 8)) Then
    If (Target.Columns.Count > 100) Then
    Application.EnableEvents = False
    Cells(Targ.Row, "A").Select
    Application.EnableEvents = True
    Exit Sub
    End If
    End If
   Next TargEnd 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 Sunday, July 29, 2018 4:06 AM, Chandra Shekar 
 wrote:
 

 Hello,
Is there any way to prevent from deletion based on condition but without using 
protecting sheet.
For ex: Prevent user to delete row lesser than 8 but still he can able to edit 
it.


Regards,
Chandru-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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.


$$Excel-Macros$$ SAP BASIS consultant open to relocate anywhere.

2018-07-27 Thread Akash Paul
*SAP BASIS consultant open to relocate anywhere.*
*Please share open requirements.*

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

FORUM RULES

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

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


$$Excel-Macros$$ SAP EHS candidate AVAILABLE immediately.

2018-07-27 Thread Akash Paul
we have *SAP EHS *candidate AVAILABLE immediately.
Please share open requirements.

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

FORUM RULES

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

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


$$Excel-Macros$$ Certified SALESFORCE AVAILABLE IMMEDIATELY..

2018-07-27 Thread Akash Paul
*Certified SALESFORCE AVAILABLE IMMEDIATELY.. *

*Email us open requirements*

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

FORUM RULES

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

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


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-27 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-26 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-26 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ Certified SALESFORCE AVAILABLE IMMEDIATELY..

2018-07-26 Thread Akash Paul
Certified SALESFORCE AVAILABLE IMMEDIATELY..
Email us open requirements

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

FORUM RULES

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

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


$$Excel-Macros$$ Available VMWARE CONSULTANT immediately. Please review attached resume.

2018-07-26 Thread Akash Paul
Available VMWARE CONSULTANT immediately. Please review attached resume.

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

FORUM RULES

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

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


Bharath_Resume_P.docx
Description: MS-Word 2007 document


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-26 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Excel Formula : Duplicate values

2018-07-25 Thread Paul Schreiner
You can use:
=IF(AND(COUNTIFS(A:A,A2,B:B,"A")>0,COUNTIFS(A:A,A2,B:B,"B")>0),"Yes","No") 
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, July 25, 2018 7:59 AM, Chandra Shekar 
 wrote:
 

 Hello,

Need formula which should check Column A and B For Ex: If CPI have both A & B 
then its Yes. IF CPI has only A or B then it should be No.

Regards,
Chandru-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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.


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS

2018-07-24 Thread Akash Paul
 HOTLIST - SALESFORCE / VMWARE / SAP EHS / SAP BASIS
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP

2018-07-23 Thread Akash Paul
HOTLIST - SALESFORCE / VMWARE / SAP
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / SAP

2018-07-23 Thread Akash Paul
HOTLIST - SALESFORCE / VMWARE / SAP
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ Please add on linkedin - https://www.linkedin.com/in/praful-sharma-6b12b7169/

2018-07-20 Thread Akash Paul
 https://www.linkedin.com/in/praful-sharma-6b12b7169/

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

FORUM RULES

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

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


$$Excel-Macros$$ HOTLIST - SALESFORCE / VMWARE / AWS / SAP

2018-07-20 Thread Akash Paul
HOTLIST - SALESFORCE / VMWARE / AWS / SAP
Name Primary Skill Location Availability Relocation
B K - H1B Vmware Admin NJ Immediate Open
B M - H1B Salesforce Dev/Admin NJ Immediate Open
L V - H1B AWS Engineer CA Immediate Open
J M SAP EHS MI Immediate OPEN
K J - H1B SAP BASIS Admin/Consultant HOUSTAN, TX Immediate OPEN
R A - H1B
SAP ABAP/TECHNICAL
Immediate OPEN

Kindly share your open requirements on souravs77...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ ActiveX ComboBox (Worksheet object) triggering unexpected behaviour

2018-06-08 Thread Paul Martin
I have some code I've written that, until I added a ComboBox (worksheet 
ActiveX object), worked fine. 

This is the code that triggers the problem (all it does is put the current 
date into a cell):

Range("PolicyStartDate").Value = Format(Now(), "dd-mmm-") 

When this line executes, the code jumps to cboCountries_Change(), the code 
that executes when a ComboBox selection is made. I've not come across this 
behaviour before and have no idea how to fix it. Any ideas appreciated. TIA


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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Re: Need Help in IF formula

2018-02-13 Thread Paul Schreiner
the formula seems to work as it is designed.So what kind of help do you need? 
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, February 12, 2018 11:03 PM, GENIUS <izharra...@gmail.com> wrote:
 

 -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ macros won't run as written

2018-01-10 Thread Paul Schreiner
What does your macro look like?
I recorded a macro, then "cleaned it up".the result being:
Sub PageFormat
    ActiveSheet.PageSetup.LeftFooter = ""
    ActiveSheet.PageSetup.RightFooter = "" End Sub
it seems to work great in Excel 2010
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, January 9, 2018 5:26 PM, "kspeck...@kearnycountyhospital.com" 
<kspeck...@kearnycountyhospital.com> wrote:
 

 I have a very basic macro to do a page set up format.  Even though it looks 
right in VBA it doesn't do what it is set up to do. I set up the following:
Page - Fit 1 to 1 and Landscape - this part worksMargins settings - this part 
also worksHeader/Footer - Put [&(Date] in the Left section and &{Path]&[File] 
in Right section - it always changes it to this in the Left section  &&[Path] 
 with nothing in Right sectionSheet -  Rows to Repeat at top - this works, but 
it changes the Comments from none to At end of sheet.
I have gone to Trust Center and have Enable all macros selected, and I save my 
workbooks as Excel Macro-Enabled Workbook.Our IT dept has uninstalled and 
reinstalled my Microsoft Excel products and it just happens again.  They cannot 
figure it out.I can copy the VBA out here if it helps.
Any ideas would be greatly appreciated!Kelly Ann-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Need VBA or VBS scripting codes

2017-12-22 Thread Paul Schreiner
Yes... that's what this group is for!
If you tell us what the issue is what you've done so far, there's lots of us 
available to help! Paul-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
- 

On Friday, December 22, 2017 3:15 AM, John A <johnj3...@gmail.com> wrote:
 

 I want automate Excel reports using VBA or VBS scripting codes
I need codes anyone can help me

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at 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$$ Urgent !!! Urgent !!! Urgent !!! Vba code required !!! To copy from another workbook to the current/active workbook

2017-12-11 Thread Paul Schreiner
First of all, just as suggestion, take a look at the Forum Rules.the first is 
more of a recommendation than a rule, since violating it doesn't get you banned 
from the group, but it COULD make it take longer to get an response:

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
Because, to ME no issue posted is urgent.It doesn't affect MY job.And no one is 
waiting for results from ME.Therefore, seeing "Urgent!!! Urgent!!! Urgent!!!" 
simply wastes my time.
In the past, I've set my email filter to move anything with "urgent" in the 
subject line to my Junk folder.But since I've become responsible for another 
site, I've had to "relax" my email filters.
In the mornings, before I begin my day I often like to take the time to see if 
there's a question I can contribute to.Messages that choose to spend more time 
describing how "urgent" their issue is instead of spending the time describing 
the issue suggests to ME that question will be incomplete and spend more of MY 
time just to get to the issue at hand and therefore get moved to the bottom of 
the list.
In your case, you've added a specific requirement:"Only copy paste , no copy 
paste special"
This requirement forces the macro to utilize the system clipboard to copy the 
entire cell content and formatting to the clipboard and then copy it from the 
clipboard to the new file.
>From a programming perspective, this is "sloppy" and potentially utilizes 
>system resources that may be insufficient.In addition, if the macro must run 
>for any length of time, if you happen to select something from another window 
>(like checking your email while it runs) then you run the risk of accidentally 
>copying something to the clipboard that then gets incorporated into the 
>running macro.
Nevertheless,
What have you attempted?have you Googled anything?Choosing another file to open 
is accomplished with a FileDialog.Many examples are available.
Creating a macro to copy/paste is a simple use of the macro recorder and some 
modifications to clean it up a bit.Depending on how it is to be used in the 
future.
Based on the "Urgent" need, and the limited description of the issue,Is this a 
classroom assignment that you're hoping that this forum may be used to complete?
If so, I'm sure someone here would be willing to help you work through how to 
accomplish the assignment rather than simply do the assignment for you.
sorry if I've spent time I COULD'VE used to write code but instead vented my 
disappointment.
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, December 11, 2017 4:52 AM, rathi rupenzala 
<rathi8rupenz...@gmail.com> wrote:
 

 Hi team,
Please help to code to pick a file from the folder , and just copy paste the 
data to the current/active workbook.
Only copy paste , no copy paste special

-- 
With Regards,Rathi Alageshu.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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 t

Re: $$Excel-Macros$$ Delete some rows from Excel as per condition

2017-12-07 Thread Paul Schreiner
I looked in your attached macro module and do not see where you included the 
loop to delete rows by year.
Can you send me some sample data as well so I can test/debug the macro you're 
using? 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 Thursday, December 7, 2017 6:17 AM, Pravin Gunjal <isk1...@gmail.com> 
wrote:
 

 Dear Mr.Paul,
Thanks for your reply.I tried using this code in the existing macro of the file 
and observed that, it deletes only the year 2012 and not 2011.Also it has 
deleted the header row apart from old years, which shouldn't do.
The existing macro is attached for your immediate reference. Please help.
With regards,
Pravin Gunjal
  On Tue, Dec 5, 2017 at 5:51 PM, Paul Schreiner <schreiner_p...@att.net> wrote:

Sure, the "trick" is that you have to start at the last row and work your way 
"up".
because otherwise, when you delete a row, the "next" row moves up into the 
deleted position, then the loop would skip over that record.
By starting at the bottom, the row that moves up has already been processed..
the macro would look something like:​​Sub Delete_By_Year()
    Dim nRows, nRow
    Application.ScreenUpdating = False    On Error Resume Next
    nRows = Application.WorksheetFunction. CountA(Range("A:A"))
    For nRow = nRows To 1 Step -1
    If (nRow Mod 1000 = 0) Then Application.StatusBar = "Processing " & nRow
    If ((Year(Cells(nRow, "H").Value) = 2011) _
 Or (Year(Cells(nRow, "H").Value) = 2012)) Then
    Cells(nRow, "A").EntireRow.Delete
    End If
    Next nRow
    Application.ScreenUpdating = True
    Application.StatusBar = False
    MsgBox "finished"
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 Tuesday, December 5, 2017 2:46 AM, Pravin Gunjal <isk1...@gmail.com> 
wrote:
 

 Hi Experts
I want to delete those rows which belongs to Year 2011 & 2012 available as per 
column H of "Expiry Date"


Can we do it by any macro. Thank you in anticipation.
Regards,
Pravin Gunjal.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


   -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post 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/ SM3b1he4JSA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
excel-macros+unsubscribe

Re: $$Excel-Macros$$

2017-12-05 Thread Paul Schreiner
OK, you could use a macro like:
Sub Gen_List()
    Dim nRows, nRow, dRow, inx
    dRow = 0
    nRows = Application.WorksheetFunction.CountA(Range("A:A"))
    For nRow = 1 To nRows
    For inx = 1 To 10
    dRow = dRow + 1
    Cells(dRow, "B").Value = Cells(nRow, "A").Value
    Next inx
    Next nRow
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 Tuesday, December 5, 2017 7:36 AM, Ayoub Kakande <akaka...@gmail.com> 
wrote:
 

 Column A has fixed numbers. e,g A1=234, A2=323 A3=423424.
Column B should pick A1 and repeat it 10 times then move to A2 repeat it also 
10 times
e.g B1=234, B2=234, B3=234, B4=234, B5=234, B6=234, B6=234, B7=234, B8=234, 
B9=234, B10=234, B11=323, B12=323

Thanks

On 5 December 2017 at 15:26, Paul Schreiner <schreiner_p...@att.net> wrote:

Please elaborate.
I understand that you have random numbers in column A.how many? do they change 
when the workbook calculates? or are they "fixed"?
What do you mean: " I want column B to pick from A"Do you want to randomly 
select a random number from column A?
then:  "fill one number 10 times"What does that mean?
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, December 5, 2017 4:52 AM, Ayoub Kakande <akaka...@gmail.com> 
wrote:
 

 Dear All,
I have column A that contains random numbers,
I want column B to pick from A fill one number 10 times, thn pick the second 
fill it 10 times etc,
Any help will be much appreciated

-- 
**In sun set years education is not associated with standardof living and 
medical care access; it is the the financial myosin and actin!!!

 Don't give me fish, teach me how to fish

Kayoub K
0772656158 / 0703516660
Data Manager
Mujhu Research Collaboration
Mulago Hosp
Msc Enterprise Architecture 
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


   -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.




-- 
**In sun set years education is not associated with standardof living and 
medical care access; it is the the financial myosin and actin!!!

 Don'

Re: $$Excel-Macros$$

2017-12-05 Thread Paul Schreiner
Please elaborate.
I understand that you have random numbers in column A.how many? do they change 
when the workbook calculates? or are they "fixed"?
What do you mean: " I want column B to pick from A"Do you want to randomly 
select a random number from column A?
then:  "fill one number 10 times"What does that mean?
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, December 5, 2017 4:52 AM, Ayoub Kakande <akaka...@gmail.com> 
wrote:
 

 Dear All,
I have column A that contains random numbers,
I want column B to pick from A fill one number 10 times, thn pick the second 
fill it 10 times etc,
Any help will be much appreciated

-- 
**In sun set years education is not associated with standardof living and 
medical care access; it is the the financial myosin and actin!!!

 Don't give me fish, teach me how to fish

Kayoub K
0772656158 / 0703516660
Data Manager
Mujhu Research Collaboration
Mulago Hosp
Msc Enterprise Architecture 
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Delete some rows from Excel as per condition

2017-12-05 Thread Paul Schreiner
Sure, the "trick" is that you have to start at the last row and work your way 
"up".
because otherwise, when you delete a row, the "next" row moves up into the 
deleted position, then the loop would skip over that record.
By starting at the bottom, the row that moves up has already been processed..
the macro would look something like:Sub Delete_By_Year()
    Dim nRows, nRow
    Application.ScreenUpdating = False    On Error Resume Next
    nRows = Application.WorksheetFunction.CountA(Range("A:A"))
    For nRow = nRows To 1 Step -1
    If (nRow Mod 1000 = 0) Then Application.StatusBar = "Processing " & nRow
    If ((Year(Cells(nRow, "H").Value) = 2011) _
 Or (Year(Cells(nRow, "H").Value) = 2012)) Then
    Cells(nRow, "A").EntireRow.Delete
    End If
    Next nRow
    Application.ScreenUpdating = True
    Application.StatusBar = False
    MsgBox "finished"
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 Tuesday, December 5, 2017 2:46 AM, Pravin Gunjal <isk1...@gmail.com> 
wrote:
 

 Hi Experts
I want to delete those rows which belongs to Year 2011 & 2012 available as per 
column H of "Expiry Date"


Can we do it by any macro. Thank you in anticipation.
Regards,
Pravin Gunjal.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Power BI

2017-11-28 Thread Paul Schreiner
I've never heard of it, but:A) This is a site for Excel macros, not "Power Bi" 
B) a Google search took me to the Microsoft site: 
https://powerbi.microsoft.com/ that has guided learning.
Google also indicated YouTube channels and more("Power Bi tutorial" has over 
1,000,000 hits)

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, November 28, 2017 3:23 AM, Muralidhar E 
<emuralidha...@gmail.com> wrote:
 

 

Hi friends,
I want to learn Power BI(Power Pivots, Power query and power maps) in briefly 
with examples, and training material also, with tips and tricks. Any useful 
links, PPT's and PDF etc
Thanks in advance
-- 
Thanks & Regards, Muralidhar E.Think differentDo DifferentMake different-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Lookup variable sheet name

2017-11-25 Thread Paul Schreiner
Are you trying to look up the date from J1?
If so, wouldn't it be:=VLOOKUP($J$1,INDIRECT("'"&"'!"&"$A$3:$F$3"),5,0)

and, I'd suggest changing $F$3 to something like $F$1000
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, November 25, 2017 9:46 AM, Steve Weaver 
<steveweave...@comcast.net> wrote:
 

 Not sure what I'm missing but I'm having difficulty with this formula in the
attached workbook, any help would be appreciated.

=VLOOKUP($E2,INDIRECT("'"&"'!"&"$A$3:$F$3"),5,0)


Sincerely,

Steve

 

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ CODE FOR RANGE

2017-10-20 Thread Paul Schreiner
In your macro:Sub sbCompareColumns_2()
    iCntr = 1
    Do While Cells(iCntr, 1) <> ""
    If UCase(Cells(iCntr, 1)) = UCase(Cells(iCntr, 2)) Then
    Cells(iCntr, 3) = "Matched"
    Else
    Cells(iCntr, 3) = "Not Matched"
    End If
    iCntr = iCntr + 1
    Loop
End Sub
the Cells() function syntax is:Cells(Row,Column)
So, when you set iCntr = 1and use it in: Do While Cells(iCntr, 1) <> ""
the Do...Loop starts with row 1 in column 1 (A) and continues until the cell in 
column A is blank.
so, if you want to start the loop at row 12, simply change the iCntr to 12:
iCntr = 12

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, October 20, 2017 3:43 AM, Izhar <izharra...@gmail.com> wrote:
 

 If I change the location of the data as shown in A12:B16, then where should I 
change the code, please do the needful
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Date Generation !!!

2017-10-10 Thread Paul Schreiner
Is there a reason you need a "code with loop"?I take it you want it in VBA?It's 
really the same process as the formula I gave you.
The loop is:Dim nRow as integerFor nRow = 2 to 57...Next nRow In the loop, you 
test to see if the value in column A of the current row is not blank.Instead 
of:IF(A2<>"",you use:If (Cells(nRow, "A").Value <> "") Then
If it is not blank, then you set cell B = cell A:Cells(nRow, "B").Value = 
Cells(nRow, "A").Value
if it IS blank, then the value in cell B is (1) more than the B value of the 
previous row:Cells(nRow, "B").Value = Cells(nRow - 1, "B").Value + 1
If you want to make the whole thing "dynamic", you'll have to decide how you 
want to determine the number of rows to process in the loop.
But otherwise, it's pretty simple.

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, October 10, 2017 9:27 AM, rathi rupenzala 
<rathi8rupenz...@gmail.com> wrote:
 

 How do I draft it in code with loop ... please help !!!
On Tue, Oct 10, 2017 at 6:45 PM, Paul Schreiner <schreiner_p...@att.net> wrote:

You could use a simple formula in column B, starting in B2 
with:=IF(A2<>"",A2,B1+1)
and copied down.
Excel automatically calculates the next date and considers leap years when 
doing so. 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, October 10, 2017 8:44 AM, rathi rupenzala 
<rathi8rupenz...@gmail.com> wrote:
 

 Hi Team,
I have enclosed the excel file - Sheet1 for your reference.
1. I need the day , month and year to be generated continuously until the next 
cell which has the date in it and so on and so forth 
2.The leap year has to be checked prior to the increment.

-- 
With Regards,Rathi Alageshu.
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


   -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.




-- 
With Regards,Rathi Alageshu.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
htt

Re: $$Excel-Macros$$ Date Generation !!!

2017-10-10 Thread Paul Schreiner
You could use a simple formula in column B, starting in B2 
with:=IF(A2<>"",A2,B1+1)
and copied down.
Excel automatically calculates the next date and considers leap years when 
doing so. 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, October 10, 2017 8:44 AM, rathi rupenzala 
<rathi8rupenz...@gmail.com> wrote:
 

 Hi Team,
I have enclosed the excel file - Sheet1 for your reference.
1. I need the day , month and year to be generated continuously until the next 
cell which has the date in it and so on and so forth 
2.The leap year has to be checked prior to the increment.

-- 
With Regards,Rathi Alageshu.
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Excel Macro Help

2017-10-09 Thread Paul Schreiner
sure.fairly easily done.Please provide sample files. 
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, October 7, 2017 7:48 AM, Ram Prakash Palaniswamy 
<ramcb...@gmail.com> wrote:
 

 I have a master excel file (ABC.xls) which has n number of rows and columns. 
And also i have another excel file (DEF.xls) which has limited number of same 
data from the master excel file (ABC.xls). 
I need a macro code for if i update some values in the master excel file 
(ABC.xls), automatically the values needs to update in the second excel file 
(DEF.xls). 
Can you please any one help on this? 
Thank you 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$$ Formula for Month wise calculation

2017-09-29 Thread Paul Schreiner
This is pretty "convoluted" logic.I tried several approaches that soon became 
extremely complex (as if this isn't?)
The approach is this:Establish a starting date of 01-Jan of LAST yearand an 
Ending Date of -1-Jan of NEXT year.(I could've hard-coded these dates, but then 
you'd have to edit the macro in a few months!)
then, I calculate the number of days between those two 
dates:DATE(YEAR(NOW())+1,1,1)-DATE(YEAR(NOW())-1,1,1)
Next, calculate the number of days between this year old starting date and the 
"IN" date. $B3-DATE(YEAR(NOW())-1,1,1)Now, for the month you're evaluating, 
find the number of days since the first day of the month and this old starting 
date:H$2-DATE(YEAR(NOW())-1,1,1)
I select the MAX() of these two dates and subtract it from the total days.
I do the same thing, calculating the days between the "future" date and the 
"Out" dateand compare it to the first day of the NEXT month from the reporting 
month.(I have to take into account that the "next" month could also be January 
of the next year, so I use:DATEVALUE(MONTH(H$2+31)&"/1/"(H$2+31)) to 
calculate that date.the MAX() of these two dates is also subtracted from the 
total days and you get the days within each month!
Plugging in valuesIf you have an "IN" date of 29-Jan-2017and an "OUT" date of 
15-Feb-2017and you're looking for the days worked in February of 2017:
I counted the number of days from 01-Jan-2016 and 01-Jan-2018 (731)The days 
from February 1 to 01-Jan-2016 is 397, the days from the "IN" date to 
01-Jan-2016 is 394, so the MAX() is 397The days from first of the next month 
(01-Mar-2017) to 01-Jan-2018 is 306The days from the "Out" date of 15-Feb-2017 
to 01-Jan-2018 is 320so the MAX() here is 320.Taking total days available 
731-397-320 gives 14.
Now, I have a slight issue with the total here.since 15-Feb-2017 should be 
FIFTEEN days in February, not 14.
It turns out that in the month of the "OUT" date, the calculation will be off 
by 1.so, I check to see if the month and year of the "out" date is the same as 
the "evaluation" month and if they match, I add 
1:IF(AND(MONTH($C3)=MONTH(H$2),YEAR($C3)=YEAR(H$2)),1,0)
the formula ends up looking 
like:=MAX(DATE(YEAR(NOW())+1,1,1)-DATE(YEAR(NOW())-1,1,1)
-MAX($B3-DATE(YEAR(NOW())-1,1,1),H$2-DATE(YEAR(NOW())-1,1,1))
-MAX(DATE(YEAR(NOW())+1,1,1)-$C3,DATE(YEAR(NOW())+1,1,1)-DATEVALUE(MONTH(H$2+31)&"/1/"(H$2+31))),0)
+IF(AND(MONTH($C3)=MONTH(H$2),YEAR($C3)=YEAR(H$2)),1,0)
hope this helps
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, September 23, 2017 12:45 PM, vikas khen <vikk...@gmail.com> 
wrote:
 

 Hi All,
Request to all of you that kindly find the attached sheet and help me to 
calculate  Month wise cost by selecting the month and how to represent the same 
in piot table too.
your assistance in this regards will be highly appreciated
Thank you
Regards,
Vikhen-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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

Re: $$Excel-Macros$$ reconiling large data in excel

2017-09-18 Thread Paul Schreiner
I have no idea what you're trying to do.You have one sheet called "ven" which 
has 998 rows dating from April 1, 2017 to December 24, 2019then you have a 
sheet called "ledg" which has 2009 rows from to April 1, 2016 April 10, 
2016.None of the dates overlap, so trying to guess what you're trying to 
accomplish with "reconciling" the data is not possible.
Please provide an example of what results you're trying to achieve.
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, September 18, 2017 10:50 AM, Mohammed Hamed Ajaz 
<mhameda...@gmail.com> wrote:
 

 Dear All,
Please Help in reconciling large data in excel. i had tried through vlookup but 
i am not reconcile since data contains same values twice or more times hence in 
vlookup its ignoring the same value.
Kindly do the needful in finding the solution. For your reference i have 
attached file.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Extract data in svg file and store automatically in excel

2017-07-31 Thread Paul Schreiner
SVG files are in XML format.In the past, I've used Excel VBA to open XML files 
as a "text stream" and parsed out the data to extract data. 
If you can send me a sample file and tell me what you're looking for "model 
number" and what values you expect to extract, I can see what I can do to 
help.Paul-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
- 

On Sunday, July 30, 2017 4:55 AM, Uma Balasubramanian 
 wrote:
 

 suppose if there are 20 svg files with the same circuit components but with 
different component values, I need to extract the content of transistor(model 
number) in the circuit alone and automatically export them to excel sheet. 
Kindly help. TIA-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Help on Week Formula

2017-07-25 Thread Paul Schreiner
I think you'll need to be more specific on how you want the "weeks" 
calculated.For instance, in August (2017) August 1 is on  a Tuesday.
so, the weeks are handled:

but, July 1 is on a Saturday,so, does Week 1 only have a single day?
Or is July 1 counted as part of week 5 of June.If so, what is the minimum 
number of days counted in a week 1?
Or are you wanting a simple count of days:Week 1 = first 7 daysWeek 2 = Second 
7 daysetc.
 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, July 25, 2017 3:34 AM, Chandra Shekar 
<chandrashekarb@gmail.com> wrote:
 

 Hello Team,
Could you please help me in attached week formula.
Regards,
Chandru-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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 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 <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 to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Find out the value of the cell based on row and column

2017-07-21 Thread Paul Schreiner
use:=INDIRECT(E3) 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, July 21, 2017 6:53 AM, Vijayendra Rao <vijayendrar...@gmail.com> 
wrote:
 

 Hi Experts,
I have cell value called $A$5 (Will change based on selection of active cell) 
and need to get the suitable function which should reflect the value of the 
$A$5 (will change). Attached is the excel file, request you to help on the same.
Regards,
Vijayendra

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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: Fwd: $$Excel-Macros$$ for multiple condition to calculate A SIMPLE RESULT

2017-07-10 Thread Paul Schreiner
I'm not sure I COMPLETELY understand, but at least I can give it a start.
first: your description keeps saying "BD = ..."But your workbook has a column 
heading "DB", so I'm assuming one or the other is transposed.
also, .06% is .0006  do you really mean "B Value" * .06  (formula: =B2 * 
.06)or"B Value" * .06% (formula: =B2 * .06% is the same as =B2 * .0006)The 
difference for row 2 is 134274 or 1342.74

I think the easiest for you to read and follow would be a nested "if" statement:
in cell N2:=IF(AND(A2="NS",H2="C/F"),F2*0.06,
 IF(AND(A2="NS",C2="C/F"),K2*0.06,
 IF(AND(A2="NS",C2<>"C/F"),(F2+K2)*0.06,
IF(AND(A2="BNIST",H2="C/F"),F2*0.05,
 IF(AND(A2="BNIST",C2="C/F"),K2*0.05,
 IF(AND(A2="BNIST",C2<>"C/F"),(F2+K2)*0.05,
"other")) 
I'm not sure what you mean by:"FOR THE OTHER PERSONS IT TAKES OTHER CALCULATION 
AL WELL"
do you mean "AS WELL", meaning that other combinations have alternate 
calculations?
If so, you can add the appropriate alternatives to the above formula

BTW: in case you are unaware, Alt-Enter allows you to move part of the formula 
to the next line,allowing a long formula such as this to be easier to read!
hope this helps.
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 10, 2017 2:31 AM, Sanjib Chatterjee 
<chatterjee.kolk...@gmail.com> wrote:
 

 please help

-- Forwarded message --
From: Sanjib Chatterjee <chatterjee.kolk...@gmail.com>
Date: Sat, Jul 8, 2017 at 1:22 PM
Subject: $$Excel-Macros$$ for multiple condition to calculate A SIMPLE RESULT
To: excel-macros <excel-macros@googlegroups.com>


Dear Sir / Madam,
Please see the attachment and 


Please help me how to solve the problem,
I want to calculate "BD"

if person says "NS"  IF SELL DATE " C/F" , BD = B Value * .06%if person says 
"NS"  IF Buy DATE " C/F" , BD = S Value * .06%
if person says "NS"  IF Buy DATE " not equal to C/F" , BD = (B Value + S value) 
* .06%

if person says "BNIST"  IF SELL DATE " C/F" , BD = B Value * .05%if person says 
"BNIS"  IF Buy DATE " C/F" , BD = S Value * .05%
if person says "BNIS"  IF Buy DATE " not equal to C/F" , BD = (B Value + S 
value) * .05%

FOR THE OTHER PERSONS IT TAKES OTHER CALCULATION AL WELL
I HOPE I MAKE YOU UNDERSTAND WHAT I WANT
PLEASE HELP ME

Thanking you in advance



Sanjib Chatterjee




-- 
--- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.



-- 
--- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message be

Re: $$Excel-Macros$$ Urgent Opening for Ab-initio with AWS JAVA back ground : Richmond VA

2017-06-22 Thread Paul Schreiner
Sir:  I realize you are new...But if you read the Forum RULES, #4 specifically 
states:4) Jobs posting is not allowed.
I have nearly 100 users that I've had to block from my email because they 
joined for the sole purpose of head-hunting.That's not what this site is about 
and not why I joined the site and I resent spending the time managing my 
blocked email list when I could be helping users with legitimate issues.
If you are in need of assistance with Excel macros, then welcome!If you're 
looking for employees, well it ought to make a potential employee wonder if 
he/she can trust a company that cannot be bothered to follow the rules...
Just an observation...
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 Thursday, June 22, 2017 5:39 PM, Kamal Paul <recruiter.kp...@gmail.com> 
wrote:
 

 Hi All ,i have an urgent Opening for ab-initio with Java Back ground. please 
find the details for the Position and Reply me if you have available consultant 
for the same.

 Title : Ab-nitio with AWS java 
Job Type : Contractual
location : Richmond VADuration : 6 months  







· Work involves transferring from DDE to AWS using Ab Initio – Need 
candidates with strong Ab Initio background with java skills· Need 
folks with AWS knowledge with scripting  to create infrastructure, should have 
Java background 


 Kamal PaulTechnical Recruiter (Desk):610-590-1511 
Gtalk : recruiter.kp...@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 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.


$$Excel-Macros$$ Urgent Opening for Ab-initio with AWS JAVA back ground : Richmond VA

2017-06-22 Thread Kamal Paul
Hi All ,
i have an urgent Opening for ab-initio with Java Back ground. please find 
the details for the Position and Reply me if you have available consultant 
for the same.

 Title : Ab-nitio with AWS java 

Job Type : Contractual
location : Richmond VA
Duration : 6 months  








· Work involves transferring from DDE to AWS using Ab Initio – Need 
candidates with strong Ab Initio background with java skills

· Need folks with AWS knowledge with scripting  to create 
infrastructure, should have Java background 




 

*Kamal Paul*

*Technical Recruiter*

 

(Desk):610-590-1511 
*Gtalk* : recruiter.kp...@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 https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ Re: Introduce Yourself !!

2017-06-22 Thread Kamal Paul
HI ,
My name is kamal paul working as an US IT recruiter at Zodiac -solutions. 

On Saturday, June 9, 2012 at 12:51:59 AM UTC+5:30, Ayush Jain wrote:
>
> Hey all new and current posters,
>  
> Welcome to excel group,one of the largest online community of excel Fans!
>  
> I hope you enjoy your time here & find this forum to be a friendly and 
> knowledgeable community. Please feel free to post a small introduction, a 
> friendly hello or tell us a bit about yourself. Why not tell us where are 
> you from, what you do, what your interests are, how old you are, which is 
> your favourite excel site or blog is or anything else that comes to mind!
>
> Thanks for your time
> Ayush Jain
> Group Manager
> Microsoft MVP
>

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Need Help: Summary data from sheets in the same workbook

2017-06-20 Thread Paul Schreiner
If you can give me a larger sample of data, I can try to work on 
something.Since it sounds like you have no background with VBA programming, 
I'll try to develop an Excel-Function solution. 
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, June 20, 2017 7:20 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 I have fixed N° of product and fixed N° of customers. 
It would be great if I can modify customer and product list in separated sheet 
if I want to add or remove something :)
Many thanks Paul​

Regards
LMIDMANI MustaphaIndustrial engineerlmidmani.musta...@gmail.comp Be green – 
leave it on the screen
NOTICE: This privileged and confidential email is intended only for the 
individual or entity to whom it is addressed. With regard to all others, any 
action related with this email as well as any reading, reproduction, 
transmission and/or dissemination in whole or in part of the information 
included in this email is prohibited. If you are not the addressee, immediately 
return the email to sender prior to destroying all copies. Even if this email 
is believed to be free from any virus, it is the responsibility of the 
recipient to make sure that it is virus exempt. Our communications to you may 
contain confidential information or information protected under 
solicitor-client privilege. Please advise if you wish us to use a mode of 
communication other than regular, unsecured e-mail in our communications with 
you

On 20 June 2017 at 11:15, Paul Schreiner <schreiner_p...@att.net> wrote:

adjective: dynamic1. (of a process or system) characterized by constant change, 
activity, or progress.
That's why I defined the meaning in my question:
How "dynamic" is your data?Is the number of Products variable or fixed?is the 
number of Customers variable or fixed?

Meaning, does the number of customers or products change from 
month-to-month.does their position on the sheet change?Are there more columns 
or rows?
If each month is a fixed template and has a specific number of products and 
customers(which I doubt)then you can Name ranges and refer those Named Ranges.
If the layout changes, while it is a cumbersome layout, it ought to be possible 
to write a macro that searches through the data and collects the data.

 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, June 20, 2017 4:11 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 Sorry Paul, I didn't get what you mean by "dynamic". 

Regards
LMIDMANI MustaphaIndustrial engineerlmidmani.musta...@gmail.comp Be green – 
leave it on the screen
NOTICE: This privileged and confidential email is intended only for the 
individual or entity to whom it is addressed. With regard to all others, any 
action related with this email as well as any reading, reproduction, 
transmission and/or dissemination in whole or in part of the information 
included in this email is prohibited. If you are not the addressee, immediately 
return the email to sender prior to destroying all copies. Even if this email 
is believed to be free from any virus, it is the responsibility of the 
recipient to make sure that it is virus exempt. Our communications to you may 
contain confidential information or information protected under 
solicitor-client privilege. Please advise if you wish us to use a mode of 
communication other than regular, unsecured e-mail in our communications with 
you

On 19 June 2017 at 15:41, Paul Schreiner <schreiner_p...@att.net> wrote:

That didn't answer my questions. 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, June 19, 2017 7:18 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 Hi dears,
Thanks for your feedback guys.
Paul: sheets are filled weekly (manually). and the dashboard have to reflect 
data on sheets by selecting Customer and month 
thanks in advance

Regards
LMIDMANI MustaphaIndustrial engineerlmidmani.musta...@gmail.comp Be green – 
leave it on the screen
NOTICE: This privileged and confidential email is intended only for the 
individual or entity to whom it is addressed. With regard to all others, any 
action related with this email as well as any reading, reproduction, 
transmission and/or disseminatio

Re: $$Excel-Macros$$ Need Help: Summary data from sheets in the same workbook

2017-06-20 Thread Paul Schreiner
adjective: dynamic1. (of a process or system) characterized by constant change, 
activity, or progress.
That's why I defined the meaning in my question:
How "dynamic" is your data?Is the number of Products variable or fixed?is the 
number of Customers variable or fixed?

Meaning, does the number of customers or products change from 
month-to-month.does their position on the sheet change?Are there more columns 
or rows?
If each month is a fixed template and has a specific number of products and 
customers(which I doubt)then you can Name ranges and refer those Named Ranges.
If the layout changes, while it is a cumbersome layout, it ought to be possible 
to write a macro that searches through the data and collects the data.

 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, June 20, 2017 4:11 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 Sorry Paul, I didn't get what you mean by "dynamic". 

Regards
LMIDMANI MustaphaIndustrial engineerlmidmani.musta...@gmail.comp Be green – 
leave it on the screen
NOTICE: This privileged and confidential email is intended only for the 
individual or entity to whom it is addressed. With regard to all others, any 
action related with this email as well as any reading, reproduction, 
transmission and/or dissemination in whole or in part of the information 
included in this email is prohibited. If you are not the addressee, immediately 
return the email to sender prior to destroying all copies. Even if this email 
is believed to be free from any virus, it is the responsibility of the 
recipient to make sure that it is virus exempt. Our communications to you may 
contain confidential information or information protected under 
solicitor-client privilege. Please advise if you wish us to use a mode of 
communication other than regular, unsecured e-mail in our communications with 
you

On 19 June 2017 at 15:41, Paul Schreiner <schreiner_p...@att.net> wrote:

That didn't answer my questions. 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, June 19, 2017 7:18 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 Hi dears,
Thanks for your feedback guys.
Paul: sheets are filled weekly (manually). and the dashboard have to reflect 
data on sheets by selecting Customer and month 
thanks in advance

Regards
LMIDMANI MustaphaIndustrial engineerlmidmani.musta...@gmail.comp Be green – 
leave it on the screen
NOTICE: This privileged and confidential email is intended only for the 
individual or entity to whom it is addressed. With regard to all others, any 
action related with this email as well as any reading, reproduction, 
transmission and/or dissemination in whole or in part of the information 
included in this email is prohibited. If you are not the addressee, immediately 
return the email to sender prior to destroying all copies. Even if this email 
is believed to be free from any virus, it is the responsibility of the 
recipient to make sure that it is virus exempt. Our communications to you may 
contain confidential information or information protected under 
solicitor-client privilege. Please advise if you wish us to use a mode of 
communication other than regular, unsecured e-mail in our communications with 
you

On 19 June 2017 at 10:53, Paul Schreiner <schreiner_p...@att.net> wrote:

There's not enough information for me to guess how you want the summary 
populated.
How "dynamic" is your data?Is the number of Products variable or fixed?is the 
number of Customers variable or fixed?

  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 Sunday, June 18, 2017 11:53 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 
Hi Guys,
I'd like to know if there is any possibility with functions to fill my Summary 
sheet from montly report sheet in the attached sample. or I need to create a 
macro?
By selecting Customer and month (Blue cells) filling the indicator .
If I have to code a macro, can somone help me ?
Thanks in advanceMustapha

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

Re: $$Excel-Macros$$ Need Help: Summary data from sheets in the same workbook

2017-06-19 Thread Paul Schreiner
That didn't answer my questions. 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, June 19, 2017 7:18 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 Hi dears,
Thanks for your feedback guys.
Paul: sheets are filled weekly (manually). and the dashboard have to reflect 
data on sheets by selecting Customer and month 
thanks in advance

Regards
LMIDMANI MustaphaIndustrial engineerlmidmani.musta...@gmail.comp Be green – 
leave it on the screen
NOTICE: This privileged and confidential email is intended only for the 
individual or entity to whom it is addressed. With regard to all others, any 
action related with this email as well as any reading, reproduction, 
transmission and/or dissemination in whole or in part of the information 
included in this email is prohibited. If you are not the addressee, immediately 
return the email to sender prior to destroying all copies. Even if this email 
is believed to be free from any virus, it is the responsibility of the 
recipient to make sure that it is virus exempt. Our communications to you may 
contain confidential information or information protected under 
solicitor-client privilege. Please advise if you wish us to use a mode of 
communication other than regular, unsecured e-mail in our communications with 
you

On 19 June 2017 at 10:53, Paul Schreiner <schreiner_p...@att.net> wrote:

There's not enough information for me to guess how you want the summary 
populated.
How "dynamic" is your data?Is the number of Products variable or fixed?is the 
number of Customers variable or fixed?

  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 Sunday, June 18, 2017 11:53 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 
Hi Guys,
I'd like to know if there is any possibility with functions to fill my Summary 
sheet from montly report sheet in the attached sample. or I need to create a 
macro?
By selecting Customer and month (Blue cells) filling the indicator .
If I have to code a macro, can somone help me ?
Thanks in advanceMustapha

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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.


   -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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/ g

Re: $$Excel-Macros$$ Need Help: Summary data from sheets in the same workbook

2017-06-19 Thread Paul Schreiner
There's not enough information for me to guess how you want the summary 
populated.
How "dynamic" is your data?Is the number of Products variable or fixed?is the 
number of Customers variable or fixed?

  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 Sunday, June 18, 2017 11:53 AM, Mustapha LMIDMANI 
<lmidmani.musta...@gmail.com> wrote:
 

 
Hi Guys,
I'd like to know if there is any possibility with functions to fill my Summary 
sheet from montly report sheet in the attached sample. or I need to create a 
macro?
By selecting Customer and month (Blue cells) filling the indicator .
If I have to code a macro, can somone help me ?
Thanks in advanceMustapha

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Re: Custom Formatting in Excel

2017-06-18 Thread Soumyendu Paul
No, I just wan to retain value upto 10 decimal in excel cell but to display
lowest whole no irrespective of value after decimal points > or <=.5

On Sun, Jun 18, 2017 at 9:41 AM, GENIUS  wrote:

> look at the sheet, may be you required this.
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send 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.


$$Excel-Macros$$ Custom Formatting in Excel

2017-06-16 Thread Soumyendu Paul
Hi Champs,
I am sharing excel File; where a value 41726.8901269684 is stored in cell.
I want to display only
41726 using Custom Formatting while retaining  same value in that cell
irrespective of decimal part > or < .5

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Required fastest vlookup formula

2017-06-12 Thread Paul Schreiner
I have previously dealt with similar situations.
In one case, I have an application that has over  164,000 rows and 74 
columns.Frequently, queries and reports retrieve records based on multiple 
columns.
VLOOKUP became much too time consuming, but due to the volatile nature of the 
data, utilizing a database like Access or Oracle wasn't practical.(although I 
do upload the data to an Oracle database for other purposes).
I like to utilize the VBA Dictionary Object.I loop through the data one time 
and load multiple Dictionaries.sometimes using multiple field values to define 
the "index" for the dictionary.(which is how I accomplish matching multiple 
columns for a vlookup)
By declaring the object as "Public", the Dictionary is available for the 
duration of the Excel session and doesn't have to be re-loaded.
It goes something like this:Public Dict_Material
Sub Load_Dictdim nRow, nRows   Set Dict_Material = 
CreateObject("Scripting.Dictionary")   nRows = 
application.worksheetfunction.counta(Sheets("Data").Range("A:A"))      for nRow 
= 2 to nRows  if (not 
Dict_Material.exists(Sheets("Data").Cells(nRow,"F").Value)) then  
dict_Material.Add Sheets("Data").Cells(nRow,"F").Value, nRow  else  
    dict_Material.item(Sheets("Data").Cells(nRow,"F").Value) = _  
dict_Material.item(Sheets("Data").Cells(nRow,"F").Value) & "," & nRow  end 
if   next nRowEnd Sub
Now, Dict_Material contains a comma-separated list of all rows that contain 
each value from column "F"so, to look up all records for a specific value, I 
use something like:
SearchMatl = "12345"if (dict_Material.exists(SearchMatl)) then   dArray = 
split(dict_Material.item(SearchMatl),",")   FirstRow = darray(0)else   msgbox 
"Material " & SearchMatl & " Not Found"end 
ifPaul-
“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 Sunday, June 11, 2017 4:41 AM, karthik N  wrote:
 

 Hi Friends,
We have more than 3 lacks data in our excel,so put the vlookup formula it will 
take huge time.
Please help as the fastest vlookup formula or VBA 
 
RegardsKarthik.N

|  | Virus-free. www.avast.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 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$$ simple macro??

2017-06-06 Thread Paul Schreiner
There are several ways to name a range.Using a version similar to Excel 2010:
First:  When you select a single Cell, there is a box in the menu/icon area 
that shows the cell address:(to the left of the box that shows the cell 
contents)Like:  A2
highlight the range (say: A2 through A101)then, in that address box, type the 
name of the range.
The second way is to go to the Formula menu/tab and look for the Defined Names 
section.You can use the Wizards in the Name Manager or the Defined Name 
selection to define range names.
Note:  You can associate a range name to a single worksheet or the entire 
workbook.You can have only one range named any specific name if it is 
associated to the workbook.But each sheet can have a range associated with the 
same name.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, June 6, 2017 3:07 PM, Frits S <frits.schulthe...@gmail.com> 
wrote:
 

 Thank you for your solution.
How can I name the range: "...in a column and name the range "Input""?

Op dinsdag 6 juni 2017 18:25:43 UTC+2 schreef Paul Schreiner:
You're saying that F77 is a calculation that uses the value of F5.You want to 
change F5 from 1 to 100 and do WHAT with the resulting value in F77?
Are you saying that you want to simply put 1-100 in one column and then show in 
an adjacent column the result when this number is put into F5?
Is the formula in F77 complex?
Yes, this could be done as you ask.
If you put the starting values (1-100) in a column and name the range 
"Input",then this macro will cycle through the starting values, put them each 
in cell F5and then copy the value from F77 into the adjacent cell:
Sub SaveCalc()
    Dim Rng As Range
    For Each Rng In Range("Input")
    If (Rng.Value & "X" <> "X") Then
    Range("F5").Value = Rng.Value
    Rng.Offset(0, 1).Value = Range("F77").Value
    End If
    Next Rng
End SubPaul-- ---
“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, June 6, 2017 11:48 AM, Frits S <frits.sc...@gmail.com> wrote:
 

 I need a macro for a simple question:
In my Excel sheet I have a value in cell F5 which gives a result in cell 
F77.Now I want to calculate each value in F5 (from 1 to 100) to the associated 
value in cell F77 in two new columns: value F5=1->value F77=..., value 
F5=2->value F77=... (etc.)
Is this possible in VBA?

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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 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 me

Re: $$Excel-Macros$$ simple macro??

2017-06-06 Thread Paul Schreiner
You're saying that F77 is a calculation that uses the value of F5.You want to 
change F5 from 1 to 100 and do WHAT with the resulting value in F77?
Are you saying that you want to simply put 1-100 in one column and then show in 
an adjacent column the result when this number is put into F5?
Is the formula in F77 complex?
Yes, this could be done as you ask.
If you put the starting values (1-100) in a column and name the range 
"Input",then this macro will cycle through the starting values, put them each 
in cell F5and then copy the value from F77 into the adjacent cell:
Sub SaveCalc()
    Dim Rng As Range
    For Each Rng In Range("Input")
    If (Rng.Value & "X" <> "X") Then
    Range("F5").Value = Rng.Value
    Rng.Offset(0, 1).Value = Range("F77").Value
    End If
    Next Rng
End SubPaul-
“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, June 6, 2017 11:48 AM, Frits S  
wrote:
 

 I need a macro for a simple question:
In my Excel sheet I have a value in cell F5 which gives a result in cell 
F77.Now I want to calculate each value in F5 (from 1 to 100) to the associated 
value in cell F77 in two new columns: value F5=1->value F77=..., value 
F5=2->value F77=... (etc.)
Is this possible in VBA?

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Stop the code from Running when Selecting Row

2017-06-05 Thread Paul Schreiner
>From the looks of your macro, I think we need to help understand the 
>SelectionChange event.
#1:  the "Selection" is passed to the event sub through the "Target" 
variable.So.. Target IS Selection!
It is an array, but a single cell gets passed as an array of (1).
What I usually do is cycle through the selection by using:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Dim Targ As Range
    For Each Targ In Target
    '...
    '
    '
    Next Targend sub
Second: [B2:B25] is not a legal construct.You're probably looking for: 
Range("B2:B25")
Now, to your question.
If you select an entire row, Target.Count will be a count of all the cells in 
the row.For Excel 2007 and beyond, that is 256.
So, you COULD add:
If (Target.Count > 100) then exit 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 Monday, June 5, 2017 1:36 PM, Carlisle Flores-Garay 
<cfloresga...@gmail.com> wrote:
 

 I have this file from a previous discussion and I was wondering if there is a 
way to stop the code from running when I select the whole row so that I can 
copy and paste without having the window pop up every time. 
Thank you!-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ why excel is slow when we run macro

2017-06-05 Thread Paul Schreiner
There are LOTS of reasons why macros can be slow.And.. "slow" is relative.
I have a workbook with over 130,000 rows and 72 columns.
I can report summaries for these rows in SECONDS.
my macro USED to take several minutes, but I simplified the code and found that 
it was looping through the lines even after I found what I was looking for!
Plus, I reduced the number of iterations by changing the order of the search.
Other things like using Copy/Paste instead of assigning the value of one cell 
from another is VERY time consuming because it copies all of the cell 
formatting to the clipboard before pasting it to the new cell.
So.. what you mean by "excel is slow" and "when we run macros"... could have 
LOTS of meanings. 
It's going to depend on your specific situation.
if you want to send me the file, I'd be glad to take a look and see if I can 
figure out what is going on.
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 Sunday, June 4, 2017 6:29 AM, "paramdeepwa...@gmail.com" 
<paramdeepwa...@gmail.com> wrote:
 

 why excel is slow when we run macros-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Need Help please - Type Mismatch on rows insert macro

2017-06-02 Thread Paul Schreiner
Let's say that you have 100 rows of data. "bottom" ends up being 100.so your 
Rows statement results in:Rows(R:100).insert shift:=xldown
I think it needs to beRows(100:100).insert shift:=xldown
so you'd use:Rows(r & ":" & r).Insert Shift:=xlDown
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, June 2, 2017 10:07 AM, Johnny <flem...@gmail.com> wrote:
 

 Trying to insert a blank row between each line. The line starting with: Rows 
is getting a type mismatch error.
-Dim
 bottom As Integer
Dim r As Integer
bottom = Cells(Rows.Count, "A").End(xlUp).Row
For r = bottom To 2 Step -1
    Rows("r:" & r).Insert Shift:=xlDown
Next 
r--I
 appreciate the 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.


   

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Need help in Macro to convert table into dump.

2017-06-01 Thread Paul Schreiner
In THAT case:
If you name a range "Result" and have it include the "summary" table without 
the column headings or phone numbersB4:G9 in your sample
Then, name a range called "Data" that includes the original "Data" without the 
column headingsL4:M1000 in your example.
Then you can use a macro like this to rebuild the detailed list:

Sub Restore_Data()
    Dim nRows, rCell As Range, nCol, nRow, dRow, dCol
    Dim nCnt
    ActiveSheet.Range("Data").ClearContents
    dCol = ActiveSheet.Range("Data").Column
    dRow = ActiveSheet.Range("Data").Row - 1
    For Each rCell In ActiveSheet.Range("Result").Cells
    If (Int(rCell.Value) > 0) Then
    For nCnt = 1 To rCell.Value
    dRow = dRow + 1
    ActiveSheet.Cells(dRow, dCol).Value = 
ActiveSheet.Cells(rCell.Row, "A").Value
    ActiveSheet.Cells(dRow, dCol + 1).Value = ActiveSheet.Cells(3, 
rCell.Column).Value
    Next nCnt
    End If
    Next rCell
    MsgBox "Finished"
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 Thursday, June 1, 2017 1:42 PM, Secret Shot <secrets...@gmail.com> wrote:
 

 Dear Paul,
I appreciate your quick response, However when i say raw data it means just 
simple table in Excel which i have shown in attached excel sheet only in column 
L and M.
So you can consider it as requirement or data rearrangement from table 1 
(Column A to G) to table 2 (Column L to M).

I hope now i can get required help. 

Thanks in advance.   

On Thu, Jun 1, 2017 at 8:17 PM, Paul Schreiner <schreiner_p...@att.net> wrote:

There is no standard format for "Raw Data".It depends on the original 
Application used to CREATE the source of data.Some systems output ASCII (text) 
files Some are tab delimited.Others are comma delimited (csv).
The mechanism you used to read in the "raw data" used known characteristics of 
the data to determine how it is to be interpreted.
Without knowing the characteristics of the "raw data", it would be impossible 
to reverse-engineer the file.
It's like saying:  "I'm standing outside of my home, tell me how I got here"The 
answer requires first knowing where you started and what options are available 
to get from the start to the end.Lots of options are AVAILABLE, but if your 
starting point is two streets away, the use of an airplane is unlikely. 
Teleportation is WAY cooler, and should remain in consideration for that 
reason! :)
More details are required. 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 Thursday, June 1, 2017 10:20 AM, Secret Shot <secrets...@gmail.com> 
wrote:
 

 Dear Team,
I have one very large excel table which i made from Raw data, accidentally raw 
data has been deleted and the only option i have is that table to convert back 
in raw data.
Its about my job so pls help, i have attached of the sample of what i am 
talking about. if anyone can me in writing a macro which can create raw data 
basis on the count in front of number and considering their header.   

Please help
-- 
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+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.


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

Re: $$Excel-Macros$$ Need help in Macro to convert table into dump.

2017-06-01 Thread Paul Schreiner
There is no standard format for "Raw Data".It depends on the original 
Application used to CREATE the source of data.Some systems output ASCII (text) 
files Some are tab delimited.Others are comma delimited (csv).
The mechanism you used to read in the "raw data" used known characteristics of 
the data to determine how it is to be interpreted.
Without knowing the characteristics of the "raw data", it would be impossible 
to reverse-engineer the file.
It's like saying:  "I'm standing outside of my home, tell me how I got here"The 
answer requires first knowing where you started and what options are available 
to get from the start to the end.Lots of options are AVAILABLE, but if your 
starting point is two streets away, the use of an airplane is unlikely. 
Teleportation is WAY cooler, and should remain in consideration for that 
reason! :)
More details are required. 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 Thursday, June 1, 2017 10:20 AM, Secret Shot <secrets...@gmail.com> 
wrote:
 

 Dear Team,
I have one very large excel table which i made from Raw data, accidentally raw 
data has been deleted and the only option i have is that table to convert back 
in raw data.
Its about my job so pls help, i have attached of the sample of what i am 
talking about. if anyone can me in writing a macro which can create raw data 
basis on the count in front of number and considering their header.   

Please help
-- 
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$$ Links

2017-05-26 Thread Paul Schreiner
I suspect it's getting an error but the"on error resume next" line is making it 
ignore the error.
Did you change the macro to open your data file?DatFldr = "C:\temp\vba\Savla\"
DatFile = "DataFile.xlsb"
??
Add a line after the "If/Endif" that has the Workbooks.Open line.
the line should read:On Error Goto 0

or maybe put it right BEFORE the workbooks.Open line, so you know if it fails. 
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, May 26, 2017 12:49 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Macro is just running and not fetching any outcome. 
Regards,Kaushik
On May 26, 2017 16:11, "'Martin George' via MS EXCEL AND VBA MACROS" 
<excel-macros@googlegroups.com> wrote:


-- --
On Thu, 5/25/17, Paul Schreiner <schreiner_p...@att.net> wrote:

 Subject: Re: $$Excel-Macros$$ Links
 To: "excel-macros@googlegroups.com " <excel-macros@googlegroups.com >
 Date: Thursday, May 25, 2017, 8:17 PM

 The workbook that you add the VBA macro to is
 identified as "ThisWorkbook".
 so, in the
 macro:

 ThisWorkbook.Sheets(1).Range(" A2:Z65000").ClearContents
 clears
 the contents of the first sheet in
 "Thisworkbook"then:

 ThisWorkbook.Sheets(1).Cells( nRow, "A").Value =
 Sht.Name

 ThisWorkbook.Sheets(1).Cells( nRow, "B").Value =
 Rng.Address 

 If (InStr(1, Rng.Formula, "[") > 0) Then

 ThisWorkbook.Sheets(1).Cells( nRow, "C").Value =
 "'" & Rng.Formula

 Else
    
 ThisWorkbook.Sheets(1).Cells( nRow, "D").Value =
 "'" & Rng.Formula

 End Ifputs
 the listing on the first sheet of the workbook.
 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 Thursday, May 25, 2017 12:50 PM,
 KAUSHIK SAVLA <savla.kaus...@gmail.com> wrote:


  Hi Paul, 
 Macro got run and gave finished
 message. 
 Where can I
 find the desired output? 
 Regards, Kaushik
 On May 25, 2017 19:06,
 "Paul Schreiner" <schreiner_p...@att.net>
 wrote:
 OK.Spent
 WAY longer on this than I should have.
 I
 should've had you create a "dummy" set of
 workbooks that looked like yours instead of me spending an
 hour+ guessing what yours looks like.
 So,
 I put together 20 separate workbooks with data.then
 added 15 sheets to the "data" workbook and
 created 150 random links to both the 20 external workbooks
 and  the internal worksheets.
 It took about 15 minutes
 to write some code to look at the formulas and determine
 which are internal/external formulas.
 It
 DOESN'T distinguish between calculations and other
 formulas.
 Since I don't know what you want to do with
 it, and how you want it to list the matches, I'll just
 give you what I have and you can decide what you want to
 change.
 If it isn't what you
 want, then send me a sample to write against.
 Here it is:
 Sub
 Link_Summary()

 Dim DatFldr, DatFile

 Dim aLinks

 Dim nRow

 ' Location
 and name of main Data file.

 DatFldr = "C:\temp\vba\Savla\"

 DatFile = "DataFile.xlsb"

 On Error Resume Next

 Workbooks(DatFile).Activate

 If (Err.Number <> 0) Then

 Workbooks.Open DatFldr & DatFile, UpdateLinks:=False

 Err.Clear

 End If

 nRow = 1

 ThisWorkbook.Sheets(1).Range("
 A2:Z65000").ClearContents

 Dim Sht As Worksheet, Rng As Range

 For Each Sht In ActiveWorkbook.Sheets

 For Each Rng In Sht.UsedRange

 If (Rng.Value & "X" <> Rng.Formula &
 "X") Then

 nRow = nRow + 1

 ThisWorkbook.Sheets(1).Cells( nRow, "A").Value =
 Sht.Name

 ThisWorkbook.Sheets(1).Cells( nRow, "B").Value =
 Rng.Address

 If (InStr(1, Rng.Formula, "[") > 0) Then

 ThisWorkbook.Sheets(1).Cells( nRow, "C").Value =
 "'" & Rng.Formula

 Else

 ThisWorkbook.Sheets(1).Cells( nRow, "D").Value =
 "'" & Rng.Formula

 End If

 End If

 Next Rng

 Next Sht

 ThisWorkbook.Activate

 MsgBox "Finished"End
 Sub
 Paul-

Re: $$Excel-Macros$$ Links

2017-05-25 Thread Paul Schreiner
The workbook that you add the VBA macro to is identified as "ThisWorkbook".
so, in the macro:
    ThisWorkbook.Sheets(1).Range("A2:Z65000").ClearContents
clears the contents of the first sheet in "Thisworkbook"then:
    ThisWorkbook.Sheets(1).Cells(nRow, "A").Value = Sht.Name
    ThisWorkbook.Sheets(1).Cells(nRow, "B").Value = Rng.Address 
    If (InStr(1, Rng.Formula, "[") > 0) Then
    ThisWorkbook.Sheets(1).Cells(nRow, "C").Value = "'" & 
Rng.Formula
    Else
    ThisWorkbook.Sheets(1).Cells(nRow, "D").Value = "'" & 
Rng.Formula
    End Ifputs the listing on the first sheet of the workbook.
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 Thursday, May 25, 2017 12:50 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Paul, 
Macro got run and gave finished message. 
Where can I find the desired output? 
Regards, Kaushik
On May 25, 2017 19:06, "Paul Schreiner" <schreiner_p...@att.net> wrote:

OK.Spent WAY longer on this than I should have.
I should've had you create a "dummy" set of workbooks that looked like yours 
instead of me spending an hour+ guessing what yours looks like.
So, I put together 20 separate workbooks with data.then added 15 sheets to the 
"data" workbook and created 150 random links to both the 20 external workbooks 
and  the internal worksheets.
It took about 15 minutes to write some code to look at the formulas and 
determine which are internal/external formulas.
It DOESN'T distinguish between calculations and other formulas.
Since I don't know what you want to do with it, and how you want it to list the 
matches, I'll just give you what I have and you can decide what you want to 
change.
If it isn't what you want, then send me a sample to write against.
Here it is:
Sub Link_Summary()
    Dim DatFldr, DatFile
    Dim aLinks
    Dim nRow
    ' Location and name of main Data file.
    DatFldr = "C:\temp\vba\Savla\"
    DatFile = "DataFile.xlsb"
    On Error Resume Next
    Workbooks(DatFile).Activate
    If (Err.Number <> 0) Then
    Workbooks.Open DatFldr & DatFile, UpdateLinks:=False
    Err.Clear
    End If
    nRow = 1
    ThisWorkbook.Sheets(1).Range(" A2:Z65000").ClearContents
    Dim Sht As Worksheet, Rng As Range
    For Each Sht In ActiveWorkbook.Sheets
    For Each Rng In Sht.UsedRange
    If (Rng.Value & "X" <> Rng.Formula & "X") Then
    nRow = nRow + 1
    ThisWorkbook.Sheets(1).Cells( nRow, "A").Value = Sht.Name
    ThisWorkbook.Sheets(1).Cells( nRow, "B").Value = Rng.Address
    If (InStr(1, Rng.Formula, "[") > 0) Then
    ThisWorkbook.Sheets(1).Cells( nRow, "C").Value = "'" & 
Rng.Formula
    Else
    ThisWorkbook.Sheets(1).Cells( nRow, "D").Value = "'" & 
Rng.Formula
    End If
    End If
    Next Rng
    Next Sht
    ThisWorkbook.Activate
    MsgBox "Finished"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 Thursday, May 25, 2017 2:51 AM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Paul
You are correct,  I don't want to break links. Not possible to send workbook as 
it contains sensitive confidential information. 
Just suppose there is a worksheet named A in workbook.  It is linked to 
external workbook named say X,  Y and it is also linked to worksheets in 
workbook say name B,  C,  D,  E in different cells. 
What I want is in new workbook it should displayWorksheet A -  Linked from 
external workbook X,  Y and internal worksheets B, C,  D,  E. 
This process repeat for all worksheets within a workbook. 
Regards, Kaushik Savla8373916768
On May 25, 2017 00:53, "Paul Schreiner" <schreiner_p...@att.net> wrote:

It sounds like you're not wanting to REMOVE the links,but basically generate a 
list of worksheets and the name of the external workbooks linked to those 
sheets.
That doesn't sound difficult.
But the error you're suggesting doesn't make sense because you're not "pasting" 
anything (with the macro I suggested).
It would take me at least an hour to TRY to create a file set that MIGHT 

Re: $$Excel-Macros$$ Links

2017-05-25 Thread Paul Schreiner
OK.Spent WAY longer on this than I should have.
I should've had you create a "dummy" set of workbooks that looked like yours 
instead of me spending an hour+ guessing what yours looks like.
So, I put together 20 separate workbooks with data.then added 15 sheets to the 
"data" workbook and created 150 random links to both the 20 external workbooks 
and  the internal worksheets.
It took about 15 minutes to write some code to look at the formulas and 
determine which are internal/external formulas.
It DOESN'T distinguish between calculations and other formulas.
Since I don't know what you want to do with it, and how you want it to list the 
matches, I'll just give you what I have and you can decide what you want to 
change.
If it isn't what you want, then send me a sample to write against.
Here it is:
Sub Link_Summary()
    Dim DatFldr, DatFile
    Dim aLinks
    Dim nRow
    ' Location and name of main Data file.
    DatFldr = "C:\temp\vba\Savla\"
    DatFile = "DataFile.xlsb"
    On Error Resume Next
    Workbooks(DatFile).Activate
    If (Err.Number <> 0) Then
    Workbooks.Open DatFldr & DatFile, UpdateLinks:=False
    Err.Clear
    End If
    nRow = 1
    ThisWorkbook.Sheets(1).Range("A2:Z65000").ClearContents
    Dim Sht As Worksheet, Rng As Range
    For Each Sht In ActiveWorkbook.Sheets
    For Each Rng In Sht.UsedRange
    If (Rng.Value & "X" <> Rng.Formula & "X") Then
    nRow = nRow + 1
    ThisWorkbook.Sheets(1).Cells(nRow, "A").Value = Sht.Name
    ThisWorkbook.Sheets(1).Cells(nRow, "B").Value = Rng.Address
    If (InStr(1, Rng.Formula, "[") > 0) Then
    ThisWorkbook.Sheets(1).Cells(nRow, "C").Value = "'" & 
Rng.Formula
    Else
    ThisWorkbook.Sheets(1).Cells(nRow, "D").Value = "'" & 
Rng.Formula
    End If
    End If
    Next Rng
    Next Sht
    ThisWorkbook.Activate
    MsgBox "Finished"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 Thursday, May 25, 2017 2:51 AM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Paul
You are correct,  I don't want to break links. Not possible to send workbook as 
it contains sensitive confidential information. 
Just suppose there is a worksheet named A in workbook.  It is linked to 
external workbook named say X,  Y and it is also linked to worksheets in 
workbook say name B,  C,  D,  E in different cells. 
What I want is in new workbook it should displayWorksheet A -  Linked from 
external workbook X,  Y and internal worksheets B, C,  D,  E. 
This process repeat for all worksheets within a workbook. 
Regards, Kaushik Savla8373916768
On May 25, 2017 00:53, "Paul Schreiner" <schreiner_p...@att.net> wrote:

It sounds like you're not wanting to REMOVE the links,but basically generate a 
list of worksheets and the name of the external workbooks linked to those 
sheets.
That doesn't sound difficult.
But the error you're suggesting doesn't make sense because you're not "pasting" 
anything (with the macro I suggested).
It would take me at least an hour to TRY to create a file set that MIGHT 
duplicate your structure. Is it at all possible for you to send me the workbook 
directly (schreiner_p...@att.net)?
If not, can you send me the macro you're using that is causing the 
problems?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, May 24, 2017 3:07 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Paul,

What I am looking for is below.

1. I have a workbook with 100 worksheets
2. Each worksheet is linked to several external Workbooks and several 
tabs/worksheets within workbook.
3. What I want to do is first list all name of tabs sequentially in a new 
workbook and against each worksheet name mention the unique source with name 
say linked to external ABC,  XYZ,  files and linked to a, b, c, d, e, f 
Worksheets.
This I want to do for all 100 worksheets.

Hope this helps.

Regards,
Kaushik
On May 25, 2017 00:23, "KAUSHIK SAVLA" <savla.kaus...@gmail.com> wrote:

Hi Paul,

What I am looking for is below.

1. I have a workbook with 100 worksheets
2. Each worksheet is linked to several external Workbooks and several table 
within workbook.
3. What I want to do is first li

Re: $$Excel-Macros$$ Links

2017-05-24 Thread Paul Schreiner
It sounds like you're not wanting to REMOVE the links,but basically generate a 
list of worksheets and the name of the external workbooks linked to those 
sheets.
That doesn't sound difficult.
But the error you're suggesting doesn't make sense because you're not "pasting" 
anything (with the macro I suggested).
It would take me at least an hour to TRY to create a file set that MIGHT 
duplicate your structure. Is it at all possible for you to send me the workbook 
directly (schreiner_p...@att.net)?
If not, can you send me the macro you're using that is causing the 
problems?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, May 24, 2017 3:07 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Paul,

What I am looking for is below.

1. I have a workbook with 100 worksheets
2. Each worksheet is linked to several external Workbooks and several 
tabs/worksheets within workbook.
3. What I want to do is first list all name of tabs sequentially in a new 
workbook and against each worksheet name mention the unique source with name 
say linked to external ABC,  XYZ,  files and linked to a, b, c, d, e, f 
Worksheets.
This I want to do for all 100 worksheets.

Hope this helps.

Regards,
Kaushik
On May 25, 2017 00:23, "KAUSHIK SAVLA" <savla.kaus...@gmail.com> wrote:

Hi Paul,

What I am looking for is below.

1. I have a workbook with 100 worksheets
2. Each worksheet is linked to several external Workbooks and several table 
within workbook.
3. What I want to do is first list all name of tabs sequentially in a new 
workbook and against each worksheet name mention the unique source with name 
say linked to external ABC,  XYZ,  files and linked to a, b, c, d, e, f 
Worksheets.
This I want to do for all 100 worksheets.

Hope this helps.

Regards,
Kaushik

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

FORUM RULES

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

NOTE  : Don't ever post 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/ lYmOGDBlWFU/unsubscribe.
To unsubscribe from this group and all its topics, 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.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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 Proble

Re: $$Excel-Macros$$ Need help in Vba Macro

2017-05-24 Thread Paul Schreiner
What isn't working?What does your code look like?
I put random numbers in 100,000 cells in  Book1.xlsbThen, in Book2, I put 
100,000 cells with links to the corresponding cell in Book1.
I then created a macro module with:Option ExplicitSub RemoveLinks()
    Dim aLinks, inx
    aLinks = ActiveWorkbook.LinkSources(xlExcelLinks)
    
    If Not IsEmpty(aLinks) Then
    For inx = 1 To UBound(aLinks)
    ActiveWorkbook.BreakLink _
    Name:=aLinks(inx), _
    Type:=xlLinkTypeExcelLinks
    Next inx
    End If
End Sub

Ran RemoveLinks and it replaced all 100,000 cells with the contents immediately.
what does your code look like, and what do you mean that it "the code is not 
working"?
Is it not removing the links?is it giving you an error? 
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, May 24, 2017 1:42 AM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Paul,
The code is not working.
Can you please provide full code starting with Sub...till End sub
Regards,kaushik Savla
On Wed, May 24, 2017 at 12:42 AM, Paul Schreiner <schreiner_p...@att.net> wrote:

If you also want to get rid of the "internal" links and formulas, you can make 
use of the fact that, for a given cell, the VALUE of the cell is what is 
displayed, while the FORMULA of the cell is just that, the formula.
For cells with a simple value, like "3", then the formula and value are nearly 
the same.(the issue is that the value would be an integer, but the formula 
would be a string "3")
So, basically you could compare the value and formula for each used cell and 
overwrite if they are different.
I "convert" both the Value and Formula to strings to ensure they are compared 
properly, and use:
Sub BreakLinks()
    Dim Rng As Range
    For Each Rng In Sheets(1).UsedRange
    If (Rng.Formula & "X" <> Rng.Value & "X") Then Rng.Formula = Rng.Value
    Next Rng
End Sub
 
I created a sheet with 1000 rows and 100 columns. (so 100,000 cell contents)I 
then created a sheet that had 100,000 cells that added the contents of the 
adjacent sheet.
This macro converted the 100,000 cells to values in about 3 seconds.
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, May 23, 2017 2:56 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 This is think will definitely help. 
Thanks. 
On May 24, 2017 00:23, "Paul Schreiner" <schreiner_p...@att.net> wrote:

That's very CPU intensive because it copies all cells to the clipboardand 
pastes them from clipboard.which can be a HUGE number of cells for each sheet.
If you simply want to break the external links, you can use something like:
alinks = ActiveWorkbook.LinkSources( xlExcelLinks)
    
    If Not IsEmpty(alinks) Then
    For inx = 1 To UBound(alinks)
    ActiveWorkbook.BreakLink _
    Name:=alinks(inx), _
    Type:=xlLinkTypeExcelLinks
    Next inx
    End If
This will break links to EXTERNAL workbooks (and convert to values) but it 
doesn't do anything to the links to worksheets within the current workbook.
does that help? Paul-- ---
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
-- --- 

On Tuesday, May 23, 2017 2:03 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Team,
I am trying to do below in an excel. You can assume there are 60 worksheets 
minimum in a workbook.
1. In opened excel file. Which has links from several files2. All cells of the 
workbook I am doing paste special values3. Then to come at the first cell in 
all worksheets (i.e. Cell A1)4. Then to come at first tab, first cell, Save the 
workbook here (so whenever excel opens the person will see first sheet, first 
cell)5. Close the workbook
I am having below vba code. It is taking forever to run (minimum 15-20 
minutes). Can anyone please help in boosting speed so could be run in fraction 
of seconds.

Sub Select_All_Sheets()Dim sht As WorksheetDim SelectMe() As StringDim s As 
IntegerFor Each sht In Worksheetss = s + 1ReDim Preserve SelectMe(1 To s) As 
StringSelectMe(s) = sht.NameSheets(SelectMe).SelectCells.Select    
Selection.Copy    Selection.PasteSpecial Paste:=xlPasteValues, 
Operation:=xlNone, Sk

Re: $$Excel-Macros$$ Need help in Vba Macro

2017-05-23 Thread Paul Schreiner
If you also want to get rid of the "internal" links and formulas, you can make 
use of the fact that, for a given cell, the VALUE of the cell is what is 
displayed, while the FORMULA of the cell is just that, the formula.
For cells with a simple value, like "3", then the formula and value are nearly 
the same.(the issue is that the value would be an integer, but the formula 
would be a string "3")
So, basically you could compare the value and formula for each used cell and 
overwrite if they are different.
I "convert" both the Value and Formula to strings to ensure they are compared 
properly, and use:
Sub BreakLinks()
    Dim Rng As Range
    For Each Rng In Sheets(1).UsedRange
    If (Rng.Formula & "X" <> Rng.Value & "X") Then Rng.Formula = Rng.Value
    Next Rng
End Sub
 
I created a sheet with 1000 rows and 100 columns. (so 100,000 cell contents)I 
then created a sheet that had 100,000 cells that added the contents of the 
adjacent sheet.
This macro converted the 100,000 cells to values in about 3 seconds.
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, May 23, 2017 2:56 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 This is think will definitely help. 
Thanks. 
On May 24, 2017 00:23, "Paul Schreiner" <schreiner_p...@att.net> wrote:

That's very CPU intensive because it copies all cells to the clipboardand 
pastes them from clipboard.which can be a HUGE number of cells for each sheet.
If you simply want to break the external links, you can use something like:
alinks = ActiveWorkbook.LinkSources( xlExcelLinks)
    
    If Not IsEmpty(alinks) Then
    For inx = 1 To UBound(alinks)
    ActiveWorkbook.BreakLink _
    Name:=alinks(inx), _
    Type:=xlLinkTypeExcelLinks
    Next inx
    End If
This will break links to EXTERNAL workbooks (and convert to values) but it 
doesn't do anything to the links to worksheets within the current workbook.
does that help? Paul-- ---
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
-- --- 

On Tuesday, May 23, 2017 2:03 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Team,
I am trying to do below in an excel. You can assume there are 60 worksheets 
minimum in a workbook.
1. In opened excel file. Which has links from several files2. All cells of the 
workbook I am doing paste special values3. Then to come at the first cell in 
all worksheets (i.e. Cell A1)4. Then to come at first tab, first cell, Save the 
workbook here (so whenever excel opens the person will see first sheet, first 
cell)5. Close the workbook
I am having below vba code. It is taking forever to run (minimum 15-20 
minutes). Can anyone please help in boosting speed so could be run in fraction 
of seconds.

Sub Select_All_Sheets()Dim sht As WorksheetDim SelectMe() As StringDim s As 
IntegerFor Each sht In Worksheetss = s + 1ReDim Preserve SelectMe(1 To s) As 
StringSelectMe(s) = sht.NameSheets(SelectMe).SelectCells.Select    
Selection.Copy    Selection.PasteSpecial Paste:=xlPasteValues, 
Operation:=xlNone, SkipBlanks _        :=False, Transpose:=False    
Application.CutCopyMode = False    Application.Goto Range(Cells(ActiveWindow. 
SplitRow + 1, ActiveWindow.SplitColumn + 1).Address)    
ActiveWorkbook.SaveNextEnd Sub
Regards,Kaushik Savla-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google 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://grou

Re: $$Excel-Macros$$ Need help in Vba Macro

2017-05-23 Thread Paul Schreiner
That's very CPU intensive because it copies all cells to the clipboardand 
pastes them from clipboard.which can be a HUGE number of cells for each sheet.
If you simply want to break the external links, you can use something like:
alinks = ActiveWorkbook.LinkSources(xlExcelLinks)
    
    If Not IsEmpty(alinks) Then
    For inx = 1 To UBound(alinks)
    ActiveWorkbook.BreakLink _
    Name:=alinks(inx), _
    Type:=xlLinkTypeExcelLinks
    Next inx
    End If
This will break links to EXTERNAL workbooks (and convert to values) but it 
doesn't do anything to the links to worksheets within the current workbook.
does that help? Paul-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
- 

On Tuesday, May 23, 2017 2:03 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Team,
I am trying to do below in an excel. You can assume there are 60 worksheets 
minimum in a workbook.
1. In opened excel file. Which has links from several files2. All cells of the 
workbook I am doing paste special values3. Then to come at the first cell in 
all worksheets (i.e. Cell A1)4. Then to come at first tab, first cell, Save the 
workbook here (so whenever excel opens the person will see first sheet, first 
cell)5. Close the workbook
I am having below vba code. It is taking forever to run (minimum 15-20 
minutes). Can anyone please help in boosting speed so could be run in fraction 
of seconds.

Sub Select_All_Sheets()Dim sht As WorksheetDim SelectMe() As StringDim s As 
IntegerFor Each sht In Worksheetss = s + 1ReDim Preserve SelectMe(1 To s) As 
StringSelectMe(s) = sht.NameSheets(SelectMe).SelectCells.Select    
Selection.Copy    Selection.PasteSpecial Paste:=xlPasteValues, 
Operation:=xlNone, SkipBlanks _        :=False, Transpose:=False    
Application.CutCopyMode = False    Application.Goto 
Range(Cells(ActiveWindow.SplitRow + 1, ActiveWindow.SplitColumn + 1).Address)   
 ActiveWorkbook.SaveNextEnd Sub
Regards,Kaushik Savla-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Links

2017-05-23 Thread Paul Schreiner
So, you're wanting to find out what other documents are being linked?
something like this will count the number of referenced links:
    cnt = 0
    alinks = ActiveWorkbook.LinkSources(xlExcelLinks)
'    MsgBox alinks.Count
    If Not IsEmpty(alinks) Thenmsgbox "Links: " & UBound(alinks)
    End If
You can loop through the array to list unique 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 Tuesday, May 23, 2017 2:07 PM, KAUSHIK SAVLA <savla.kaus...@gmail.com> 
wrote:
 

 Hi Team,
I have several huge data files.
Each file has links to several worksheets and several workbooks.
Can anyone help me with a vba code which will go in each worksheet of workbook 
and will fetch me result mentioning each worksheet has source from which 
worksheets/workbooks.
Doing it manually is impossible.
Regards,Kaushik Savla-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Count uniques with only 1 criteria column

2017-05-23 Thread Paul Schreiner
There are several approaches.Using Excel functions, I would concatenate the 
values;=A2&"_" would result in:SNUser1001   25  1001_251002   25  
1002_251003   26  1003_261001   25  1001_251004   26  1004_26
Then you can use your functions to count unique values of column C.
You can do something similar using VBA...Which approach do you want to take?
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, May 22, 2017 6:37 PM, MLT <mlthorn...@gmail.com> wrote:
 

 Hello all,
I have a bit of a variation from the count unique values with 2 criteria... in 
this case I have two columns: the first is a list of serial numbers that does 
contain duplicates and the second column is the user number that has used that 
serial number (also contains duplicates).
For example...
Col A  Col BSN  User1001   251002   251003   261001   251004   26
this example would count 2 unique values for user 25, and 2 unique values for 
26.
The examples I found had criteria for both columns, here the criteria would 
only be applied against col B, where col A could be any value to get counted, 
provided it was unique when combined with its corresponding user in col B.
Thanks for any help!
Matt-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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.


$$Excel-Macros$$ Excel VBA Sharepoint checkout-checkin

2017-05-02 Thread Paul Schreiner
I've Googled extensively and tested multiple options for more than 30 hours 
over the last couple of weeks.
The results of my searches all LOOK reasonable, but all have failed to 
function properly.
I have some SUSPICIONS as to why it's not working, but that doesn't lead me 
to solutions.

Here's my problem:

I'm an "owner" of a corporate SharePoint site.
(which means I have limited Admin privileges).

I have (4) user workbooks (not in SharePoint) that have a total of 242 
worksheets that monitor Capital Project expenditures.
I've written macros to copy the worksheets to separate workbooks, save the 
files to the SharePoint folder,
add some Named Ranges and use ContentTypeProperties to update fields in the 
SharePoint metadata (and views).

My Summary reporting macros have been rewritten to read from the SharePoint 
metadata fields instead of the worksheets themselves.

Once the final migration is complete, the worksheets will be maintained 
within SharePoint and  the current (4) workbooks will be locked away and 
used no more.

I've executed the migration macros multiple times over the last couple of 
months in order to prepare for final migration to the SharePoint site.

The ONLY thing I'm stuck on is trying to Check-In the documents from VBA.

Now, I CAN check in the document from SharePoint, but it extends the 
migration time to hours instead of minutes.

Whenever I attempt the .CheckIN method (or .CanCheckIn), the method fails 
or indicates that the files cannot be checked in.

Using VBA, I can delete the file from the SharePoint folder and copy (or 
.SaveAs) the current file to the folder.

The result is that the file is "Checked Out" to me.

(so it SEEMS to recognize my authorization to modify the contents of the 
folder)

Sure, I can stay after the end of my shift for 3 hours on ONE DAY to 
migrate the data (or come in 3 hours early).
but I'd prefer to be able to run a macro that does it all...

does anyone have any experience with the VBA .CheckIN method for SharePoint?

Thank you,

Paul

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
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$$ how to process parallel ranges with 'for each'

2017-05-01 Thread Paul Schreiner
how are you defining the corresponding cell?Is it the same cell in a different 
sheet?or is it the same "offset"That is:Range 1 is 3 rows x 3 columns beginning 
in cell A1 andRange 2 is 3 rows x 3 columns beginning in cell E1 
there's lots of ways to do it.In some cases, you can hard-code the row/column 
offsets in the loop.
Or, you could calculate the offset from the first cell of the rangeand use the 
offset in the second range.
if you can give me some real-life examples, I could try to throw something 
together.
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 Thursday, April 27, 2017 10:49 PM, Raymond Jerome 
<ray.jerome.j...@gmail.com> wrote:
 

 

I want to take 2 ranges, 1 dim each, can be 2 rows or 2 columns, but I need to 
take a cell from one range and do something with it's 'parallel' cell in the 
other range.
for example, something like a root mean square deviation. One column is data 
values, other column is expected values and the loop sums 
(data(i)-expect(i))^2...
here is how I understand doing something like this on one column or row, very 
simple, no error checking...

Function rms(ByVal Target As Range) As Double
'root mean squared. quadratic mean
Dim Cell As Range
Dim summand As Double
Dim tot As Integer
tot = 0
summand = 0#
For Each Cell In Target.Cells
    If IsNumeric(Cell) Then
    tot = tot + 1
    summand = summand + Cell ^ 2
    End If
Next Cell
rms = Math.Sqr(summand / tot)
End Function

what i do not understand or can't figure is how to do tghis kind of thing on 2 
ranges where a cell from one and a similar cell from the other are co 
processed. Perhaps using .address or .row or .col mixed and matched or split 
out... But is there some simpler way?
thank you-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Hide & lock a formula in the cell

2017-05-01 Thread Paul Schreiner
The steps would be:1) Select all cells   Right-Click and select "Format Cells"  
 go to "Protection" tab and make sure "Locked" is selected.   Select "OK"2) 
Select all cells you want to be able to select/change   Right-click and select 
"Format Cells"   on "Protection" tab, DE-SELECT the "Locked" checkbox.   select 
"OK"3) Select "Protect Sheet" on Review tab.   Remove the checkbox that allows 
locked cells to be selected   But LEAVE the check for selecting UNLOCKED cells. 
  You can add a password or not (for testing, you can leave the password off)   
Note:Locked/Unlocked and Hidden/Unhidden only is enabled when the sheet is 
protected.otherwise, all cells are unlocked and shown.
hope this helps.-
“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, May 1, 2017 2:20 AM, Puneet Jain  wrote:
 

 Dear All
I request you to please help me in Excel sheet that how to hide & lock a 
formula in the cell, in the same way as done in Income tax excel form

-- 
With Warm Regards

Puneet Jain

Mobile-9899068873
Phone(O)-011-23456613
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ popup comments using vlookup or lookup UDF IN VB

2017-04-13 Thread Paul Schreiner
Here's the approach I took:I defined a "public" Dictionary object called 
Dict_Category.I created a function to load the Dict_Category with the category 
listing from the "DATA" sheet.
Being a "public" variable, the values are retained while the workbook is open.
I created two worksheet events:Worksheet_SelectionChangeWorksheet_Change
I created two events so that the Comments update when the cell is selected, and 
also if you were to copy/paste several cells into column "A".
Personally, I think the Change event is the only one that is required.
The Update_Comments function does things like:- Clears the comments from cells 
that are blank- Shows a message if a value is entered that is not in the 
Dictionary
hope this gives you something to work from.

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 Thursday, April 13, 2017 5:26 AM, sunil lobo <christl...@gmail.com> 
wrote:
 

 hi [U][SIZE=5]just want to have comments populate when the cell is selected 
based on the lookup/vlookup function through VB[/SIZE][/U]two sheet 1) 
master_sheet  2 )data sheet masters sheet being dynamic data sheet is 
staticmaster sheet continuosly changing now when  a particular cell is 
activated by using mouse or keyboard comments should pop-up getting  the value 
from the next data sheet 
eg: master sheet , cell a2= 1                          cell a3=2                
          cell a4=4so on and so forth 
in data sheet , cell a2= 5 , cell b2= present                          a3=2, 
cell b3= absent                          a4= 3,cell b4= leave                   
          a5= 1, cell b5= leftnow when i select a3 cell in master_sheet i need 
to populate a comment as [B]absent[/B], when the cell a3 changes to value 
[B]1[/B] i should get a comment display of value [B]left[/B]also when the cell 
value changes it chsould clear the previous comment basically it should popup 
comments based on the value from the data sheet !:)
attaching herewith the sample data for ur reference-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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.


Sample file.xlsb
Description: application/vnd.ms-excel.sheet.binary.macroenabled.12


Re: $$Excel-Macros$$ What is dictionary object in vba, how do we use it?

2017-03-17 Thread Paul Schreiner
I'm a HUGE fan of the Dictionary Object.
It has multiple uses.In it's basic form, it defines a unique "index" for a 
two-dimensional array.
Let's say you have a large worksheet and you want to get a list of unique 
values from column "A" a count of each.
You can cycle through the rows and check to see if the value is in the 
dictionary:
if (not Dict_name.exists(cells(nRow,"A").value)) then' If it's not in the 
dictionary, Add it:    Dict_name.add cells(nRow,"A").value, 1' If it IS, 
then increment the value in the dictionary:else   
Dict_name.item(cells(nRow,"A").value) = dict_name.item(cells(nRow,"A").value) + 
1

once you've cycled through the values, you can "look up" the total by using the 
.item method (above)
Or you can convert the dictionary to an array by using:
dArray = dict_name.keys
lots of possibilities! 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, March 17, 2017 7:30 AM, Tulika Chauhan 
<tuli.chauha...@gmail.com> wrote:
 

 Hi, 
i am new to vba, can anybody help me on dictionary?

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ How to pick numbers which are missing in serial numbers

2017-03-13 Thread Paul Schreiner
What I would do is first load your "Roll No." values into a Dictionary 
object.Then, loop through your "S.No." values and look to see if they are in 
the Dictionary.Report the missing values.Like:
Sub Find_Missing()
    Dim Dict_SN, SN
    Dim nRows, nRow, drow
    Set Dict_SN = CreateObject("Scripting.Dictionary")
    Dict_SN.RemoveAll
    
    nRows = Range("A1").SpecialCells(xlLastCell).Row
    ' Load Dictionary
    For nRow = 2 To nRows
    SN = Trim(ActiveSheet.Cells(nRow, "B").Value)
    If (SN & "X" <> "X") Then
    If (Not Dict_SN.exists(SN)) Then Dict_SN.Add SN, nRow
    End If
    Next nRow
    
    ActiveSheet.Range("C2:C65000").ClearContents
    drow = 1
    For nRow = 2 To nRows
    SN = Trim(ActiveSheet.Cells(nRow, "A").Value)
    If (SN & "X" <> "X") Then
    If (Not Dict_SN.exists(SN)) Then
    drow = drow + 1
    ActiveSheet.Cells(drow, "C").Value = SN
    End If
    End If
    Next nRow
End SubPaul-
“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 Sunday, March 12, 2017 1:23 AM, Sunil Kumar Yadav 
<sk.yadav7...@gmail.com> wrote:
 

 Dear Paul,
I have need your help for this query. Please guide me.
-- 
Sky
"Good, Better, Best!Always listen to your heart, because there lives your 
parents.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ How to make dynamic formula for value change on fix date every month

2017-03-06 Thread Paul Schreiner
Please take a closer look at my long-winded explanation.
I was merely trying to explain how your "static" formula using Today() was 
inefficient and why.
I then went on to suggest that you use (in cell B5) the formula:
=IF(YEAR(A5-15) <> YEAR(TODAY()),0, MONTH(A5-15)*1.5)
I also said that for your second question (rounding values to .5 increments)can 
be done with:
=INT(A23*2)/2
My explanations get kind-of long, because I prefer to TEACH the reasons why 
instead of simply handing over answers. 
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, March 4, 2017 12:10 AM, Sunil Kumar Yadav 
<sk.yadav7...@gmail.com> wrote:
 

 Dear Paul,
Thank you so much for your support but I don't have need formula calculation 
start from today. It should be start from my provided date...pls recheck that 
time my file i am sure you will be got my query.
On Mar 4, 2017 1:58 AM, "Paul Schreiner" <schreiner_p...@att.net> wrote:

First of all, your IF() statement:A nested if statement will evaluate each 
section until it finds a true() option.So, in the first 
case:IF(TODAY()<=42750evaluates false, that means today is > 42750So the second 
part: IF(AND(TODAY()>=42751  HAS to be true, so there's no reason to test 
it!Your IF statement could be simplified to:IF(TODAY()<=42750,0,
IF(TODAY()<=42781,1.5,
IF(TODAY()<=42809,3,
IF(TODAY()<=42840,4.5,
IF(TODAY()<=42870,6,
IF(TODAY()<=42901,7.5,
IF(TODAY()<=42931,9,
IF(TODAY()<=42962,10.5,
IF(TODAY()<=42993,12,
IF(TODAY()<=43023,13.5,
IF(TODAY()<=43054,15,
IF(TODAY()<=43084,16.5,
IF(TODAY()>=43085,18,0 )
But, you can simplify it even more.You're using the 15th of the month as the 
"break point".So, if you were to subtract 15 days, you'd be in the "same" month 
if the day is > 15, and the PREVIOUS month if it is before the 15th.Basically, 
by subtracting 15, you're setting the "break point" as the first of the 
month.So, if you determine the month number: (MONTH(A5-15)) you could say you 
want 1.5 for each month, or:MONTH(A6-15) * 15Now, the issue is with the first 
half of January.subtracting 15 makes it December of the PREVIOUS year, and 
therefore should be 0 instead of 18.
so, you need to check to see if the offset year is the same as the current 
year:=IF(YEAR(A5-15) <> YEAR(TODAY()),0, MONTH(A5-15)* 1.5)
This seems match the same as your sample values for rows 5-9,but I'm not sure 
what you were doing with rows 12-16Why does 16-Mar in row 8 result in 4.5, but 
16-Mar in row 13 is supposed to be 1.5 ???I'm not sure what the rules you're 
using here.
as for your second query:
You're basically wanting to round off your number to the nearest 1/2.You can 
accomplish this by first doubling the number and removing the decimal 
portion(extract just the integer portion)then divide it by 2:=INT(A23*2)/2
this works for your samples.
hope this helps.

 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, March 3, 2017 12:08 PM, Sunil Kumar Yadav 
<sk.yadav7...@gmail.com> wrote:
 

 Dear All,
I have two query for automatically update value on one fixed date, have created 
formula but need dynamic formula.

Formula:IF(TODAY()<=42750,0,IF(AND( TODAY()>=42751,TODAY()<=42781) 
,1.5,IF(AND(TODAY()>=42782, TODAY()<=42809),3,IF(AND( 
TODAY()>=42810,TODAY()<=42840) ,4.5,IF(AND(TODAY()>=42841, 
TODAY()<=42870),6,IF(AND( TODAY()>=42871,TODAY()<=42901) 
,7.5,IF(AND(TODAY()>=42902, TODAY()<=42931),9,IF(AND( 
TODAY()>=42932,TODAY()<=42962) ,10.5,IF(AND(TODAY()>=42963, 
TODAY()<=42993),12,IF(AND( TODAY()>=42994,TODAY()<=43023) 
,13.5,IF(AND(TODAY()>=43024, TODAY()<=43054),15,IF(AND( 
TODAY()>=43055,TODAY()<=43084) ,16.5,IF(AND(TODAY()>=43085, 
TODAY()>=43085),18,0)) )))

Please check excel sheet...Thanks in advance for help!
-- 
Sky
"Good, Better, Best​!Always listen to your heart​​​, because there lives your 
parents.​
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post qu

Re: $$Excel-Macros$$ VBA Run time error 13 type mismatch in Excel 2010 with Datavalidation & VBA

2017-03-06 Thread Paul Schreiner
Maatangi,
your file has a link to a file called Database-formats11.xlsb that I don't 
have, so I'm not sure if I can do much testing.
However, as far as the locked/protected cells go:Record a macro in which you 
Protect the sheet (with a password) and making appropriate selections.then 
unprotect it.
It should look something like:
Sub Macro1()
'
    ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
    , AllowFormattingCells:=True, AllowFormattingColumns:=True, _
    AllowFormattingRows:=True, AllowInsertingRows:=True, 
AllowSorting:=True, _
    AllowFiltering:=True, AllowUsingPivotTables:=True
    ActiveSheet.EnableSelection = xlUnlockedCells
    
    ActiveSheet.Unprotect
End Sub
I formatted it so that it's easier to read and separate them into two 
functions:Function Sheet_Lock()
    ActiveSheet.Protect _
    DrawingObjects:=True, _
    Contents:=True, _
    Scenarios:=True, _
    AllowFormattingCells:=True, _
    AllowFormattingColumns:=True, _
    AllowFormattingRows:=True, _
    AllowInsertingRows:=True, _
    AllowSorting:=True, _
    AllowFiltering:=True, _
    AllowUsingPivotTables:=True
    ActiveSheet.EnableSelection = xlUnlockedCellsSheet_Lock = TrueEnd 
Function
Function Sheet_Unlock()
    ActiveSheet.UnprotectSheet_Unlock = True
End Function
The problem here is that the macro recorder doesn't record the "password" 
portion!You can add simply by adding 
c
like:'---Function Sheet_Lock()
    ActiveSheet.Protect _
    DrawingObjects:=True, _
    Contents:=True, _
    Scenarios:=True, _
    AllowFormattingCells:=True, _
    AllowFormattingColumns:=True, _
    AllowFormattingRows:=True, _
    AllowInsertingRows:=True, _
    AllowSorting:=True, _
    AllowFiltering:=True, _
    AllowUsingPivotTables:=True, _
Password:="Maatangi"
    ActiveSheet.EnableSelection = xlUnlockedCellsSheet_Lock = TrueEnd 
Function
Function Sheet_Unlock()
    ActiveSheet.Unprotect Password:="Maatangi"Sheet_Unlock = True
End Function'---
Now, in your macro: Declare a "status" variable:    Dim Stat
once you've tested it to see if you need to run, Unlock the sheet:
    If nRng Is Nothing Then Exit Sub
    If Target.Value = "OrderStatus" Then
    Stat = Sheet_Unlock
At the end of the macro, Relock it:
    On Error GoTo 0
    Stat = Sheet_Unlock

I recommend:Creating these as function instead of Sub.Because, as a Sub, if the 
user selects the Menu item to run a macro, it would show up in the list and 
they can unlock the sheet.
why did you comment out your EnableEvents lines?You probably only need one at 
the beginning and one at the end instead of inside each if/else 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 Sunday, March 5, 2017 11:31 PM, Maatangi M. Karthik <maata...@gmail.com> 
wrote:
 

 Hello Paul,

Pls find the attached Sample.xlsm file for your reference. 

I did try the lock cells for certain cells but that when the formula had to be 
computed, locked cells had to be overwritten and that was not permitted.

If there is a possibility of talking to explain things that I want to 
accomplish with the excel, do let me know.

Otherwise, I will have to explain here and get it done.

Thanks,
Maatangi


On Friday, 3 March 2017 18:27:55 UTC+5:30, Paul Schreiner wrote:
First of all (last of all?):You can lock some cells and leave others available 
for editing:- select all cells- right click on the selection - Select "Format 
Cells"- select "Protection" tab- Make sure "Locked" is checked.- click "OK"
When the sheet is protected, all cells with this "locked" attribute will be.. 
um... "locked"...Now select the cells you want to allow users to enter data 
into.then:- Select "Format Cells"- select "Protection" tab- Make sure "Locked" 
is NOT checked.- click "OK"
Now, depending on what options you choose when you protect the sheet, the cells 
with the formulas cannot even be selected!while the user entry cells are left 
unchanged.
If you want to be able to copy and paste all the data INCLUDING the locked 
cells to another sheet,make the appropriate selection when protecting the sheet.
I think it "SOUNDS" like you want to accomplish your other items using Excel 
functions rather than 

Re: $$Excel-Macros$$ How to make dynamic formula for value change on fix date every month

2017-03-03 Thread Paul Schreiner
First of all, your IF() statement:A nested if statement will evaluate each 
section until it finds a true() option.So, in the first 
case:IF(TODAY()<=42750evaluates false, that means today is > 42750So the second 
part: IF(AND(TODAY()>=42751  HAS to be true, so there's no reason to test 
it!Your IF statement could be simplified to:IF(TODAY()<=42750,0,
IF(TODAY()<=42781,1.5,
IF(TODAY()<=42809,3,
IF(TODAY()<=42840,4.5,
IF(TODAY()<=42870,6,
IF(TODAY()<=42901,7.5,
IF(TODAY()<=42931,9,
IF(TODAY()<=42962,10.5,
IF(TODAY()<=42993,12,
IF(TODAY()<=43023,13.5,
IF(TODAY()<=43054,15,
IF(TODAY()<=43084,16.5,
IF(TODAY()>=43085,18,0)
But, you can simplify it even more.You're using the 15th of the month as the 
"break point".So, if you were to subtract 15 days, you'd be in the "same" month 
if the day is > 15, and the PREVIOUS month if it is before the 15th.Basically, 
by subtracting 15, you're setting the "break point" as the first of the 
month.So, if you determine the month number: (MONTH(A5-15)) you could say you 
want 1.5 for each month, or:MONTH(A6-15) * 15Now, the issue is with the first 
half of January.subtracting 15 makes it December of the PREVIOUS year, and 
therefore should be 0 instead of 18.
so, you need to check to see if the offset year is the same as the current 
year:=IF(YEAR(A5-15) <> YEAR(TODAY()),0, MONTH(A5-15)*1.5)
This seems match the same as your sample values for rows 5-9,but I'm not sure 
what you were doing with rows 12-16Why does 16-Mar in row 8 result in 4.5, but 
16-Mar in row 13 is supposed to be 1.5 ???I'm not sure what the rules you're 
using here.
as for your second query:
You're basically wanting to round off your number to the nearest 1/2.You can 
accomplish this by first doubling the number and removing the decimal 
portion(extract just the integer portion)then divide it by 2:=INT(A23*2)/2
this works for your samples.
hope this helps.

 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, March 3, 2017 12:08 PM, Sunil Kumar Yadav 
<sk.yadav7...@gmail.com> wrote:
 

 Dear All,
I have two query for automatically update value on one fixed date, have created 
formula but need dynamic formula.

Formula:IF(TODAY()<=42750,0,IF(AND(TODAY()>=42751,TODAY()<=42781),1.5,IF(AND(TODAY()>=42782,TODAY()<=42809),3,IF(AND(TODAY()>=42810,TODAY()<=42840),4.5,IF(AND(TODAY()>=42841,TODAY()<=42870),6,IF(AND(TODAY()>=42871,TODAY()<=42901),7.5,IF(AND(TODAY()>=42902,TODAY()<=42931),9,IF(AND(TODAY()>=42932,TODAY()<=42962),10.5,IF(AND(TODAY()>=42963,TODAY()<=42993),12,IF(AND(TODAY()>=42994,TODAY()<=43023),13.5,IF(AND(TODAY()>=43024,TODAY()<=43054),15,IF(AND(TODAY()>=43055,TODAY()<=43084),16.5,IF(AND(TODAY()>=43085,TODAY()>=43085),18,0)

Please check excel sheet...Thanks in advance for help!
-- 
Sky
"Good, Better, Best​!Always listen to your heart​​​, because there lives your 
parents.​
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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) D

Re: $$Excel-Macros$$ VBA Run time error 13 type mismatch in Excel 2010 with Datavalidation & VBA

2017-03-03 Thread Paul Schreiner
First of all (last of all?):You can lock some cells and leave others available 
for editing:- select all cells- right click on the selection - Select "Format 
Cells"- select "Protection" tab- Make sure "Locked" is checked.- click "OK"
When the sheet is protected, all cells with this "locked" attribute will be.. 
um... "locked"...Now select the cells you want to allow users to enter data 
into.then:- Select "Format Cells"- select "Protection" tab- Make sure "Locked" 
is NOT checked.- click "OK"
Now, depending on what options you choose when you protect the sheet, the cells 
with the formulas cannot even be selected!while the user entry cells are left 
unchanged.
If you want to be able to copy and paste all the data INCLUDING the locked 
cells to another sheet,make the appropriate selection when protecting the sheet.
I think it "SOUNDS" like you want to accomplish your other items using Excel 
functions rather than VBA.(however, VBA is ALWAYS an option)
But it would be a LOT easier for both of us if you could share a sample 
file(even with "dummy" data)
I'd be glad to help.
Paul-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
- 

On Friday, March 3, 2017 12:16 AM, Maatangi M. Karthik <maata...@gmail.com> 
wrote:
 

 
Hi there are a few more things I want from the excel.

1. There are some formulae in my excel sheet, I would like to convert them to 
the backend so that the users cannot change them at any cost
2. There are some fields that affect these formulae in succession, that is, two 
or three cell values together will make up the formula for another cell. I want 
to be able to capture the input event and the formula creation based on this 
input.
For example, there is a field where a due date gets calculated. And this column 
is dependent on 2 other columns' values. so I want to capture those 2 columns' 
input events and invoke the formula once they are filled.
3. In the excel there are 3 fields, Tax,sales price with tax and sales price 
without tax. At present I have given the option of entering / choosing the Tax 
% and entering the without tax price. However, there may be cases where the 
user will know only the with tax price and the tax %. this creates double work 
for them as they have to compute the without tax price and then paste it in 
this excel. I want to avoid this double work and give the option for the users 
to enter price in either of the columns and then be able to compute based on 
which one is input.
4. Last query for now,
I tried Locking / hiding the formulae for certain fields; however, they don't 
take effect unless the excel sheet is protected and if I protect the sheet, 
then users are unable to edit / input their values where necessary. Is there a 
VBA workaround for this? Most of the date fields have to be locked as well and 
should not be allowed to be changed by users.

On Friday, 3 March 2017 01:02:22 UTC+5:30, Paul Schreiner wrote:
I deleted a row and received the "Type Mismatch" error.If you select "Debug", 
you'll see that the offending line of code is:   If Target.Value = 
"OrderStatus" ThenPutting a  "watch" on the Target variable, you'll see that it 
isn't a single cell, but an array of cells!
When you change multiple cells (even by deleting, or inserting, or copying), 
then the Change event is passed an range ARRAY rather than a single range.
In your case, you have a choice.You can add an if() statement like:if 
(Target.count > 1) then exit sub
Or, you can process each cell in the target array like:
dim Targ as rangefor each Targ in Target... (replace each occurrence of 
"Target" with "Targ") ...Next Targ

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 Thursday, March 2, 2017 12:33 PM, Maatangi M. Karthik 
<maat...@gmail.com> wrote:
 

 I am absolutely new to excel VBA.

I have a requirement to create an excel to maintain status of orders (there are 
about 6 / 7 order statuses (2 of which are OrderStatus(no status), Enquiry and 
taken as samples here ) and based on each status, a specific set of actions 
have to be performed. I have created the excel in which there are multiple 
columns & rows, some of the columns have data validations either from a 
reference sheet or entered as list in the Data validation part and some have 
formula references.

What little coding I could understand

Re: $$Excel-Macros$$ VBA Run time error 13 type mismatch in Excel 2010 with Datavalidation & VBA

2017-03-02 Thread Paul Schreiner
I deleted a row and received the "Type Mismatch" error.If you select "Debug", 
you'll see that the offending line of code is:   If Target.Value = 
"OrderStatus" ThenPutting a  "watch" on the Target variable, you'll see that it 
isn't a single cell, but an array of cells!
When you change multiple cells (even by deleting, or inserting, or copying), 
then the Change event is passed an range ARRAY rather than a single range.
In your case, you have a choice.You can add an if() statement like:if 
(Target.count > 1) then exit sub
Or, you can process each cell in the target array like:
dim Targ as rangefor each Targ in Target... (replace each occurrence of 
"Target" with "Targ") ...Next Targ

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 Thursday, March 2, 2017 12:33 PM, Maatangi M. Karthik 
<maata...@gmail.com> wrote:
 

 I am absolutely new to excel VBA.

I have a requirement to create an excel to maintain status of orders (there are 
about 6 / 7 order statuses (2 of which are OrderStatus(no status), Enquiry and 
taken as samples here ) and based on each status, a specific set of actions 
have to be performed. I have created the excel in which there are multiple 
columns & rows, some of the columns have data validations either from a 
reference sheet or entered as list in the Data validation part and some have 
formula references.

What little coding I could understand, I have done that based on my teeny weeny 
bit of knowledge + the ideas that I got from checking on various websites. As a 
result, I am not sure if I have a robust code, although, I have some piece of 
coding to perform certain actions based on values change in certain columns.

Following are the issues that I want help with:

 When inserting / deleting row / rows, get error "Type Mismatch error 13"
 The same error appears while certain columns are extended down to the cells.
 Same error while cut copy pasting a row
 Although the run time error occurs, the action is partially completed

Earliest response would be much appreciated.

My sample excel is attached -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Re: same name

2017-02-28 Thread Paul Schreiner
Your question is extremely vague.
The simple answer is: yes.
Simply use find/replace (ctrl-h)enter JAY BHAVANI COAL FILEDS PVT. LTD. in the 
"find what:" fieldenter Jay Bhawani Coal Fields Pvt Ltd  in the "Replace with:" 
fieldand click the "Replace All" button.
Is THAT what you're looking to do?(because that's what you asked)
BTW: you changed BhaVani to BhaWani
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, February 28, 2017 5:36 AM, "jignesh.audichy...@gmail.com" 
<jignesh.audichy...@gmail.com> wrote:
 

 
         can i make it only one type of name like JAY BHAVANI COAL FILEDS PVT. 
LTD. to Jay Bhawani Coal Fields Pvt Ltd for all the name 




On Friday, February 24, 2017 at 2:13:18 PM UTC+5:30, jignesh audichya wrote:
respected all ,
is there any way to make the two or more name same if all that name have the 
small diff like ,.'

-- 
Warm Regards,
Jignesh Audichya.
-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ to add - sign in vehical number

2017-02-21 Thread Paul Schreiner
Its simple enough to determine the last 4 characters using the right() 
function.But because the length varies (from 7 to 11), you need to be a bit 
more "creative" with the left() function.
try inserting a column with:=LEFT(F3,LEN(F3)-4)&"-"(F3,4)
copy to all rows, then copy/paste Values to convert it to a value.
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, February 21, 2017 6:53 AM, "jignesh.audichy...@gmail.com" 
<jignesh.audichy...@gmail.com> wrote:
 

 respected all,
i have bulk data of indian vehicle number, for example i'll attached the xls 
file, is there any easy way to insert - Sign before last four digit.if anyone 
tell me the easy way it'll help me to finish this task fastest.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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$$ Counting up the combinations

2017-02-20 Thread Paul Schreiner
What's the format of your survey results?
My script "assumes" that the current sheet has three columns:
Survey#, Question, Answer in columns A, B, and C.
It places the summary in columns F:Kwith the header of:  Question#, Ans_1, 
Ans_2, Ans_3, Ans_4, Ans_5
Sub CountArray()
    Dim Results(1 To 4, 1 To 5)
    Dim nRow, nRows
    Dim qNo As Integer, qVal As Integer
    
    nRows = Application.WorksheetFunction.CountA(Range("A:A"))
    
    For nRow = 2 To nRows
    qNo = Cells(nRow, "B").Value
    qVal = Cells(nRow, "C").Value
    Results(qNo, qVal) = Results(qNo, qVal) + 1
    Next nRow
    
    For qNo = 1 To 4
    For qVal = 1 To 5
    Cells(qNo + 1, qVal + 6).Value = Results(qNo, qVal)
    Next qVal
    Next qNo
    MsgBox "Fin"
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 Monday, February 20, 2017 8:43 AM, Greg Della-Croce 
<greg_della-cr...@sil.org> wrote:
 

 Paul,  That is an excellent idea!  All my survey results are on one page of on 
workbook.  So this should be fairly simple to write.   Thanks!!

Greg Della-CroceSkype: gdellacroce55Cell: 
407-408-2572greg_della-cr...@sil.org"If you assume you know the answer, you 
will miss having a breakthrough. It’s okay to do what you did yesterday, but it 
will never be amazing again.". - Rod Favarod, CEO of Spredfast




On Mon, Feb 20, 2017 at 7:55 AM, Paul Schreiner <schreiner_p...@att.net> wrote:

How are your survey results stored?Are they separate files?or have you already 
combined them into one workbook? 
What *I* would do would define an array:Results(QuestionNo, QuestionVal)
Dim Results(1 to 4,1 to 5)
Then, go through your surveys and increment the array value for each 
questionThat is: Question 1, value 1, increment Results(1,1) by 1:
    Results(qNo, qVal) = Results(qNo, qVal) + 1
Once you've populated the array, you can use nested loops to write the values:  
  For qNo = 1 To 4
    For qVal = 1 To 5  Cells(qNo + 1, qVal).Value = Results(qNo, 
qVal) 
    Next qVal
    Next qNo   Since I don't know how your data is formatted, it is difficult 
to write sample code.
I created a worksheet of 1000 surveys, 4 questions each, and random values 1-5.
The entire subroutine to count the values and write out the results was 20 
lines and took less than a second to run!
If you have to open each survey separately, it will take significantly longer :)
let me know if you need additional assistance.
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, February 18, 2017 6:28 PM, Greg Della-Croce 
<greg_della-cr...@sil.org> wrote:
 

 

I have a sheet of responses to a short survey.   The survey asked 4 questions 
with range answers (1 to 5, 5 being best), and then two open-ended questions.   
I would like to count up the number of each combination of answers with the 
range answers.  So for all of the surveys, I would like to know how many people 
that answered 1 to question 1 answered question 2 - 1, 3 -1, 4-1, and how many 
of those people answered 2-2, 3-1, 4-1,  and how many answered 2-1, 3-2, 4-1, 
and so forth for all of the combinations of answers.   
I just can not figure out the right algorithm to do this without hard-coding 
ever possible combo.  Would someone know where I could get some help doing this 
in Exel, or suggest a better program?
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+unsubscribe@ googlegroups.com.
To post to this group, send email to excel-ma

Re: $$Excel-Macros$$ Counting up the combinations

2017-02-20 Thread Paul Schreiner
How are your survey results stored?Are they separate files?or have you already 
combined them into one workbook? 
What *I* would do would define an array:Results(QuestionNo, QuestionVal)
Dim Results(1 to 4,1 to 5)
Then, go through your surveys and increment the array value for each 
questionThat is: Question 1, value 1, increment Results(1,1) by 1:
    Results(qNo, qVal) = Results(qNo, qVal) + 1
Once you've populated the array, you can use nested loops to write the values:  
  For qNo = 1 To 4
    For qVal = 1 To 5  Cells(qNo + 1, qVal).Value = Results(qNo, 
qVal) 
    Next qVal
    Next qNo   Since I don't know how your data is formatted, it is difficult 
to write sample code.
I created a worksheet of 1000 surveys, 4 questions each, and random values 1-5.
The entire subroutine to count the values and write out the results was 20 
lines and took less than a second to run!
If you have to open each survey separately, it will take significantly longer :)
let me know if you need additional assistance.
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, February 18, 2017 6:28 PM, Greg Della-Croce 
<greg_della-cr...@sil.org> wrote:
 

 

I have a sheet of responses to a short survey.   The survey asked 4 questions 
with range answers (1 to 5, 5 being best), and then two open-ended questions.   
I would like to count up the number of each combination of answers with the 
range answers.  So for all of the surveys, I would like to know how many people 
that answered 1 to question 1 answered question 2 - 1, 3 -1, 4-1, and how many 
of those people answered 2-2, 3-1, 4-1,  and how many answered 2-1, 3-2, 4-1, 
and so forth for all of the combinations of answers.   
I just can not figure out the right algorithm to do this without hard-coding 
ever possible combo.  Would someone know where I could get some help doing this 
in Exel, or suggest a better program?
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 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$$ keep active in memory variables, array variables

2017-02-09 Thread Paul Schreiner
The answer is:Yes.
The long version of the answer involves describing the "scope" of variables.
First of all,in each VBA module, I recommend using 
Option Explicit
as the first line of the module.This forces the compiler to check that all 
variables are EXPLICITLY declared.without it, the first time you use a 
variable, the compiler will define it as type "variant".although I've had it 
auto-define a variable as an integer.
As for declaring variables: placement is important!You declare a variable with 
the Dimstatement.
Dim nrow as integer
declares the variable "nrow" as an integer.
If you put this WITHIN a subroutine, like

Sub Count_Rows()   Dim nRow as Integer...End Sub
then the variable is ONLY recognized for use WITHIN the subroutine.That means 
that if you have a second sub and you want to use the value that you got from 
the Count_Rows sub, you cannot.
If you declare the variable OUTSIDE of a subroutine, it is available for all 
subroutines in the module.
-Option ExplicitDim nRowSub Count_Rows()   For nRow = 1 to 100 ...  
 Next nRowEnd Sub
sub Work_Backwards()  Dim inx  Count_Rows  for inx = nrow to 1 step -1...  
next inxend sub
---
But, if you have multiple modules, or write your code within the sheet module, 
then those variables are only available to that module, not others.
variables defined with the Dim function are not "persistent".That is: they are 
cleared when the macro stops running.
to make a variable "persistent", you need to use the "Global" (or "Public") 
declaration keyword.
Option ExplicitPublic nRowSub Count_Rows...End Sub
This MUST be done outside of a macro, and in a "Standard" module (not a Sheet 
module)
It is perfectly legal to declare a variable as a "Public" variable and also 
within a subroutine as a "local" variable.
When the macros run, they will treat these as two separate variables.
As for array variables:There are many ways of declaring them, depending on how 
you plan to use them.
If, for instance, you don't know what size they will be until run-time,you can 
declare the variable like:
Dim sArray
then, once you decide on a size, you can re-dimension it:
ReDim sArray(nRow) Preserve
Use the VBA help to read up on declaring arrays.
hope this helps.

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 Thursday, February 9, 2017 10:01 AM, "wltrp...@gmail.com" 
<wltrp...@gmail.com> wrote:
 

 Is it possible in an Excel workbook as long as it is open,to keep active in 
memory variables, array variables? And those, when running aprogram / script 
vba or macro is finished. How to declare variables, array variables? -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send 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 
membe

Re: $$Excel-Macros$$ Formula help needed

2017-02-08 Thread Paul Schreiner
The Match() function will return the relative column for the date matching the 
header.So: Your array of data is in E1:AI1 and if you're looking for the date 
in cell C1, you would use:MATCH(C$1,$E$1:$AI$1)(the "$" will be necessary for 
when you copy the formulas)
In this case, the function returns 31, which is the number of columns beginning 
from column E.The index() function starts with the entire array of data 
(E1:AI7)and uses a row,column offset into this array.
In cell C2, use the formula:=INDEX($E$1:$AI$7,ROW(),MATCH(C$1,$E$1:$AI$1))
the row() function returns the current row.You can then copy this function to 
the rows in column C and D.
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, February 7, 2017 10:34 AM, Amit Desai (MERU) 
<amit.de...@merucabs.com> wrote:
 

  Dear 
Friends,    I am stuck while preparing a dashboard. I need auto pickup of data 
based (in cell highlighted yellow) on model & date from the right side. If I 
change date (from 31-Jan-17 to 27-Jan-17) the data should change..    I think 
Index/Match with vlookup should work.. but not sure how to use it.. please 
help.              Best Regards, Amit Desai Contact: - 09867232534    
Disclaimer: This message and its attachments contain confidential information 
and may also contain legally privileged information. This message is intended 
solely for the named addressee. If you are not the addressee indicated in this 
message (or authorized to receive for addressee), you may not copy or deliver 
any part of this message or its attachments to anyone or use any part of this 
message or its attachments. Rather, you should permanently delete this message 
and its attachments (and all copies) from your system and kindly notify the 
sender by reply e-mail. Any content of this message and its attachments that 
does not relate to the official business of Meru Cab Company Pvt. Ltd. must be 
taken not to have been sent or endorsed by any of them. Email communications 
are not private and no warranty is made that e-mail communications are timely, 
secure or free from computer virus or other defect.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at 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$$ about conversion of excel to text file.

2017-02-08 Thread Paul Schreiner
The format .csv is a comma separated field format. (Comma Separated Values)
You should be able to use File->Save As->and choose this type.
I'm not sure what you're expecting with the "space between all columns and 
values".
If you are expecting a comma AND a space between each column,then you're going 
to need a VBA macro to accomplish this.
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, February 7, 2017 3:50 PM, Pravin Choudhari 
<choudharip...@gmail.com> wrote:
 

 I have 10 columns in excel and want to convert into the text file. I tried 
when saved in the text file it shows a lot of spaces between columns. my 
requirement is each column and values should be separated by a comma and there 
should be space between all columns and values. Please help me.-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at 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.


  1   2   3   4   5   6   7   8   9   10   >