Re: $$Excel-Macros$$ Re: Help with INSTR

2012-12-20 Thread Anoop K Sharma
Hi Matt,

When you press Ctr+R (on active VBA Editor) you can see vba projects window
on left side of all of the active workbooks.
You can see the available sheet name there.

Regards,
Anoop
Sr. Developer


On Fri, Dec 21, 2012 at 12:25 AM, Matt  wrote:

> Hi Anoop,
>
> That worked perfectly! My only question is, how did you know to name the
> sheet indicies sheets 2 and 4? Since the sheets were named. I was just
> wondering...
>
> Tx again
> Merry Xmas
> Matt
> On Saturday, December 15, 2012 11:28:03 AM UTC-5, Matt wrote:
>
>> Hi, search the forum but couldn't find an example that fit. I'm trying to
>> do a search off column "A" on the "Lookup" tab, and search for it in the
>> yellow  column in the "2010Chase" tab using the "Instr" function and return
>> a value but can't seem to get the code to work unless the words are
>> identical. Is there anyway I can get this code to work?
>>
>> The sheet is here:
>> https://www.box.com/s/**33z5kuabqbjn2b971ae6
>>
>> Tx in advance
>>
>> Matt
>>
>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Mail merge and E mail : Reminder email to customers using VBA

2012-12-23 Thread Anoop K Sharma
Hello Stranger,

I can see your query and would like to get it done but before doing this I
am curious to know something related to your query.
Are you having invoices info and customer info in different workbooks?
If yes then In attached Sample list of Invoicing, I can see only few
inputs. Are these information available only one sheet or more than one
sheet. I put the same question on the other attached workbook (customer
Master).

or it would be good idea if these information is put on same workbook.

Regards,
Anoop
Sr. Developer


On Wed, Dec 19, 2012 at 4:45 PM, ..  wrote:

> Dear List members
>
> Request : *Mail merge and E mail* using VBA or other tools
> =
>
>- I have to send reminder / dunning letters to my customers.
>- Unfortunately the faxing option from the company is very time
>consuming (print, sort, fax, wait for dial tones...failure etc etc) and it
>takes a long time.
>- Also there isn't a corporate e mail reminder solution in sight.
>- To avoid delays and very heavy workload, I plan to e mail the
>reminder / dunning letters. *I have to take this personally *
>- I think this should be possible to partially automate this task
>using XL (data) and combining that with word or VBA and send mail thru MS
>outlook.
>- I suspect some one may have tried this before
>- I seek your help for innovative solutions...either VBA or any other
>innovative solution as well .
>- All input data would be available as XL files. Samples shown below
>and XL files also added to this mail
>- If this has not been tried earlier or if this is too cumbersome,
>please drop this, ...my advance apologies .
>- Any pointers to other websites are also gratefully acknowledged
>
>
>
> THANKS in advance !!!
>
> Subu
>
>
> My customer master looks like this  *[xl file enclosed]*
> 
>
> Customer#Customer_Name...Address..E_mail...
>
> 12345The fancy paint shopPO Box 322,
> madras...fancy_pa...@hotmail.com
> 12346Bright Colours.PO Box 123,
> cochinbright_col...@gmail.com
> 12347Best Decor Bangalore..PO Box 456,
> bangalorebest_d...@bestbangl.co.in
> and ...so on .
>
>
>
> My list of overdue invoices looks like this *[xl file enclosed] *
> ===
> Customer
> #Invoice#...InvoiceDate.DueDateAmount_Due(Rs)
>
> 12345.AX4562.01/10/2012.30/11/2012..11289.60
>
> 12345.AX4653.02/10/2012.30/11/2012..45678.45
>
> 12345.AX4653.02/11/2012.31/12/2012..11235.78
>
> 12346.AX8657.04/10/2012.30/11/2012...4567.60
>
> 12346.AX7658.07/10/2012.30/11/2012...3456.45
>
> 12346.AX9248.08/11/2012.31/12/2012...2589.78
>
> 12347.AX4258.06/10/2012.30/11/2012.111269.60
>
> 12347.AX4796.12/10/2012.30/11/2012..33789.45
>
> 12347.AX6987.10/11/2012.31/12/2012560.78
> ...and so on 
>
>
>
> I wish to send a reminder / dunning letters by e mail as follows
> ==
>
>
> === start of 1st reminder email to fancy_pa...@hotmail.com ==
>
> To
> M/s Fancy Paint Shop =>
> PO Box 322   =>
> Madras   =>  all above from the master !
>
> Date : 19 Dec 2012 (basically run date)
>
> Dear Sir, Madam
>
> You account is overdue by Rs. 56,968.05. Please effect payment immediately
> to avoid delays in supply. A list of invoices due on your account is given
> below
>
> Customer
> #Invoice#...InvoiceDate.DueDateAmount_Due(Rs)
>
> 12345.AX4562.01/10/2012.30/11/2012..11289.60
>
> 12345.AX4653.02/10/2012.30/11/2012..45678.45
>
> Should you need anything more please contact Subu at ..@yahoo.com or
> at +98354xyzab for further information
>
> Thanking you
> Yours Sincerely
>
> Subu
> === end of 1st dunning email ===
>
> As you would have noticed the next reminder / dunning letter would be of
> the same format but different in the due amount and list of invoices
>
>
>
> = Start of 2nd reminder / dunning email to 
> bright_col...@gmail.com===
>
>
> To
> M/s Bright Colours   =>
> PO Box 123   =>
> Cochin   =>  all above from the master !
>
> Date : 19 Dec 2012 (basically run date)
>
> Dear Sir, Madam
>
> You account is overdue by Rs. 8024.05. Please effect payment immediately
> to avoid delays in supply

Re: $$Excel-Macros$$ Unsubscribe my email id

2012-12-23 Thread Anoop K Sharma
Email to following group

excel-macros+unsubscr...@googlegroups.com.


On Mon, Dec 24, 2012 at 1:13 PM, jaspreet singh wrote:

> excel-macros+unsubscr...@googlegroups.com.




-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Re: VBA to Destination of Value only

2012-12-30 Thread Anoop K Sharma
Please try the below one.

Sub PasteValueOnly()
Dim rng As Range
Set rng = Sheets("DailyList").Range("ItemsList")
rng.Copy
Sheets("ItemsListArchives").Range("D1").PasteSpecial xlPasteValues
 End Sub


On Mon, Dec 31, 2012 at 12:01 PM, Lalit Mohan Pandey <
mohan.pande...@gmail.com> wrote:

> Dear Charlie,
>
> Please share your file with us if it is confidential then please share
> sample at least for better clearity.
>
> Regards,
> Lalit Mohan
>
>
> On Monday, 31 December 2012 11:46:32 UTC+5:30, sswcharlie wrote:
>
>> Hi Lalit
>>
>> Have tried the code , same result.  Getting the  'application defined or
>> object defined error' message.  Can you review for me.  A mystery to solve.
>> Thnaks
>>
>>
>> Charlie
>>
>>
>> On Mon, Dec 31, 2012 at 4:11 PM, Lalit Mohan Pandey > > wrote:
>>
>>> Hi Charlie,
>>>
>>> You can copy only value from source to destination using below code also:
>>>
>>>
>>> Sub TestCopyValues()
>>>
>>> Dim varArray()As Variant
>>>
>>> varArray = Sheets("DailyList").Range("**ItemsList").Value
>>> Sheets("ItemsListArchives").**Range("D").Resize(UBound(**varArray),
>>> UBound(varArray, 2)).Value = varArray
>>>
>>> Erase varArray
>>>
>>> End Sub
>>>
>>> Hope this will help you.
>>>
>>>
>>> Regards,
>>> Lalit Mohan
>>>
>>>
>>> On Monday, 31 December 2012 08:19:44 UTC+5:30, sswcharlie wrote:



 Hi Ashish

 Thanks for code.  Still not working.  Has message to say   'application
 defined or object defined error'.  Using XL2000

 Note that my code without the .value works fine and copies across
 except it has the  error   messages.  Just need to addthe value only.

 Thnaks

 Charlie





 On Sunday, December 30, 2012 8:45:51 PM UTC+13, sswcharlie wrote:

> Hi
>  I want to copy the values only to another sheet. Without .value on
> the end it copies thru with error messages. If I put . value on the end it
> comes up with message 'copy method of range class failed'. Do not want to
> use copy/paste special method. Want to use 'Destination" as shown.
>   
>  Sheets("DailyList").Range("**Ite**msList").Copy Destination:=Sheets("
> **ItemsList**Archives").Range("D" & Rows.Count).End(xlUp).Offset(**7**
> ).value
> 
>  Found other code on the net that just used the .value but one above
> it does not work. Do I have to make a small change ? or does the .value go
> in a different position ?
>   Thanks
>  Charlie Harris
>
  --
>>> Join official Facebook page of this forum @ https://www.facebook.com/**
>>> discussexcel 
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-...@googlegroups.com.
>>> To unsubscribe from this group, send email to excel-macros...@**
>>> googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/excel-macros?hl=en
>>> .
>>>
>>>
>>>
>>
>>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://w

Re: $$Excel-Macros$$ query for getting external data from a website

2012-12-30 Thread Anoop K Sharma
Hi Kenil,

Make changes to below code as per your requirement. If you get stuck then
let me know.
*What you need to do:*
->change cURL as per your required time period.
->change the range and sheet.
->change the query table.


Public Const cURL = "http://www.forexpros.com/indices/us-spx-500-components";
Sub SportExchangeQuery()
Application.EnableEvents = False
Dim rRange  As Range
Dim shCountAs Integer
Dim lRow  As Long
Dim ShIndex As Integer

ShIndex = 1
shCount = ThisWorkbook.Sheets.Count

ThisWorkbook.Sheets(ShIndex).Activate
If shCount >= 2 Then
ThisWorkbook.Sheets(ShIndex + 1).Activate
lRow = Range("A65000").End(xlUp).Row + 20
Else
lRow = Range("A65000").End(xlUp).Row + 20
End If
If lRow > 6 Then
ThisWorkbook.Sheets.Add After:=Sheets(ShIndex)
lRow = Range("A65000").End(xlUp).Row + 2
End If

Set rRange = Range("B" & lRow + 1)
rRange.Select
rRange.Offset(0, -1).Value = "Date"
rRange.Offset(0, -1).Resize(1, 10).Font.Bold = True
rRange.Offset(0, -1).Resize(1, 10).Interior.Color = vbCyan
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;" & cURL, Destination:=Range(rRange.Address))
.Name = "HOCKEY"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "2,3,4,5"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
Range(rRange.Offset(1, -1).Address, Range("B63000").End(xlUp).Offset(0,
-1).Address).Value = Now
ActiveSheet.Columns("A").EntireColumn.AutoFit
Call StartTimer
Application.EnableEvents = True
End Sub


On Mon, Dec 31, 2012 at 12:24 PM, Dhaval Shah wrote:

> Kenil
>
> pls click the below mention link to download data of any eq series stocks
>
>
> www.nseindia.com/content/equities/scripvol/datafiles/30-09-2012-TO-28-12-2012
> *TCS*EQN.csv
>
>
> www.nseindia.com/content/equities/scripvol/datafiles/30-09-2012-TO-28-12-2012RELIANCE
> **EQN.csv
>
>
> just u have to change the script name ( NSE SYMBOL )  & time period for
> difference stocks
>
> On Sun, Dec 30, 2012 at 4:46 PM, Kenil Gala  wrote:
>
>> Hi,
>> I want data of last 3months of a particular stock from a website. i have
>> link of that website but dont know how to import it.i just want if i change
>> just symbol of that particular script i get the data of that particular
>> script i want. pls find the file attached for details.
>>
>> Pls help
>> Thanks.
>>
>> --
>> Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> To unsubscribe from this group, send email to
>> excel-macros+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>
>>
>>
>
>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message becau

Re: $$Excel-Macros$$ How to extract sheet from many excel sheets

2012-12-31 Thread Anoop K Sharma
Better to make another copy of workbook bcoz somehow you are asking the
same thing.


On Mon, Dec 31, 2012 at 1:01 PM, maulik desai wrote:

> Hi team,
> I am having 1excel workbook which contains 250 excel sheets and now I want
> to extract those sheets into separate workbook for each sheets. Means I
> want to create 250 workbooks from.250 sheets request u to can someone
> provide me the vb code for this.
>
> Need it  little urgently.
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Fwd: Select Unique values

2013-01-01 Thread Anoop K Sharma
Hi Rajesh,

PFA,

Regards,
Anoop


On Tue, Jan 1, 2013 at 6:30 PM, Rajesh thrissur
wrote:

>
>
>
>
> Hi Experts,
>
> Please refer the attached file & tell me
> How to select employee names from the column "B" and display in Column "D"
> after removing the duplicate.
>
> Regards
> Rajesh
>
>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Copy of Unique Extract.xlsm
Description: Binary data


Re: $$Excel-Macros$$ VBA to show Eastern Time zone less 5 minutes

2013-01-01 Thread Anoop K Sharma
Hi Sabosis,

Please replace your formula with below one.

ActiveCell.Formula = Time + TimeSerial(2, 55, 0)

Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Please unsuscribe

2013-01-01 Thread Anoop K Sharma
Send mail to below link

excel-macros+unsubscr...@googlegroups.com.


On Wed, Jan 2, 2013 at 10:25 AM, Praveen Golash wrote:

> Please do the needful.
>
> --
> Regards,
>
> Praveen Golash
>
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Re: Happy b'day Noorain Ansari

2013-01-01 Thread Anoop K Sharma
Happy B'day Noorain...


On Wed, Jan 2, 2013 at 10:50 AM, Rajan_Verma wrote:

> HI Noorain .
> wish you a great New year and Happy b day,
> have a great year ahead
>
> Regards
> Rajan verma
>
> On Wednesday, 2 January 2013 00:13:59 UTC+5:30, ashish wrote:
>>
>> Happy b'day Noorain Ansari
>>
>>
>> Regards
>> Ashish Koul
>> Sent on my BlackBerry® from Vodafone
>
>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Re: how to remove space between numbers only.

2013-01-02 Thread Anoop K Sharma
Hi Priyanka,

You can refer some good e-books. Why don't you try this on bookboon.com.
As a beginner you should go with "Excel Bible", this will teach you not
only excel basics but also VBA at initial stage.

Regards,
Anoop
Sr. Developer


On Wed, Jan 2, 2013 at 2:18 PM, Manoj Kumar  wrote:

> Wow!!
>
> Thank you very much.
>
> Problem solved..
>
>
> On Wednesday, 2 January 2013 14:10:36 UTC+5:30, Enrique Martin wrote:
>
>> Replace the code with following one. Remember you are concatenating text
>> and Numeric.
>>
>> Find attached the updated one
>>
>>
>> Function RemoveSpaces(str As String) As String
>> Dim myLen As Long
>> Dim myChar As String
>> Dim myWrd As String
>> Dim iCount As Integer
>> Dim myGet As String
>> Dim myGet1 As String
>> myLen = Len(str)
>> myWrd = str
>> For iCount = 1 To myLen
>> myChar = Mid$(myWrd, iCount, 1)
>> If IsNumeric(myChar) Then
>> myGet = myGet & myChar
>> Else
>> myGet1 = myGet1 & myChar
>> End If
>> Next iCount
>> RemoveSpaces = myGet1 & Space(1) & myGet
>> End Function
>>
>>
>> On Wed, Jan 2, 2013 at 1:45 PM, Francis Mukobi wrote:
>>
>>> Beginning to like it in this group. It works but would have preferred if
>>> text was returned also
>>>
>>> Francis Mukobi
>>> Frank Web Hosts
>>> Your affordable & quality web hosts
>>> http://frankhost.net
>>>
>>> Phone: +256 752 954 723
>>>
>>> For every domain you purchase from us, we host your website for the
>>> first 3 months for FREE!
>>>
>>> Manoj Kumar  wrote:
>>>
>>> >Thanks Anoop.
>>> >
>>> >Solved My Problem. but it would be nice if formula also return the name
>>> >along with phone number.
>>> >
>>> >On Wednesday, 2 January 2013 13:17:35 UTC+5:30, Enrique Martin wrote:
>>> >>
>>> >> Paste the following code in the module. this will extract all the
>>> numbers
>>> >> removing spaces.
>>> >>
>>> >> Please see the example in attached file.
>>> >>
>>> >> Function RemoveSpaces(str As String) As String
>>> >> Dim myLen As Long
>>> >> Dim myChar As String
>>> >> Dim myWrd As String
>>> >> Dim iCount As Integer
>>> >> Dim myGet As String
>>> >> myLen = Len(str)
>>> >> myWrd = str
>>> >> For iCount = 1 To myLen
>>> >> myChar = Mid$(myWrd, iCount, 1)
>>> >> If IsNumeric(myChar) Then
>>> >> myGet = myGet & myChar
>>> >> End If
>>> >> Debug.Print myChar
>>> >> Next iCount
>>> >> RemoveSpaces = myGet
>>> >> End Function
>>> >>
>>> >> Regards,
>>> >> Anoop
>>> >>
>>> >>
>>> >> On Wed, Jan 2, 2013 at 1:01 PM, Prince 
>>> >> >wrote:
>>> >>
>>> >>> In this case we need to have a fomula that can count the existence of
>>> >>> number in the text so in that case we need to modify this formula.
>>> >>>
>>> >>> that i let u know how.
>>> >>>
>>> >>> Regards
>>> >>> Prince
>>> >>>
>>> >>>
>>> >>> On Wednesday, January 2, 2013 12:54:34 PM UTC+5:30, Francis Mukobi
>>> wrote:
>>> >>>
>>>  What if it is a list of phone numbers and these numbers have
>>> different
>>>  lengths? I mean some phone numbers are from India (10 digits ) and
>>> some
>>>  numbers are from say Indonesia (14 digits ) etc. How do I remove
>>> spaces
>>>  from such a list of numbers?
>>> 
>>>  Over to you Prince.
>>> 
>>>  Francis Mukobi
>>>  Frank Web Hosts
>>>  Your affordable & quality web hosts
>>>  http://frankhost.net
>>> 
>>>  For every domain purchased from us, we host you for the first 3
>>> months
>>>  FREE!
>>> 
>>>  Prince  wrote:
>>> 
>>>  >Hi Francis,
>>>  >
>>>  >This formula cut the string from first charactor up the number of
>>>  numeric
>>>  >value inside that text i mean i have assumed that numeric value is
>>> a
>>>  mobile
>>>  >number and every mobile number contains 10 digits in india so i
>>> cut the
>>>  >last 12 digit including space and concat that with first string
>>> that i
>>>  got
>>>  >from left.
>>>  >
>>>  >Regards
>>>  >Prince
>>>  >
>>>  >On Wednesday, January 2, 2013 12:00:56 PM UTC+5:30, Francis Mukobi
>>>  wrote:
>>>  >>
>>>  >> Could you please elaborate on the formula you have given, Prince?
>>>  >>
>>>  >> Francis Mukobi
>>>  >> Frank Web Hosts
>>>  >> Your affordable & quality web hosts
>>>  >> http://frankhost.net
>>>  >>
>>>  >>
>>>  >> Manoj Kumar > wrote:
>>>  >>
>>>  >> >there is some text at end also. Sorry for inconvenience.
>>>  >> >
>>>  >> >
>>>  >> >On Wed, Jan 2, 2013 at 11:20 AM, Prince >> **javascript:>>
>>> 
>>>  >> wrote:
>>>  >> >
>>>  >> >> Hi Manoj,
>>>  >> >>
>>>  >> >> use this this may help you incase if the Number is any Mobile
>>>  number:
>>>  >> >>
>>>  >> >> =MID(A1,1,LEN(A1)-

Re: $$Excel-Macros$$ How to find special characters in a cell

2013-01-02 Thread Anoop K Sharma
can you share workbook?


On Wed, Jan 2, 2013 at 8:34 PM,  wrote:

> In excel 2012 I'm using the name typed in a cell as a part of the filename
> when saved via a macro.
> Because the following characters /\*?"<>| are not allowed in a filename I
> want to do a check in the cell.
> The idea is to put a warning in a free cell that the name isn't allowed
> when it contains one or more of the forbidden characters.
> I used the =IF function in combination with =SEARCH but I don't know how
> to use the formulas when I want to check on  * ? or "
> Can somebody help me with that?
> Thanks.
> Danny
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Need Help for formula

2013-01-04 Thread Anoop K Sharma
Hi Jocky,

Please find attached with solution.

Regards,
Anoop
Sr. Developer


On Fri, Jan 4, 2013 at 4:59 PM, jocky Beta  wrote:

> Hi Team,
>
> I have attached one excel sheet in wich i need to set the formula for the
> person for the entire week.i.e is if one person is working form Mon to Fri
> it should mark 9:00 and when same person working on Sat & Sun it shoud mark
> the time as 12:00
>
> Please help me on this
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Copy of Help.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Re: Remove Duplicate Email ID

2013-01-04 Thread Anoop K Sharma
You're great dude.


On Fri, Jan 4, 2013 at 5:31 PM, Prince  wrote:

> most welcome dear.
>
> regards
> prince
>
>
> On Friday, January 4, 2013 5:08:01 PM UTC+5:30, amar takale wrote:
>
>>
>> Thank Very much...Prince
>>
>>
>> On Fri, Jan 4, 2013 at 4:37 PM, Prince  wrote:
>>
>>> Public Sub removeDuplicateId()
>>>
>>> Dim vardata As Variant
>>> Dim varRes  As Variant
>>> Dim lngRow  As Long
>>> Dim objDic  As Object
>>>
>>>
>>> Set objDic = CreateObject("Scripting.**Dictionary")
>>>
>>> With ThisWorkbook.Worksheets("**Sheet1")
>>> vardata = Application.WorksheetFunction.**
>>> Transpose(Intersect(.Range("**A1").CurrentRegion,
>>> .Range("A1").CurrentRegion.**Offset(1)))
>>> For lngRow = LBound(vardata) To UBound(vardata)
>>> If objDic.exists(vardata(lngRow)) = False Then
>>> objDic.Add vardata(lngRow), vardata(lngRow)
>>> End If
>>> Next
>>> varRes = Application.WorksheetFunction.**Transpose(objDic.items)
>>> .Range("B2").Resize(UBound(**varRes), 1) = varRes
>>> End With
>>>
>>> End Sub
>>>
>>
>>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Need Help for formula

2013-01-04 Thread Anoop K Sharma
Hi Jocky,

Formula's been written in validation rule which will restrict any entry
other entry except 9:00:00 for Mon-Thu and 12:00:00 for Sat - Sun.
Try to write something there, you'll get error prompting to enter valid
values.



On Fri, Jan 4, 2013 at 7:11 PM, ashwani agnihotri <
ashwani.agniho...@gmail.com> wrote:

> please see if this helps...
>
>
> On Fri, Jan 4, 2013 at 6:43 PM, jocky Beta  wrote:
>
>> Hi Anoop,
>>
>> There is No formula in the attached sheet, :(
>>
>> On Fri, Jan 4, 2013 at 5:27 PM, Anoop K Sharma wrote:
>>
>>> Hi Jocky,
>>>
>>> Please find attached with solution.
>>>
>>> Regards,
>>> Anoop
>>> Sr. Developer
>>>
>>>
>>> On Fri, Jan 4, 2013 at 4:59 PM, jocky Beta  wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I have attached one excel sheet in wich i need to set the formula for
>>>> the person for the entire week.i.e is if one person is working form Mon to
>>>> Fri it should mark 9:00 and when same person working on Sat & Sun it shoud
>>>> mark the time as 12:00
>>>>
>>>> Please help me on this
>>>>
>>>> --
>>>> Join official Facebook page of this forum @
>>>> https://www.facebook.com/discussexcel
>>>>
>>>> FORUM RULES
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>> 2) Don't post a question in the thread of another member.
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>> 5) Jobs posting is not allowed.
>>>> 6) Sharing copyrighted material and their links is not allowed.
>>>>
>>>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>>> and members are not responsible for any loss.
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>>> To post to this group, send email to excel-macros@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> excel-macros+unsubscr...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Anoop
>>> Sr. Developer
>>>
>>> --
>>> Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> excel-macros+unsubscr...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>
>>>
>>>
>>
>>  --
>> Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses

Re: $$Excel-Macros$$ Need Help for formula

2013-01-04 Thread Anoop K Sharma
Hi Jocky,

Made changes in sheet removing validation to show up the values there. Find
attached the updated one.




On Fri, Jan 4, 2013 at 8:38 PM, Anoop K Sharma wrote:

> Hi Jocky,
>
> Formula's been written in validation rule which will restrict any entry
> other entry except 9:00:00 for Mon-Thu and 12:00:00 for Sat - Sun.
> Try to write something there, you'll get error prompting to enter valid
> values.
>
>
>
> On Fri, Jan 4, 2013 at 7:11 PM, ashwani agnihotri <
> ashwani.agniho...@gmail.com> wrote:
>
>> please see if this helps...
>>
>>
>> On Fri, Jan 4, 2013 at 6:43 PM, jocky Beta  wrote:
>>
>>> Hi Anoop,
>>>
>>> There is No formula in the attached sheet, :(
>>>
>>> On Fri, Jan 4, 2013 at 5:27 PM, Anoop K Sharma 
>>> wrote:
>>>
>>>> Hi Jocky,
>>>>
>>>> Please find attached with solution.
>>>>
>>>> Regards,
>>>> Anoop
>>>> Sr. Developer
>>>>
>>>>
>>>> On Fri, Jan 4, 2013 at 4:59 PM, jocky Beta  wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I have attached one excel sheet in wich i need to set the formula for
>>>>> the person for the entire week.i.e is if one person is working form Mon to
>>>>> Fri it should mark 9:00 and when same person working on Sat & Sun it shoud
>>>>> mark the time as 12:00
>>>>>
>>>>> Please help me on this
>>>>>
>>>>> --
>>>>> Join official Facebook page of this forum @
>>>>> https://www.facebook.com/discussexcel
>>>>>
>>>>> FORUM RULES
>>>>>
>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>>>> Advice will not get quick attention or may not be answered.
>>>>> 2) Don't post a question in the thread of another member.
>>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>>> measure.
>>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>> 5) Jobs posting is not allowed.
>>>>> 6) Sharing copyrighted material and their links is not allowed.
>>>>>
>>>>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>>>> and members are not responsible for any loss.
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>>>> To post to this group, send email to excel-macros@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> excel-macros+unsubscr...@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Anoop
>>>> Sr. Developer
>>>>
>>>> --
>>>> Join official Facebook page of this forum @
>>>> https://www.facebook.com/discussexcel
>>>>
>>>> FORUM RULES
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>> 2) Don't post a question in the thread of another member.
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>> 5) Jobs posting is not allowed.
>>>> 6) Sharing copyrighted material and their links is not allowed.
>>>>
>>>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>>> and members are not responsible for any loss.
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>>> To post to this group, send email to excel-macros@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> excel-macros+unsubscr...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>>
>

Re: $$Excel-Macros$$ Re: dbf conversions

2013-01-07 Thread Anoop K Sharma
http://en.kioskea.net/download/download-5751-xls-excel-to-dbf-converter


On Tue, Jan 8, 2013 at 12:49 PM, Asa Rossoff  wrote:

> Excel 2007+ can import DBF files, but not save to them.  Excel 2003 and
> prior allow saving as Dbase (DBF) files.
>
> ** **
>
> A few alternsatives for saving/exporting to DBase DBF files:
>
> **·**Excel 2003 and prior versions
>
> **·**LibreOffice https://www.libreoffice.org (open source office
> suite) supports both Excel files and Dbase DBF file opening/saving.
>
> **·**Microsoft Access supports importing Excel sheets and
> exporting or linking to DBF files.
>
> ** **
>
> There are various conversion utilities for sale, and some for free.  Here
> are links to a few that appear to be available for free:
>
> **·**http://www.alexnolan.net/software/dbf.htm - freeware
>
> **·**http://sourceforge.net/projects/dbfconverter - open source***
> *
>
> **·**http://sourceforge.net/projects/dbmt - open source
>
> **·**http://www.vlsoftware.net/exportizer/index.html - no-cost
> version?
>
> ** **
>
> Asa
>
> ** **
>
> *From:* excel-macros@googlegroups.com [mailto:
> excel-macros@googlegroups.com] *On Behalf Of *Prince
> *Sent:* Monday, January 07, 2013 11:01 PM
> *To:* excel-macros@googlegroups.com
> *Subject:* $$Excel-Macros$$ Re: dbf conversions
>
> ** **
>
> i dont feel it is actually happen.
>
> ** **
>
> Regards
>
> Prince
>
> On Tuesday, January 8, 2013 10:52:09 AM UTC+5:30, mothi wrote:
>
> dear any one
>
> how  to convert to excel 2007 to   dbf files.
>
> Thanks with
>
> -- 
>
> *J.Mothilal : **Universal Computer Systems : # 16, Brindavan Complex
> :Otteri, Vellore-2*
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>  
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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

Re: $$Excel-Macros$$ Fw: significance of using classes in VBA

2013-01-08 Thread Anoop K Sharma
Paul described wonderfully. Class Module are very Important part of VBA. By
using this you can create your own event or event driven procedure. This
comes in Advance programming.
You can run a program by clicking a command button or by changing the
worksheets or there are number of events which you can use for your purpose.

Lets have a simple example of a label on userform. Suppose you click on the
label and want to open another userform or want to clear a corresponding
text box or anything else. This is what which can be done by class module.

Remember Label is the inbuilt object so you can do above incident happened
without using Class module but if you create your own Object (lets say a
bitmap image) then the role of class module comes into play.

Regards,
Anoop


On Tue, Jan 8, 2013 at 11:19 PM, Paul Schreiner wrote:

> Here is a somewhat vague description/analogy.
> It's not ENTIRELY accurate, but I think will get the idea across.
>
> First, let's look at an "Object".
> Objects can have properties and mothods associated with them.
> Let's take, for example, the Range object.
>
> A Range object can have a Value,
> but it can also have Borders, Interior Color, Font, Formula, Hidden
> property, a Name, and many more "properties"
>
> you can also DO stuff with a Range object.
>
> Range("A1").Copy will "copy" the range to the Windows Clipboard.
> this isn't the same as copying the VALUE of a cell to the clipboard,
> because it also copies the border, colors, fonts, etc as well.
> So when you PASTE the clipboard contents, it carries with it all of the
> Properties that were copied from the original Range Object.
>
> So, let's say you wanted to create your own special Range object that
> looks just like the standard Range Object.
>
> The "Range" object is actually unique.. because technically, "Range" is
> designed as a "Class" of objects
> So you can use
> Dim MyRange as Range
> So, MyRange takes on all of the Attributes (Properties) and Methods as the
> Range Class.
>
> You could then use:
> Set MyRange = Range("A1:Z500")
> To Create an object called MyRange.
>
> Now, what if the Range Object just didn't have all of the things you look
> for in an Object?
> (I have no idea what that could be.  The Range object is pretty
> comprehensive)
>
> But let's say you wanted to create an object that did different things
> (Methods) depending on how you acted on it.
>
> Say, if you clicked it, it did one thing, but if you Double-Clicked it, it
> did something else, and if you right-clicked it, it did yet something else.
>
> Then you could create a "type" or "Class" of object that behaved the way
> you wanted it.
>
> Chip Pearson (Pearson Software Consulting, LLC) has done a nice job
> describing Classes:
>
> http://www.cpearson.com/excel/classes.aspx
>
> As far as:  an "example where classes are useful than normal programming"
> ??
>
> I do not believe Classes ARE "normal" programming.
> I would consider them "Advanced" programming.
>
> **
>
> **
>
> *Paul*
>
> -
> *“Do all the good you can,
> By all the means you can,
> In all the ways you can,
> In all the places you can,
> At all the times you can,
> To all the people you can,
> As long as ever you can.” - John Wesley
> *-
>
>
>  --
> *From:* Arsfan2005 
> *To:* excel-macros@googlegroups.com
> *Sent:* Tue, January 8, 2013 11:49:51 AM
> *Subject:* $$Excel-Macros$$ Fw: significance of using classes in VBA
>
>
>
>
> Sent from Samsung Mobile
>
>
>  Original message 
> Subject: significance of using classes in VBA
> From: "Shinde, Hanumant" 
> To: "arsfan2...@yahoo.co.in" 
> CC:
>
>
>  Hi friends,
>
>
>
> I am going through Classes in VBA. I am not sure why we should uses
> classes. I don’t understand the significance of using classes.
>
> I have never seen classes being used in my office tools.
>
>
>
> Can somebody please suggest links or ebooks where I can get in depth
> knowledge of this whole concept.
>
> Also, can somebody please show me example where classes are useful than
> normal programming,
>
>
>
> Any input/feedback/suggestions are appreciated
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Goog

Re: $$Excel-Macros$$ Pivot table

2013-01-08 Thread Anoop K Sharma
Hope the attached file can help you better.

Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Copy of Pivot table.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Prince Kumar - Most Helpful Member December'12

2013-01-10 Thread Anoop K Sharma
Congrats Prince


On Fri, Jan 11, 2013 at 9:19 AM,  wrote:

> **
> Many congratulations to u Prince...
> Sent from my BlackBerry® smartphone from !DEA
> --
> *From: * Ayush Jain 
> *Sender: * excel-macros@googlegroups.com
> *Date: *Thu, 10 Jan 2013 22:19:58 +0530
> *To: *excel-macros
> *ReplyTo: * excel-macros@googlegroups.com
> *Subject: *$$Excel-Macros$$ Prince Kumar - Most Helpful Member December'12
>
> Dear members,
>
> Prince Kumar has been selected as 'Most Helpful Member' for the month of
> Dec'12. He has posted 92 posts last month and helped forum members through
> his excel expertise.
> I truly appreciate his technical knowledge, consistency and commitment to
> the group. He has been consistently contributing in the forum since last 6
> months.
>
> *Prince, please find enclosed the award certificate in honor of your
> contribution. Congratulations and thanks for your commitment.
> We are honored to have you in this forum.
> *
>
> Thanks to Ashish, Pravin, Paul, Amar, Anoop and all other members for
> helping excel enthusiasts voluntarily !!
>
> Keep posting.
>
> Regards,
> Ayush Jain
> Group Manager
>
> P.S. If you have any feedback, please share your thoughts by filling the 
> survey
> form.
>
>
>   --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Hey how to recover source data from pivot table .

2013-01-13 Thread Anoop K Sharma
If you have pivot table existed there then double click on the grand total
value. You can extract the pivot cache data from there.

Regards,
Anoop


On Mon, Jan 14, 2013 at 12:05 PM, अनिल नारायण गवली
wrote:

> Dear All,
>
> actually my bro has deleted the source data. befor he has deleted i had
> made a pivot table after that he deleted the souce data.
> Now i want that data back .  is there any solutions.
>
>
>
> --
> Thanks & Regards,
> Gawli Anil Narayan
> Software Developer,
> Abacus Software Services Pvt Ltd
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Re: $$Excel-Macros$$ Hey how to recover source data from pivot table .

2013-01-14 Thread Anoop K Sharma
Without refreshing pivot, remove all the filters from the pivot and do the
same which I had told you earlier.
If this doesn't work then there is no hope to retrieve all the data.

Good luck



On Mon, Jan 14, 2013 at 2:16 PM, अनिल नारायण गवली
wrote:

> dear ,
> But it only shows that much data the field which i have clicked .  I want
> all the data.
>
> Warm Regards,
> Gawli Anil
>
> On Mon, Jan 14, 2013 at 12:19 PM, Anoop K Sharma 
> wrote:
>
>> If you have pivot table existed there then double click on the grand
>> total value. You can extract the pivot cache data from there.
>>
>> Regards,
>> Anoop
>>
>>
>> On Mon, Jan 14, 2013 at 12:05 PM, अनिल नारायण गवली <
>> gawlianil8...@gmail.com> wrote:
>>
>>> Dear All,
>>>
>>> actually my bro has deleted the source data. befor he has deleted i had
>>> made a pivot table after that he deleted the souce data.
>>> Now i want that data back .  is there any solutions.
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Gawli Anil Narayan
>>> Software Developer,
>>> Abacus Software Services Pvt Ltd
>>>
>>> --
>>> Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> excel-macros+unsubscr...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Anoop
>> Sr. Developer
>>
>> --
>> Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> To unsubscribe from this group, send email to
>> excel-macros+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>
>>
>>
>
>
>
> --
> Thanks & Regards,
> Gawli Anil Narayan
> Software Developer,
> Abacus Software Services Pvt Ltd
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a wo

Re: $$Excel-Macros$$ Allocation problem between Requirement and Stock.

2013-01-15 Thread Anoop K Sharma
Hi Eugene,

PFA file which can help you in allocation of task.

Regards,
Anoop


On Wed, Jan 16, 2013 at 10:22 AM, अनिल नारायण गवली
wrote:

> Pls find attached ,
>
> Is it ok???/
>
> Thanks & Reagards,
> Gawli Anil
>
> On Tue, Jan 15, 2013 at 4:37 PM, Eugene Bernard 
> wrote:
>
>> Dear all,
>>
>> Please find attached an excel workbook, having 2 sheets. In this "REQT"
>> sheet, I need to fill in the column "C" with the quantities available from
>> Stock sheet, based on Item.
>>
>> The allocation is based on Item, Requirement and Stock.
>>
>> The Requirement is filled in column B of "REQT sheet.
>> The manual allocation is filled in Column "C". How to allocate it using
>> Formula
>>
>> The allocation can be done easily in the case of unique item. By using
>> minimum function.
>> If item repeats like "A001" how to allocate. Please help.
>>
>> Regards
>> Eugene
>>
>>  --
>> Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> To unsubscribe from this group, send email to
>> excel-macros+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>
>>
>>
>
>
>
> --
> Thanks & Regards,
> Gawli Anil Narayan
> Software Developer,
> Abacus Software Services Pvt Ltd
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Copy of Allocaton Problem.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Need formula

2013-01-16 Thread Anoop K Sharma
Hi Deepak,

PFA. You need to refresh the pivot on first sheet.

Regards,
Anoop
Sr. Developer


On Thu, Jan 17, 2013 at 11:16 AM, Deepak Rawat wrote:

> HI,
>
> Could u suggest any formula to get summary from the data attached in
> summary sheet.
>
> --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

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




Copy of Book1.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Help in extracting data

2013-01-16 Thread Anoop K Sharma
Paste the below code in the module. Press alt + F8 and run macro
proc_ExtractDates.

Remember you are getting output on worksheet named as "Sheet5". If it
doesn't exist then make a new worksheet with this name.


Sub proc_ExtractDates()
Dim i As Integer
Dim lRow As Long
Dim fndVal As Variant
Dim sh As Worksheet
Dim rng As Range
Dim frstAddr As Variant
Dim myColor As Variant
i = ThisWorkbook.Sheets.Count
lRow = 2
For Each sh In ThisWorkbook.Worksheets
If sh.Name = "Sheet5" Then GoTo AKS
sh.Activate
With sh
Debug.Print sh.Name
Set rng = sh.UsedRange
With rng
Set fndVal = .Find("BPP", , xlValues, xlPart, , xlNext)
If Not fndVal Is Nothing Then
frstAddr = fndVal.Address
Do
Application.Goto fndVal
Worksheets("Sheet5").Range("A" & lRow).Value =
sh.Name
fndVal.Copy Sheet1.Range("B" & lRow)

lRow = lRow + 1
Debug.Print fndVal
Set fndVal = .FindNext(fndVal)
Loop While Not fndVal Is Nothing And fndVal.Address <>
frstAddr
End If
End With
End With
AKS:
Next sh
End Sub


On Thu, Jan 17, 2013 at 12:13 PM, chaya moni  wrote:

> Dear Anoop sir,
>
>i have tried for the same for 100 sheets, which contains the same,
> there nothing value is coming. i mean is there any bound for number of
> sheet, like maximum of 6 or 7 sheet. what you have provided to me is
> excellent working but i  try for 100 sheets , the data is missing.
>
> regards,
> Chaya
>
>
> On Thu, Jan 17, 2013 at 11:26 AM, chaya moni wrote:
>
>> Dear Anoop,
>>
>> Awesome and unbelievable, it was more then expected. any way i
>> did not check those value. once i check, i revert you back.
>> thanks for helping me. thank you all.
>>
>> -Chaya
>>
>>
>> On Thu, Jan 17, 2013 at 11:19 AM, Anoop K Sharma 
>> wrote:
>>
>>> Hi Chaya
>>>
>>> Here you go
>>> Note:- You can change data in all sheets. Do not delete first sheet
>>> named as "Sheet5".
>>>
>>> Regards,
>>> Anoop
>>> Sr Developer
>>>
>>>
>>> On Thu, Jan 17, 2013 at 11:01 AM, chaya moni wrote:
>>>
>>>> Gentle reminder experts !
>>>>
>>>>
>>>>>i have another task which is very difficult for me
>>>>> to complete manually. is there any macros to do this task.
>>>>>i have a workbook which has more than 70 sheet,
>>>>> which the sheet names are as -KM121, KM122. KM,123 and so on Now in
>>>>> every sheet there is some data which need to be extract. the datas are 
>>>>> like
>>>>> starts from BPP, eg . BPP/HIG/3346/24-Apr-12, So which ever the data 
>>>>> starts
>>>>> from BP, i want the exact data and with the color. eg. in sheet KM121,
>>>>> BPP/HIG/3346/24-Apr-12, it is blue color, so i want the data as well as 
>>>>> the
>>>>> color, Please refer sheet5, i have made some example.
>>>>>
>>>>>  Can be done with the help of macros or with help of some
>>>>> excel formulas to figure this.
>>>>>  thanking you all.
>>>>>
>>>>> Regards,
>>>>> Chaya
>>>>>
>>>>> --
>>>>> Join official Facebook page of this forum @
>>>>> https://www.facebook.com/discussexcel
>>>>>
>>>>> FORUM RULES
>>>>>
>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>>>> Advice will not get quick attention or may not be answered.
>>>>> 2) Don't post a question in the thread of another member.
>>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>>> measure.
>>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>> 5) Jobs posting is not allowed.
>>>>> 6) Sharing copyrighted material and their links is not allowed.
>>>>>
>>>>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>>>> and members are not responsible for any loss.
>>

Re: $$Excel-Macros$$ Help in extracting data

2013-01-16 Thread Anoop K Sharma
I have restricted the flickering of screen. Use below the updated one.

Paste the below code in the module. Press alt + F8 and run macro
proc_ExtractDates.

Remember you are getting output on worksheet named as "Sheet5". If it
doesn't exist then make a new worksheet with this name.


Sub proc_ExtractDates()
Dim i As Integer
Dim lRow As Long
Dim fndVal As Variant
Dim sh As Worksheet
Dim rng As Range
Dim frstAddr As Variant
Dim myColor As Variant
i = ThisWorkbook.Sheets.Count
lRow = 2
For Each sh In ThisWorkbook.Worksheets
If sh.Name = "Sheet5" Then GoTo AKS
With sh
Debug.Print sh.Name
Set rng = sh.UsedRange
With rng
Set fndVal = .Find("BPP", , xlValues, xlPart, , xlNext)
If Not fndVal Is Nothing Then
frstAddr = fndVal.Address
Do
Worksheets("Sheet5").Range("A" & lRow).Value =
sh.Name
fndVal.Copy Sheet1.Range("B" & lRow)

lRow = lRow + 1
Debug.Print fndVal
Set fndVal = .FindNext(fndVal)
Loop While Not fndVal Is Nothing And fndVal.Address <>
frstAddr
End If
End With
End With
AKS:
Next sh
MsgBox "Updated Successfully"
End Sub


On Thu, Jan 17, 2013 at 12:21 PM, अनिल नारायण गवली
wrote:

> Dear Chaya,
>
> Anoop data is working f9  ,  kindly see the attached file.
>
> Warm Regards,
> Gawli Anil
>
> On Thu, Jan 17, 2013 at 12:13 PM, chaya moni wrote:
>
>> Dear Anoop sir,
>>
>>i have tried for the same for 100 sheets, which contains the same,
>> there nothing value is coming. i mean is there any bound for number of
>> sheet, like maximum of 6 or 7 sheet. what you have provided to me is
>> excellent working but i  try for 100 sheets , the data is missing.
>>
>> regards,
>> Chaya
>>
>>
>> On Thu, Jan 17, 2013 at 11:26 AM, chaya moni wrote:
>>
>>> Dear Anoop,
>>>
>>> Awesome and unbelievable, it was more then expected. any way i
>>> did not check those value. once i check, i revert you back.
>>> thanks for helping me. thank you all.
>>>
>>> -Chaya
>>>
>>>
>>> On Thu, Jan 17, 2013 at 11:19 AM, Anoop K Sharma >> > wrote:
>>>
>>>> Hi Chaya
>>>>
>>>> Here you go
>>>> Note:- You can change data in all sheets. Do not delete first sheet
>>>> named as "Sheet5".
>>>>
>>>> Regards,
>>>> Anoop
>>>> Sr Developer
>>>>
>>>>
>>>> On Thu, Jan 17, 2013 at 11:01 AM, chaya moni wrote:
>>>>
>>>>> Gentle reminder experts !
>>>>>
>>>>>
>>>>>>i have another task which is very difficult for me
>>>>>> to complete manually. is there any macros to do this task.
>>>>>>i have a workbook which has more than 70 sheet,
>>>>>> which the sheet names are as -KM121, KM122. KM,123 and so on Now in
>>>>>> every sheet there is some data which need to be extract. the datas are 
>>>>>> like
>>>>>> starts from BPP, eg . BPP/HIG/3346/24-Apr-12, So which ever the data 
>>>>>> starts
>>>>>> from BP, i want the exact data and with the color. eg. in sheet KM121,
>>>>>> BPP/HIG/3346/24-Apr-12, it is blue color, so i want the data as well as 
>>>>>> the
>>>>>> color, Please refer sheet5, i have made some example.
>>>>>>
>>>>>>  Can be done with the help of macros or with help of some
>>>>>> excel formulas to figure this.
>>>>>>  thanking you all.
>>>>>>
>>>>>> Regards,
>>>>>> Chaya
>>>>>>
>>>>>> --
>>>>>> Join official Facebook page of this forum @
>>>>>> https://www.facebook.com/discussexcel
>>>>>>
>>>>>> FORUM RULES
>>>>>>
>>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>>>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>>>>> Advice will not get quick attention or may not be answered.
>>>>>> 2) Don't post a question in the thread of another member.
&

Re: $$Excel-Macros$$ Need formula

2013-01-16 Thread Anoop K Sharma
Use the updated file. You can move pivot anywhere in the workbook. There is
no change in your table formatting.




On Thu, Jan 17, 2013 at 12:21 PM, Deepak Rawat wrote:

> Dear Anoop,
>
> I need as i given table.
>
> regards,
> Deepak rawat
>
>
> On Thu, Jan 17, 2013 at 11:43 AM, Anoop K Sharma 
> wrote:
>
>> Hi Deepak,
>>
>> PFA. You need to refresh the pivot on first sheet.
>>
>> Regards,
>> Anoop
>> Sr. Developer
>>
>>
>> On Thu, Jan 17, 2013 at 11:16 AM, Deepak Rawat 
>> wrote:
>>
>>> HI,
>>>
>>> Could u suggest any formula to get summary from the data attached in
>>> summary sheet.
>>>
>>> --
>>> Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> excel-macros+unsubscr...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Anoop
>> Sr. Developer
>>
>> --
>> Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> To unsubscribe from this group, send email to
>> excel-macros+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>
>>
>>
>
>  --
> Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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

Re: $$Excel-Macros$$ Expire date

2013-02-11 Thread Anoop K Sharma
Sub ExpDate()
Tdate = DateSerial(2013, 1, 24)
If Tdate >= Format(Now(), "dd/mm/") Then
RunMacro
Else
MsgBox "Program Expired", vbCritical, "Program Status"
ThisWorkbook.Save
ThisWorkbook.Close
End If
End Sub


On Tue, Feb 12, 2013 at 7:20 AM, NRao Mynampati
wrote:

> Hi Team,
>
>
> I develop a tool in excel using with macro but i am not able to added
> expire date in that. Please help on this.
>
>
> Thanks
> Narasimha
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Index and Match help needed

2013-02-20 Thread Anoop K Sharma
I can see that you can't share file. Can't you even share sample of fake
data? This can help us a lot to understand your query.


On Wed, Feb 20, 2013 at 9:20 PM, solsbee  wrote:

> I have a spreadsheet that the data is keyed in one cell, then multiple
> other cells are populated by the index and match formula being tied to that
> entry.  My problem is sometimes I need 5 rows populated and other times I
> may need 6.  Is there a way to have excel show an error if a cell does not
> match the cell above?  The example in my spreadsheet would be B8 not
> matching B9.
>
> I would attach a copy, but it would not let me.
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Re: Find negative and terminate

2013-02-20 Thread Anoop K Sharma
Hi Richard,

Please find attached the requested one. Once you are done with first
negative value the macro will jump to another one. The process goes one
until it finds all.

Click Command button on first sheet.

Regards,
Anoop
Sr. Developer


On Thu, Feb 21, 2013 at 6:07 AM, Richard Bridges  wrote:

> Here's a simple example attached.
>
> On Wednesday, February 20, 2013 7:33:47 PM UTC-5, Richard Bridges wrote:
>>
>> Hi guys,
>>
>> I'd appreciate help with this one, can't quite figure it out.  I need to
>> search all worksheets in a workbook for a negative number in column K,
>> display a msgbox showing the cell addresses of the negative cells, and to
>> exit the macro if a negative number is found.  This is probably gibberish,
>> but it's what I have so far:
>>
>> Set r = Columns(11).Cells
>>
>> For Each ws In Worksheets
>> * If r.Value < 0 Then *
>>
>> MsgBox "Negative order quantity found. Please check cells: " &
>> r.Address
>>
>> Else
>> End If
>> Next ws
>>
>> I keep getting a type mismatch error 13 in this line (*).  Thanks in
>> advance for any help.
>>
>> Richard
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Copy of negexample.xlsm
Description: Binary data


Re: $$Excel-Macros$$ Is it possible to Create a macro that gives URL as output after giving the advertiser name as Input

2013-02-26 Thread Anoop K Sharma
Yes, it is. But before doing it, you need to give reference of database
where the word (input) matches itself and provided you available URLs.


On Tue, Feb 26, 2013 at 7:45 PM, Abhishek Singh wrote:

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



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Is it possible to Create a macro that gives URL as output after giving the advertiser name as Input

2013-02-27 Thread Anoop K Sharma
No Noorain, this is not what Abhishek looking for.
As I can understand he wants a "text box" or "input box" on excel in which
he can give his input and find related urls in excel from google.

Time investment is required for this to extract urls from IE or Mozila.


On Wed, Feb 27, 2013 at 6:05 PM, NOORAIN ANSARI wrote:

> Dear Abhishek,
>
> Please try through attached sheet, hope it will help to you.
>
>
>
> --
> With Regards,
> Noorain Ansari
> http:// 
> noorainansari.com
> http:// 
> excelvbaclinic.com
>
>
> On Wed, Feb 27, 2013 at 3:03 PM, Abhishek Singh wrote:
>
>> Thanks for replying.
>> Well the database is google search. After you search for the advertisers
>> name, the first result that comes up contains the URL. Let's assume we are
>> using mozilla browser.
>>
>> Thanks
>> Abhishek
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE  : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Need formula for sum

2013-02-27 Thread Anoop K Sharma
Use attached one. This'll take care of text values also.


On Thu, Feb 28, 2013 at 10:41 AM, Deepak Rawat wrote:

> But if some in some place text exists then what to do
>
> Regards,
> Deepak
>
>
> On Wed, Feb 27, 2013 at 8:47 PM, Maries  wrote:
>
>> Hi,
>>
>> Try it,
>>
>> =SUMIF($D$2:$AB$2,AC2,D$3:AB$3)
>>
>>
>> On Wed, Feb 27, 2013 at 6:26 PM, Deepak Rawat wrote:
>>
>>> Sorry attached wrong one
>>> now attached the correct one.
>>>
>>> Regards,
>>> Deepak
>>>
>>>
>>> On Wed, Feb 27, 2013 at 5:41 PM, David Grugeon wrote:
>>>
 We need more information.  What do you want the sum of?  There does not
 seem to be anything in the worksheet provided that you could possibly want
 to add up.


 On Wednesday, 27 February 2013, Deepak Rawat wrote:

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


 --
 Regards
 David Grugeon


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

 FORUM RULES

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

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



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

Re: $$Excel-Macros$$ COMPLIE ERROE HIDDEN MODULE MESSAGE IN EXCEL 2007

2013-04-10 Thread Anoop K Sharma
Probably, one of the library is missing or not selected in excel installed
in your PC or laptop.
Add all the libraries. You can check the libraries by checking the box in
VBA editor..
below is the screen shot to help you.




On Wed, Apr 10, 2013 at 2:29 PM, Hari Nair  wrote:

> I AM USING EXCEL 2007, WHENVER I AM OPENING THE ER-1  ONLINE UTILITY IN
> *.XLS FORMAT I AM GETTING COMPILE ERROR HIDDEN MODULE MESSAGE.  PLEASE HELP
> TO REMOVE THIS ERROR.  IN OFFICE 2003 I HAVE NOT GETTING ANY MESSAGES. THE
> PROBLEM IS ONLY WITH EXCEL 2007. THANKS IN ADVANCE
>
> HARI
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Macro for filter data & send it to respective user through mail

2013-04-11 Thread Anoop K Sharma
Refer to link http://lotusnoteconnection.blogspot.in/  for lotus note script


On Wed, Apr 10, 2013 at 2:04 PM, अनिल नारायण गवली
wrote:

> Yes, U can do it by notes.notessession.
>
> Warm Regards,
> Gawli Anil
>
> On Wed, Apr 10, 2013 at 1:42 PM, C.G.Kumar wrote:
>
>> Can we do the same thing using Lotus Notes
>>
>>
>> On Fri, Mar 15, 2013 at 10:58 AM, अनिल नारायण गवली <
>> gawlianil8...@gmail.com> wrote:
>>
>>> Dear Sagar,
>>>
>>> Enclosed herewith the required data.  Is it Ok ?  Tell me .
>>>
>>> Files are save in C:\Anil.
>>> note:- When file are saved in the required dir. then automatically one
>>> message box will be poped which says successfully transformed then
>>> automatically outlook format one sheet will be activated there you have to
>>> put the email id , sub,body,sign,and the attachments and then click on send
>>> button.
>>>
>>>
>>>
>>>
>>>
>>> Warm Regards,
>>>
>>>
>>>
>>> On Thu, Mar 14, 2013 at 4:43 PM, Sagar Aher  wrote:
>>>
 Outlook
 On Mar 14, 2013 3:37 PM, "अनिल नारायण गवली" 
 wrote:

> Dear Sagar,
>
> From which mail u want to send the file ? from gmail,yahoo, or from
> outlook???
>
>
> Warm Regards,
> Gawli Anil
>
>
>
> On Thu, Mar 14, 2013 at 3:29 PM, sagaraher wrote:
>
>> Hello,
>>
>> I am looking for Macro for filter data & send it to respective user
>> through mail, pl find details below
>> 1) I have various dept like SCM / Mktg / Engg / HR etc & data
>> attached to each dept, when we apply filter we can see data related to
>> particular dept.
>> 2) I want to create separate excel file for each dept & send it to
>> respective dept people
>>
>> Pl help me to design macro for the same
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like
>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>> Advice will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>> and members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Thanks & Regards,
> Gawli Anil Narayan
> Software Developer,
> Abacus Software Services Pvt Ltd


>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Gawli Anil Narayan
>>> Software Developer,
>>> Abacus Software Services Pvt Ltd
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> h

Re: $$Excel-Macros$$ data range failed to refresh from local html file

2013-04-18 Thread Anoop K Sharma
Can you share the file?


On Fri, Apr 19, 2013 at 4:03 AM, John Rodgers wrote:

>
>
> hello
> I have an excel 2007 workbook, which contains a number of external data
> ranges.  The query definition for these external data ranges is the local
> path to an html file (eg, file:///D:/localfiles/filename.html).  Each html
> files contains a data table.  This works perfectly most of the time.  (And
> there is a reason we are stuck using the html format)
>
> The workbook is set up to auto-refresh all queries every five minutes.  I
> have a separate function that updates the content of the html files.
>  Again, the system basically works, almost all the time.
>
> The trick is the almost -- about one of 20 times that the excel file
> opens, I get a "failed to refresh data range: 'range_name'.  continue to
> refresh all?"  And the program sits and hangs until I respond.  This is a
> showstopper because these files must be able to run automatically, at all
> hours, without human intervention.
>
> When this happens, I can verify that the subject html file does exist, and
> that it does have content.  The format and fields of the content are
> exactly the same when it does not work as they are when it does work.
>
> Does anyone know how to troubleshoot this?  Or any advice specific to this
> challenge?  (again, I am stuck using these html files and this general
> approach of excel auto-refresh of external data ranges.)
>
> Thanks very much in advance.
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Excel Behavior Question

2013-04-29 Thread Anoop K Sharma
check if it is protected?


On Sat, Apr 27, 2013 at 12:17 AM, Chris  wrote:

> Happy Friday Everybody,
>
> hope it is allowed to throw in a question here regarding a certain
> behavior in Excel that I've just never seen fixed/improved. Ayush, maybe
> you or anybody else here know. Just some trivia I'd like to understand as a
> geek.
>
> I can't even remember what the first version of Excel is that I used.
> However, MS never "fixed" the issue that you can hide more than one
> worksheet at a time but you cannot unhide more than one at a time. I've
> seen this topic discussed in many forums, sites, blogs, etc. However, never
> found anything of value that would explain why this hasn't been addressed.
> I've written my own unhide function. Hence, I'm not bickering that it can't
> be done. However, I just sat on a colleague's machine to help him with some
> issues and I was missing my "unhide" on his box. This triggered me to write
> this post.
>
> Can anybody enlighten me?
>
> Christoph
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Folder Restriction

2013-05-02 Thread Anoop K Sharma
If you trying to restrict a folder by supplying a password that can only be
possible with any foreign application.
But if you trying to restrict a folder to a person logged on using
different user id on same or another machine connected to each other that
can be done by changing properties of a folder.

properties>Security> then select user to provide restriction type.

Regards,
Anoop
Sr. Developer


On Fri, May 3, 2013 at 11:32 AM, Pravin Gunjal  wrote:

> Hello,
>
> Is there anyway to give restriction to open a folder.
>
> Thanks,
> 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 http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Re: Hi Anoop

2013-05-03 Thread Anoop K Sharma
No prob bro...


On Fri, May 3, 2013 at 12:20 PM, Mathan  wrote:

> Hi Anoop,
>
> Just wanted to let you know the result of implementation of your effort.
> It saved 35 Hours per month..   :-)
>
> Thanks again !
>
> Mathan
>
>
>
>
> On Thu, May 2, 2013 at 12:47 PM, Mathan  wrote:
>
>> Hi Anoop,
>>
>> It's working fine. Thanks a lot ! :-)
>>
>> Your dedication is much appreciated !
>>
>> Regards,
>> Mathan
>>
>>
>> On Thu, May 2, 2013 at 8:58 AM, Anoop K Sharma wrote:
>>
>>> Try this... You can change code as per your requirement.
>>>
>>> Regards,
>>> Anoop
>>>
>>>
>>> On Wed, May 1, 2013 at 12:25 PM, Mathan  wrote:
>>>
>>>> Thanks a lot Anoop ! However I'm also trying from my end. :-)
>>>>
>>>>
>>>>
>>>> On Wed, May 1, 2013 at 7:26 AM, Anoop K Sharma 
>>>> wrote:
>>>>
>>>>> Mathan,
>>>>>
>>>>> I can guess what you are trying. Probably to get output in the format
>>>>> you had sent in image.
>>>>> I have written a code for that. Some changes are required in that..
>>>>> I'll come back to you once done with your new requirement.
>>>>>
>>>>> Thanks,
>>>>> Anoop
>>>>>
>>>>>
>>>>> On Wed, May 1, 2013 at 1:44 AM, Mathan  wrote:
>>>>>
>>>>>> Hi Anoop,
>>>>>>
>>>>>> Thanks a ton for your time and effort.
>>>>>>
>>>>>> I have also tried something basis your code. But it is incomplete. I
>>>>>> do not have that much knowledge.
>>>>>>
>>>>>> Thanks again !
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 11:49 AM, Anoop K Sharma <
>>>>>> aks.sharm...@gmail.com> wrote:
>>>>>>
>>>>>>> Ok, I have seen this one just after shooting my mail. Please check
>>>>>>> my previous one..
>>>>>>> I can make changes if that doesn't suit you.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Anoop
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Apr 25, 2013 at 12:16 PM, Mathan wrote:
>>>>>>>
>>>>>>>> Hi Anoop,
>>>>>>>>
>>>>>>>> I'm contacting you regarding the outlook help.
>>>>>>>>
>>>>>>>> Attached the most updated file where my requirements are clear.The
>>>>>>>> objective is to save the draft the composed mail.
>>>>>>>>
>>>>>>>> thanks a lot for your help. You can do it when yu have time. I will
>>>>>>>> wait for your solution.
>>>>>>>>
>>>>>>>> Thanks again.
>>>>>>>>
>>>>>>>> Mathan
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Anoop
>>>>>>> Sr. Developer
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Anoop
>>>>> Sr. Developer
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Anoop
>>> Sr. Developer
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allow

Re: $$Excel-Macros$$ Folder Restriction

2013-05-03 Thread Anoop K Sharma
You can restrict the first hand user (except administrator) by restricting
him instead of giving full control.



On Fri, May 3, 2013 at 12:27 PM, Pravin Gunjal  wrote:

> User Id will be the same...
>
> On Fri, May 3, 2013 at 11:45 AM, Anoop K Sharma wrote:
>
>> If you trying to restrict a folder by supplying a password that can only
>> be possible with any foreign application.
>> But if you trying to restrict a folder to a person logged on using
>> different user id on same or another machine connected to each other that
>> can be done by changing properties of a folder.
>>
>> properties>Security> then select user to provide restriction type.
>>
>> Regards,
>> Anoop
>> Sr. Developer
>>
>>
>> On Fri, May 3, 2013 at 11:32 AM, Pravin Gunjal  wrote:
>>
>>> Hello,
>>>
>>> Is there anyway to give restriction to open a folder.
>>>
>>> Thanks,
>>> 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 http://groups.google.com/group/excel-macros?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Anoop
>> Sr. Developer
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5

Re: $$Excel-Macros$$ Folder Restriction

2013-05-03 Thread Anoop K Sharma
Can you see check boxes below "Deny" Title on above screenshot provided by
Abhishek. Select a user from above list (here - Administrator, Guests etc)
in "Group or Username" category and check the boxes against the controls
mentioned in "Permissions for Administrators" Category. You can't restrict
a user on read only mode for Audio/Vedio files as they get corrupted.




On Fri, May 3, 2013 at 1:39 PM, Prabhu Pinky  wrote:

> Hi pravin...while saving the file you can see the tools option, you can
> give password to open, read the file..
>
> Prabhu R
> On May 3, 2013 11:33 AM, "Pravin Gunjal"  wrote:
>
>> Hello,
>>
>> Is there anyway to give restriction to open a folder.
>>
>> Thanks,
>> 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 http://groups.google.com/group/excel-macros?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ push value from Access

2013-05-07 Thread Anoop K Sharma
Try this

Sub proc_FindDate()
Set rng = Sheet1.Range("A1:A" & Sheet1.Range("A65000").End(xlUp).Row)
myVal = "N/A"
With rng
Set fndVal = .Find(myVal, LookIn:=xlValues) 'myVal is the date
to be found
If Not fndVal Is Nothing Then
frstAdd = fndVal.Address
Do
fndVal.Offset(0, 1).Value = myVal
Set fndVal = .FindNext(fndVal)
Loop While Not fndVal Is Nothing And frstAdd <> fndVal.Address
Else
MsgBox "No item found"
Exit Sub
End If
End With
End Sub

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ VBA for Dynamic Range

2013-05-20 Thread Anoop K Sharma
It's working fine at my end, yet you can change the line from
"RefersToR1C1" to "RefersTo" as below

ActiveWorkbook.Names.Add Name:=sName, RefersTo:= _
"=OFFSET(" & Sht & "!R2C" & Col & ",0,0,COUNTA(" & Sht & "!C" & Col
& ")-1," & ColCount & ")"


On Fri, May 17, 2013 at 7:50 AM, Cab Boose  wrote:

> Hi
>
> Have this macro to take the
> See code below.  Comes up with compile error on the last row:
> ActiveWorkbook..
>
> Is it something to do in not having the sheet name ? If so it would have
> to be taken from the tab. (I now see it is referenced as sht.)
>
> or  Is it something to do with the R1C1 references. I have not used the
> R1C1 reference before, but it appears to be ok.
>
> Any comments? Thanks
> Charlie Harris
> Sub DynamicNames_MultiCol()
>
>   Dim ColCount As Long
>   Dim LabelRow As Long
>   Dim Col As Long
>   Dim sName As String
>   Dim c As Range
>   Dim Sht As String
>
>   'assign row and column parameters
>   '**adjust for the row containing your headings
>   LabelRow = 1
>   ColCount = Selection.Columns.Count
>
>   'grab sheet name
>   Sht = "'" & ActiveSheet.Name & "'"
>
>Col = ActiveCell.Column
> sName = ActiveCell.Value
> If Len(sName) > 1 Then
>   'replace spaces with underscores
>   sName = Replace(sName, " ", "_", 1)
>   'create the name
>   ActiveWorkbook.Names.Add Name:=sName, RefersToR1C1:= _
> "=OFFSET(" & Sht & "!R2C" & Col & ",0,0,COUNTA(" & Sht & "!C" &
> Col & ")-1," & ColCount & ")"
> End If
> End Sub
>
>
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ writing of excel macro

2013-05-27 Thread Anoop K Sharma
Approach Noorain Ansari


On Mon, May 27, 2013 at 12:42 PM, Rajesh Agarwal  wrote:

> Hello everyone
> I am from Delhi NCR area and want to learn macro excel. Is there any body
> in the region who can give me a hour or two hours time to understand it
> properly.
> Thanks in advance.
> Rgds
>
> --
> *Rajesh Kumar Agarwal*
> *9811063001*
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Need help

2013-06-20 Thread Anoop K Sharma
use conditional formatting.


On Thu, Jun 20, 2013 at 2:02 PM, thameem  wrote:

> Dear Members,
>
> plz help me to get formuale for high-lighting selected cells
> automatically, when value of one cell get 0 or 1 etc
>
>
> regards
> Thameem.M
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Need a Fastest way

2013-06-20 Thread Anoop K Sharma
I haven't studied above macro provided by De Premor, Nice work!.
You can make it better by collecting all the highlighted cells address in
different worksheet Or you can also use application.Goto "Reference".


On Thu, Jun 20, 2013 at 1:07 PM, De Premor  wrote:

> How about this macro, is this still to slow for your requirement ?
>
> Sub HiLightSelect()
> Dim HiSelect As String
> On Error Resume Next
> For Each i In Selection
> If Len(HiSelect) = 0 Then HiSelect = i.Address Else HiSelect =
> HiSelect & ", " & i.Address
> Next
> Cells(2, 5) = HiSelect
> End Sub
>
> Sub HiLightColor()
> Dim HiColor As String
> Range("B:B").Select
> For Each i In Selection
> If i.Interior.Color <> 16777215 Then '16777215 = White / None
> If Len(HiColor) = 0 Then HiColor = i.AddressLocal Else HiColor
> = HiColor & ", " & i.AddressLocal
> End If
> If i.Value2 = "" Then Exit For
> Next
> Cells(3, 5) = HiColor
> End Sub
>
>
>
> On 19/06/2013 19:28, rajan verma wrote:
>
>>
>> can anyone suggest a faster way to know which cells are highlighted in a
>> Range ?
>>
>> suppose i  have data of 1 lac cell and i have some cells highlighted , i
>> want to know address of that cells.
>>
>>
>>
>> --
>> Regards
>> Rajan verma
>> +91 9158998701
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/**discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to 
>> excel-macros+unsubscribe@**googlegroups.com
>> .
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at 
>> http://groups.google.com/**group/excel-macros
>> .
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out
>> .
>>
>>
>>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/**discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE  : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> --- You received this message because you are subscribed to the Google
> Groups "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
> excel-macros+unsubscribe@**googlegroups.com
> .
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at 
> http://groups.google.com/**group/excel-macros
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>
>
>


-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

Re: $$Excel-Macros$$ Files / Folders Sharing Query - reg.

2013-07-03 Thread Anoop K Sharma
If you right click on any folder and check its properties, there you can
see a security tab.
If you are an administrator or have administrator's right then you can
restrict your folder from unnecessary access. This can be done on the
folder in shared shared drive.


On Wed, Jul 3, 2013 at 5:27 PM, Pravin Gunjal  wrote:

> *Point No. 1*
>
> Please note, in my office computer I have stored a folder (which contains
> only “xlsb” files) in my roaming profile id; which need to be shared with
> some other colleagues in the same office. But there no privilege for
> sharing from one computer to another computer in our office.  Hence it can
> not be accessed from my computer to my colleagues computer,  as we are
> using Roaming Profiles in our office.
>
>
>
> Moreover, we have been given a common drive, which can be accessed by
> other users. If I put this folder in a common drive then other users can
> access it.  But we do not have any backup facility for common drive, and
> hence it is unsafe for using.
>
>
>
> OR
>
>
>
> *Point No. 2*
>
> If I put my folder in common drive to use others also, is it possible to
> make auto backup / auto updation somewhere in my computer’s desktop.
>
>
>
> Can I have good suggestions, how to share the folders / files, in this
> situation.  Thanks in advance.
>
>
>
> *With 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 http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Macro to remove a timestamp in a date

2013-07-03 Thread Anoop K Sharma
you can use = text(cell,"dd mmm "), this will give time in text format.


On Thu, Jul 4, 2013 at 3:17 AM, srsev6  wrote:

> Hi all,
>
> I have already posted this once but can not locate it so I apologize for
> the duplicate post.
>
>
> I hope someone can answer my question.  I run dates out of a database
> which uses access.  The dates I pull out have a timestamp.  The timestamp
> hinders my formulas in my excel spreadsheets.  I pull hundreds of dates at
> one time.  Is there a macro I can use in a template that will remove the
> timestamp from the date on a range of cells so I don't have to keep using
> =int(cell)?  I would like to create an excel template that has a command
> button I can click and run to remove the timestamp.
>
> Thank you all for your help.
>
> SRSEV6
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Files / Folders Sharing Query - reg.

2013-07-04 Thread Anoop K Sharma
Ok, you can do one thing.. SaveAs your Excel File. While doing this, you
see a dialog box. Click on "Tool" drop down near "Save" button and select
"General Option". In "General Option" dialog box, check on "Always create
backup"...supply password (if you think it is required). Hide this back up
file by changing its properties. This will keep creating backup file in
same folder where your original one is located but it can't be seen as you
will hide it.


On Thu, Jul 4, 2013 at 10:21 AM, Pravin Gunjal  wrote:

> Hi Anoop
>
> I do not want to restrict my folder from unnecessary access instead I want
> it to be used by others.
>
> Regards
> Pravin Gunjal.
>
> -- Forwarded message --
> From: Anoop K Sharma 
> Date: Thu, Jul 4, 2013 at 5:36 AM
> Subject: Re: $$Excel-Macros$$ Files / Folders Sharing Query - reg.
> To: excel-macros@googlegroups.com
>
>
> If you right click on any folder and check its properties, there you can
> see a security tab.
> If you are an administrator or have administrator's right then you can
> restrict your folder from unnecessary access. This can be done on the
> folder in shared shared drive.
>
>
> On Wed, Jul 3, 2013 at 5:27 PM, Pravin Gunjal  wrote:
>
>> *Point No. 1*
>>
>> Please note, in my office computer I have stored a folder (which contains
>> only “xlsb” files) in my roaming profile id; which need to be shared with
>> some other colleagues in the same office. But there no privilege for
>> sharing from one computer to another computer in our office.  Hence it can
>> not be accessed from my computer to my colleagues computer,  as we are
>> using Roaming Profiles in our office.
>>
>>
>>
>> Moreover, we have been given a common drive, which can be accessed by
>> other users. If I put this folder in a common drive then other users can
>> access it.  But we do not have any backup facility for common drive, and
>> hence it is unsafe for using.
>>
>>
>>
>> OR
>>
>>
>>
>> *Point No. 2*
>>
>> If I put my folder in common drive to use others also, is it possible to
>> make auto backup / auto updation somewhere in my computer’s desktop.
>>
>>
>>
>> Can I have good suggestions, how to share the folders / files, in this
>> situation.  Thanks in advance.
>>
>>
>>
>> *With 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 http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Regards,
> Anoop
> Sr. Developer
> Facebook ID - https://www.facebook.com/anooop.k.sharma
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allow

Re: $$Excel-Macros$$ Files / Folders Sharing Query - reg.

2013-07-04 Thread Anoop K Sharma
VBA...given good idea..I havn't tried it. Yet, you can write below code. It
will SaveAs your backup file automatically every time you close your main
workbook to the destination of your choice by overwriting previous one.
Just copy and paste below in "ThisWorkbook" module. Change the path
highlighted below.

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
'Saves the current file to a backup folder and the default folder
'Note that any backup is overwritten
Application.DisplayAlerts = False
ActiveWorkbook.SaveCopyAs FileName:="C:\Anoop\" &
ActiveWorkbook.Name  'You Can Change path here to the backup file
ActiveWorkbook.Save
Application.DisplayAlerts = True
End Sub

Anoop
Sr. Developer


On Thu, Jul 4, 2013 at 8:04 PM, vba  wrote:

> hey
>
> PFA attach file with macro to backup folder.
>
> Thanks!!
>
>
> On Thu, Jul 4, 2013 at 6:09 PM, Pravin Gunjal  wrote:
>
>> Can I get some more suggestions on this topic..  Thanks.
>>
>> Regards
>> Pravin Gunjal.
>>
>> -- Forwarded message --
>> From: Pravin Gunjal 
>> Date: Thu, Jul 4, 2013 at 2:14 PM
>> Subject: Fwd: $$Excel-Macros$$ Files / Folders Sharing Query - reg.
>> To: excel-macros@googlegroups.com
>>
>>
>> Hi Anoop,
>>
>> Thank you for valuable information.  Is there any option to create a
>> back-up / auto up-dation in some other location, and not in the same folder.
>>
>> Regards
>> Pravin Gunjal.
>>
>> -- Forwarded message --
>> From: Anoop K Sharma 
>>  Date: Thu, Jul 4, 2013 at 1:28 PM
>> Subject: Re: $$Excel-Macros$$ Files / Folders Sharing Query - reg.
>> To: excel-macros@googlegroups.com
>>
>>
>>  Ok, you can do one thing.. SaveAs your Excel File. While doing this, you
>> see a dialog box. Click on "Tool" drop down near "Save" button and select
>> "General Option". In "General Option" dialog box, check on "Always create
>> backup"...supply password (if you think it is required). Hide this back up
>> file by changing its properties. This will keep creating backup file in
>> same folder where your original one is located but it can't be seen as you
>> will hide it.
>>
>>
>> On Thu, Jul 4, 2013 at 10:21 AM, Pravin Gunjal  wrote:
>>
>>> Hi Anoop
>>>
>>> I do not want to restrict my folder from unnecessary access instead I
>>> want it to be used by others.
>>>
>>> Regards
>>> Pravin Gunjal.
>>>
>>> -- Forwarded message --
>>> From: Anoop K Sharma 
>>> Date: Thu, Jul 4, 2013 at 5:36 AM
>>> Subject: Re: $$Excel-Macros$$ Files / Folders Sharing Query - reg.
>>> To: excel-macros@googlegroups.com
>>>
>>>
>>>  If you right click on any folder and check its properties, there you
>>> can see a security tab.
>>> If you are an administrator or have administrator's right then you can
>>> restrict your folder from unnecessary access. This can be done on the
>>> folder in shared shared drive.
>>>
>>>
>>> On Wed, Jul 3, 2013 at 5:27 PM, Pravin Gunjal  wrote:
>>>
>>>> *Point No. 1*
>>>>
>>>> Please note, in my office computer I have stored a folder (which
>>>> contains only “xlsb” files) in my roaming profile id; which need to be
>>>> shared with some other colleagues in the same office. But there no
>>>> privilege for sharing from one computer to another computer in our office.
>>>> Hence it can not be accessed from my computer to my colleagues computer,
>>>>  as we are using Roaming Profiles in our office.
>>>>
>>>>
>>>>
>>>> Moreover, we have been given a common drive, which can be accessed by
>>>> other users. If I put this folder in a common drive then other users can
>>>> access it.  But we do not have any backup facility for common drive, and
>>>> hence it is unsafe for using.
>>>>
>>>>
>>>>
>>>> OR
>>>>
>>>>
>>>>
>>>> *Point No. 2*
>>>>
>>>> If I put my folder in common drive to use others also, is it possible
>>>> to make auto backup / auto updation somewhere in my computer’s desktop.
>>>>
>>>>
>>>>
>>>> Can I have good suggestions, how to share the folders / files, in this
>>>> situation.  Thanks in advance.
>>>>
>

Re: $$Excel-Macros$$ Macro to remove a timestamp in a date

2013-07-11 Thread Anoop K Sharma
Please share your file mentioning all your requirements..I'll try..

On 7/8/13, srsev6  wrote:
> Thank you Enrique.  How do I set this up in a code to be able to use in a
> command button?
>
> I am familiar with codes in visual basic but not an expert by any means in
> writing them.
>
>
>
>
> On Wednesday, July 3, 2013 7:15:00 PM UTC-5, Enrique Martin wrote:
>
>> you can use = text(cell,"dd mmm "), this will give time in text
>> format.
>>
>>
>> On Thu, Jul 4, 2013 at 3:17 AM, srsev6 > >wrote:
>>
>>> Hi all,
>>>
>>> I have already posted this once but can not locate it so I apologize for
>>>
>>> the duplicate post.
>>>
>>>
>>> I hope someone can answer my question.  I run dates out of a database
>>> which uses access.  The dates I pull out have a timestamp.  The timestamp
>>>
>>> hinders my formulas in my excel spreadsheets.  I pull hundreds of dates
>>> at
>>> one time.  Is there a macro I can use in a template that will remove the
>>>
>>> timestamp from the date on a range of cells so I don't have to keep using
>>>
>>> =int(cell)?  I would like to create an excel template that has a command
>>>
>>> button I can click and run to remove the timestamp.
>>>
>>> Thank you all for your help.
>>>
>>> SRSEV6
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>>>
>>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>>
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>>
>>> "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>
>>> email to excel-macros...@googlegroups.com .
>>> To post to this group, send email to
>>> excel-...@googlegroups.com
>>> .
>>> Visit this group at http://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Anoop
>> Sr. Developer
>> Facebook ID - https://www.facebook.com/anooop.k.sharma
>>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
> not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE  : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" gro

Re: $$Excel-Macros$$ Modify VBA code that finds and copies all rows containing criteria.

2013-07-31 Thread Anoop K Sharma
Hi Tom,

please change the line
If c.Value = sAsset Then
to
If c.Value = sAsset and c.Offset(0,1).Value = ws2.Range("E5") And
c.Offset(0,2).Value=ws2.Range("G5") Then

If it doesn't work then share your file...


On Thu, Aug 1, 2013 at 4:36 AM, Tom Board  wrote:

> I have a range of data that has 5 columns P:T, (Asset No, Part No, Lot No,
> Date/time stamp and User ID) and up to 3000 rows, for now. I have Command
> Button with code that works fine for retrieving all rows that have a
> specified asset numbers (Input cell C5).**
>
> I just want to include Buttons with the same code but modified for
> reviving Part number and Lot number criteria, each having its own input
> cell (E5, and G5) using their own command button.
> Here is the good code for Asset number search/retrieval:
> **
> Private Sub CommandButton1_Click()
> Dim ws1 As Worksheet, ws2 As Worksheet
> Dim rg As Range, c As Range
> Dim sAsset As String, sFrom As String, sEnd As String
>
> Application.ScreenUpdating = False
> Set ws2 = Sheets("QC Raw Material")
> Set ws1 = Sheets("QCRM Usage")
> Set rg = ws2.Range("P5:P3000") 'range with data
> sAsset = ws2.Range("C5") 'asset no
> sFrom = ws2.Range("C28") 'date from
> sEnd = ws2.Range("G28") 'date end
> For Each c In rg
> If c.Value = sAsset Then
> If c.Offset(0, 4) > sFrom And c.Offset(0, 4) < sEnd Then
> c.Resize(1, 5).Copy ws1.Range("A6").End(xlUp).Offset(1, 0) 'copy to
> ws1
> End If
> End If
> Next c
> Application.ScreenUpdating = True
> End Sub
>
>
> **
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Maintaining format when pasting data into a template

2013-08-01 Thread Anoop K Sharma
You can change your code line where there is copy criteria as given below
Make sure to change sheet and range references accordingly

Sheet2.Range("C24").Copy
Sheet2.Range("C25").PasteSpecial xlPasteValues, xlPasteSpecialOperationNone


On Fri, Aug 2, 2013 at 6:01 AM, Steve Weaver wrote:

>
>
> I use the attached worksheet to copy specific data from the “InputData”
> tab into the appropriate “Rep 02, Rep 03, or Rep 05” tab. However, I do not
> want to change the format (e.g., column height or width, headings, etc.) as
> shown on the “Rep Template” tab. I simply want to paste the appropriate
> values using the existing macro.**
>
> ** **
>
> Is it possible to modify the existing macro to accomplish this?
>
> ** **
>
> Thanks!
>
> ** **
>
> 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 http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ charting without data?

2013-08-04 Thread Anoop K Sharma
Yes, You can make a chart by using a sample of data but the reading of
chart is of no use as it won't show the right picture.


On Sun, Aug 4, 2013 at 7:14 AM, olivia destandau
wrote:

> Hi all,
> I have had a request that I don't know if I can fulfill... I have been
> given pictures of graphs of varying styles and asked if I can recreate
> them. The issue is that I don't have the excel files with the data.
> Can this be done?
> Thanks in advance for any advise...
> Olivia
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Macro that will leave data and new data from query when ran

2013-08-07 Thread Anoop K Sharma
Replace your code with below one... This will be great if you could provide
your original file.


Dim state As String

Dim startdate As String

Dim enddate As String, Erow as long





Sub btn1_click()

   state = Me.Cells(3, 3)

   startdate = Me.Cells(4, 3)

   enddate = Me.Cells(5, 3)

   MsgBox " Input parameters - State = " & state & " Date =" & startdate &
" to " & enddate

   *Erow=Me.range("A1").End(xlDown).row+1*

   MsgBox " Depending on the volume of data, this report would take 5-10
minutes to fetch results", vbInformation

   callDB

End Sub



Sub callDB()

On Error GoTo ErrHandler



Dim con As ADODB.Connection

Dim rs As ADODB.Recordset

Dim query As String

Dim strqry As String

Dim txt As String

Dim row As Integer

Dim col As Integer



Set con = CreateObject("ADODB.Connection")

Set rs = CreateObject("ADODB.Recordset")



strCon = "Provider=OraOLEDB.Oracle;Data Source=enCPR2;User
Id=***;Password=***!!"



con.ConnectionString = strCon

con.Open





strqry = strqry & " SELECT "

strqry = strqry & " DATES, "



rs.Open strqry, con



If Not rs.EOF Then

rs.MoveFirst

End If

row = 14

col = 2

Do While Not rs.EOF



 For I = 0 To rs.Fields.Count - 1

   Me.Cells(Erow, col) = rs.Fields(I)

   col = col + 1

 Next I

 Erow = Erow + 1

 col = 2

 rs.MoveNext

Loop



ExitHandler:

rs.Close

con.Close

Set rs = Nothing

Set con = Nothing

MsgBox "Report generation is completed"
Exit Sub


On Thu, Aug 8, 2013 at 12:54 AM, christy palmer wrote:

> I have a macro that works perfectly except for everytime it's ran it wipes
> the spreadsheet clean and inserts the new values. I need it to insert the
> new data while leaving the old data without giving me a stackover flow
> error :-/ Any help would be greatly appreciated.
>
>
> Dim state As String**
>
> Dim startdate As String
>
> Dim enddate As String
>
> ** **
>
> ** **
>
> Sub btn1_click()
>
>state = Me.Cells(3, 3)
>
>startdate = Me.Cells(4, 3)
>
>enddate = Me.Cells(5, 3)
>
>MsgBox " Input parameters - State = " & state & " Date =" & startdate
> & " to " & enddate
>
>For row = 14 To 100
>
>  For col = 2 To 100
>
>Me.Cells(row, col) = ""
>
>  Next col
>
>Next row
>
>MsgBox " Depending on the volume of data, this report would take 5-10
> minutes to fetch results", vbInformation
>
>callDB
>
> End Sub
>
> ** **
>
> Sub callDB()
>
> On Error GoTo ErrHandler
>
> ** **
>
> Dim con As ADODB.Connection
>
> Dim rs As ADODB.Recordset
>
> Dim query As String
>
> Dim strqry As String
>
> Dim txt As String
>
> Dim row As Integer
>
> Dim col As Integer
>
> ** **
>
> Set con = CreateObject("ADODB.Connection")
>
> Set rs = CreateObject("ADODB.Recordset")
>
> ** **
>
> strCon = "Provider=OraOLEDB.Oracle;Data Source=enCPR2;User
> Id=***;Password=***!!"
>
> ** **
>
> con.ConnectionString = strCon
>
> con.Open
>
> ** **
>
> ** **
>
> strqry = strqry & " SELECT "
>
> strqry = strqry & " DATES, "
>
> ** **
>
> rs.Open strqry, con
>
> ** **
>
> If Not rs.EOF Then
>
> rs.MoveFirst
>
> End If
>
> row = 14
>
> col = 2
>
> Do While Not rs.EOF
>
> ** **
>
>  For I = 0 To rs.Fields.Count - 1
>
>Me.Cells(row, col) = rs.Fields(I)
>
>col = col + 1
>
>  Next I
>
>  row = row + 1
>
>  col = 2
>
>  rs.MoveNext
>
> Loop
>
> ** **
>
> ExitHandler:
>
> rs.Close
>
> con.Close
>
> Set rs = Nothing
>
> Set con = Nothing
>
> MsgBox "Report generation is completed"
>
> Exit Sub
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,
Anoop
Sr. De

Re: $$Excel-Macros$$ Macro that will leave data and new data from query when ran

2013-08-09 Thread Anoop K Sharma
Hey,

Use the Attached one... I can see the code written here a little bit
slow... it can be made faster if I could get your database
structure...

Thanks,
Anoop
Sr. Developer

On 8/9/13, Lalit Mohan Pandey  wrote:
> Replace line
>
> *Erow = Me.Range(A1).End(xlDown).row + 1*
>
> with this one
>
> *If LenB(Trim(Me.Cells(13, 2).Value)) = 0 Then Me.Cells(13, 2).Value =
> "DATES"*
> *Erow = Me.Cells(Me.Rows.Count, 2).End(xlUp).Offset(1).row*
>
> If it will not work then you need to share your database as well so that we
>
> can run this utility.
>
> On Thursday, 8 August 2013 21:59:19 UTC+5:30, christy palmer wrote:
>>
>> the same thing happens. the data is over written. using your code i do not
>>
>> get an overflow error :-) but i still can't get the data to add rather
>> than
>> replace :-(
>>
>> On Wed, Aug 7, 2013 at 6:13 PM, Anoop K Sharma
>> >
>> wrote:
>> >
>> > Replace your code with below one... This will be great if you could
>> provide your original file.
>> >
>> >
>> > Dim state As String
>> >
>> > Dim startdate As String
>> >
>> > Dim enddate As String, Erow as long
>> >
>> >
>> >
>> >
>> >
>> > Sub btn1_click()
>> >
>> >state = Me.Cells(3, 3)
>> >
>> >startdate = Me.Cells(4, 3)
>> >
>> >enddate = Me.Cells(5, 3)
>> >
>> >MsgBox " Input parameters - State = " & state & " Date =" & startdate
>> >
>> & " to " & enddate
>> >
>> >Erow=Me.range("A1").End(xlDown).row+1
>> >
>> >MsgBox " Depending on the volume of data, this report would take 5-10
>> >
>> minutes to fetch results", vbInformation
>> >
>> >callDB
>> >
>> > End Sub
>> >
>> >
>> >
>> > Sub callDB()
>> >
>> > On Error GoTo ErrHandler
>> >
>> >
>> >
>> > Dim con As ADODB.Connection
>> >
>> > Dim rs As ADODB.Recordset
>> >
>> > Dim query As String
>> >
>> > Dim strqry As String
>> >
>> > Dim txt As String
>> >
>> > Dim row As Integer
>> >
>> > Dim col As Integer
>> >
>> >
>> >
>> > Set con = CreateObject("ADODB.Connection")
>> >
>> > Set rs = CreateObject("ADODB.Recordset")
>> >
>> >
>> >
>> > strCon = "Provider=OraOLEDB.Oracle;Data Source=enCPR2;User
>> Id=***;Password=***!!"
>> >
>> >
>> >
>> > con.ConnectionString = strCon
>> >
>> > con.Open
>> >
>> >
>> >
>> >
>> >
>> > strqry = strqry & " SELECT "
>> >
>> > strqry = strqry & " DATES, "
>> >
>> >
>> >
>> > rs.Open strqry, con
>> >
>> >
>> >
>> > If Not rs.EOF Then
>> >
>> > rs.MoveFirst
>> >
>> > End If
>> >
>> > row = 14
>> >
>> > col = 2
>> >
>> > Do While Not rs.EOF
>> >
>> >
>> >
>> >  For I = 0 To rs.Fields.Count - 1
>> >
>> >Me.Cells(Erow, col) = rs.Fields(I)
>> >
>> >col = col + 1
>> >
>> >  Next I
>> >
>> >  Erow = Erow + 1
>> >
>> >  col = 2
>> >
>> >  rs.MoveNext
>> >
>> > Loop
>> >
>> >
>> >
>> > ExitHandler:
>> >
>> > rs.Close
>> >
>> > con.Close
>> >
>> > Set rs = Nothing
>> >
>> > Set con = Nothing
>> >
>> > MsgBox "Report generation is completed"
>> >
>> > Exit Sub
>> >
>> >
>> > On Thu, Aug 8, 2013 at 12:54 AM, christy palmer
>> > >
>> wrote:
>> >>
>> >> I have a macro that works perfectly except for everytime it's ran it
>> wipes the spreadsheet clean and inserts the new values. I need it to
>> insert
>> the new data while leaving the old data without giving me a stackover flow
>>
>> error :-/ Any help would be greatly appreciated.
>> >>
>> >>
>> >> Dim state As String
>> >>
>> >> Dim startdate As String
>> >

Re: $$Excel-Macros$$ MS Access Group

2013-08-10 Thread Anoop K Sharma
Join such groups on FB

On 8/10/13, Kaushal Kumar  wrote:
> Hi All,
>
> Is there any such group for MS Access and SAS as well ?
> Rgds, Kaushal
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
> not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE  : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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




Re: $$Excel-Macros$$ Opening only file in folder

2013-09-04 Thread Anoop K Sharma
Replace your code with below one

openFile = Application.GetOpenFilename
Workbooks.Open (openFile)


On Wed, Sep 4, 2013 at 9:39 PM, ashish koul  wrote:

> are thr multiple files in the folder
>
>
> On Wed, Sep 4, 2013 at 1:39 PM, Jorge Marques wrote:
>
>> Hi guys,
>>
>> I have this macro to open a excel file in a specific folder, I now want
>> to do the same in another folder, but the problem is that the file is
>> always changing name.
>>
>> Set oWSHShell = CreateObject("WScript.Shell")
>> OpenFile = oWSHShell.SpecialFolders("Desktop") & "\Logi Macro
>> Project\VEEE\week_to_date-export.xls"
>> Set oWSHShell = Nothing
>> Workbooks.Open Filename:=OpenFile
>>
>> It will be filename "monthly report" and inside will only be one file. Is
>> is possible to have Macro to open that only file in the folder? Thank you
>>
>> --
>> Best Regards,
>> Jorge Marques
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> *Regards*
> * *
> *Ashish Koul*
>
>
> *Visit*
> *My Excel Blog *
> Like Us on 
> Facebook
> Join Us on Facebook 
>
>
> P Before printing, think about the environment.
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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

Re: $$Excel-Macros$$ Beta.dist in Excel

2013-09-11 Thread Anoop K Sharma
Please check the below link.

http://www.techonthenet.com/excel/formulas/betadist.php


On Wed, Sep 11, 2013 at 7:24 PM, Sudeshna Sen  wrote:

> Hi,
>
> I've been trying to understand how the Beta.dist function works in MS
> Excel. The MS Office help says that Beta.dist returns the beta cumulative
> distribution function. The FALSE of the function gives the probability
> density function while the TRUE give the cumulative distribution function.
>
> However, am getting the the value of the PDF using this function to be
> 101.85% and 12741.07% considering x to be 49% and 50% respectively. So, the
> area under the PDF > 100% which seems absurd. My alpha = 16995.922 and beta
> = 17095.415.
>
> When I take the CDF using the function am getting 0.08% and 70.50% for 49%
> and 50% respectively. If I calculate the PDF at 50%, it comes to 70.42% and
> the area under my curve sums upto 100%.
>
> Could anyone please help? Kind of urgent!
>
> sudeshna
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ RecordSet ADO get the 20th record

2013-09-16 Thread Anoop K Sharma
Make a query as "Select Top 20 From " in case you need a
20th record without changing your records order.

but if you want the 20th record after sorting your data in ascending order
then make following query "Select Top 20 From  order by
"

In case you need the 20th record after sorting data in descending order
then use the following one "Select Top 20 From  order by
 DESC"

In case you want to call any of these queries by ADO then create queryDef
object.


On Mon, Sep 16, 2013 at 7:33 PM, Michael Pablo wrote:

>
>
> Hello Everbody!
>
> I would like to ask help with this duty,  I don't Know how to get the 20th
> records from a record set. I tried with the While Clausule but I fail.
>
> And I don't Know if you can help me about that too because it is more a
> doubt SQL, where I divide by 1000 the registers but I aways get a Error, I
> don't Know Why because in access the Query works perfectly.
>
> Best Regards,
>
> *Michael*
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Formula: Count

2013-09-17 Thread Anoop K Sharma
Check the Attachment...


On Tue, Sep 17, 2013 at 8:45 PM, ashish koul  wrote:

> xy1? what does this mean  do you want to count RS with point 1 and so on
>
> Regards
> Ashish
>
>
> On Tue, Sep 17, 2013 at 5:59 PM, Chandra Shekar <
> chandrashekarb@gmail.com> wrote:
>
>> Hello,
>>
>> I need formula to count no of points based on condtion please find
>> attached file.
>>
>> Thanks,
>>
>> Chandra
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> *Regards*
> * *
> *Ashish Koul*
>
>
> *Visit*
> *My Excel Blog *
> Like Us on 
> Facebook
> Join Us on Facebook 
>
>
> P Before printing, think about the environment.
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Copy of MultiCount.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ RecordSet ADO get the 20th record

2013-09-18 Thread Anoop K Sharma
I hope the below one works good to you... pls check

SELECT TOP 1 * FROM MIDASQ12013
WHERE MIDASQ12013.COUNTRY IN (SELECT TOP 20 MIDASQ12013.COUNTRY,
MIDASQ12013.ATC3_COD, Sum(MIDASQ12013.EUR_2008) AS KEUR08,
Sum(MIDASQ12013.EUR_2009) AS KEUR09, Sum(MIDASQ12013.EUR_2010) AS KEUR10,
Sum(MIDASQ12013.EUR_2011) AS KEUR11, Sum(MIDASQ12013.EUR_2012) AS KEUR12,
Sum(MIDASQ12013.EUR_2013) AS KEUR13, Sum(MIDASQ12013.UN_2008) AS KUN08,
Sum(MIDASQ12013.UN_2009) AS KUN09, Sum(MIDASQ12013.UN_2010) AS KUN10,
Sum(MIDASQ12013.UN_2011) AS KUN11, Sum(MIDASQ12013.UN_2012) AS KUN12,
Sum(MIDASQ12013.UN_2013) AS KUN13
FROM MIDASQ12013
GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
HAVING (((MIDASQ12013.PAIS)="brazil retail"))
ORDER BY Sum(MIDASQ12013.EUR_2013))
ORDER BY MIDASQ12013.COUNTRY DESC;


On Thu, Sep 19, 2013 at 12:12 AM, Michael Pablo wrote:

> Hello Enrique Martin,
>
> I have been attempted this query:
>
> SELECT MIDASQ12013.COUNTRY, MIDASQ12013.ATC3_COD,
> Sum(MIDASQ12013.EUR_2008) AS KEUR08, Sum(MIDASQ12013.EUR_2009) AS KEUR09,
> Sum(MIDASQ12013.EUR_2010) AS KEUR10, Sum(MIDASQ12013.EUR_2011) AS KEUR11,
> Sum(MIDASQ12013.EUR_2012) AS KEUR12, Sum(MIDASQ12013.EUR_2013) AS KEUR13,
> Sum(MIDASQ12013.UN_2008) AS KUN08, Sum(MIDASQ12013.UN_2009) AS KUN09,
> Sum(MIDASQ12013.UN_2010) AS KUN10, Sum(MIDASQ12013.UN_2011) AS KUN11,
> Sum(MIDASQ12013.UN_2012) AS KUN12, Sum(MIDASQ12013.UN_2013) AS KUN13
> FROM MIDASQ12013
> GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
> HAVING (((MIDASQ12013.PAIS)="brazil retail"))
> ORDER BY Sum(MIDASQ12013.EUR_2013) DESC
>
> Ok, I am not experienced about ADO or DAO and how to utilize one or other.
> But in this case ADO can account this query? Because maybe this can be a
> barrier about execute this query in my VBA code.
>
> Thanks and Regards,
>
> *Michael*
>
> Em segunda-feira, 16 de setembro de 2013 22h44min29s UTC-3, Enrique Martin
> escreveu:
>>
>> Make a query as "Select Top 20 From " in case you need a
>> 20th record without changing your records order.
>>
>> but if you want the 20th record after sorting your data in ascending
>> order then make following query "Select Top 20 From  order
>> by "
>>
>> In case you need the 20th record after sorting data in descending order
>> then use the following one "Select Top 20 From  order by
>>  DESC"
>>
>> In case you want to call any of these queries by ADO then create queryDef
>> object.
>>
>>
>> On Mon, Sep 16, 2013 at 7:33 PM, Michael Pablo wrote:
>>
>>>
>>>
>>> Hello Everbody!
>>>
>>> I would like to ask help with this duty,  I don't Know how to get the
>>> 20th records from a record set. I tried with the While Clausule but I fail.
>>>
>>> And I don't Know if you can help me about that too because it is more a
>>> doubt SQL, where I divide by 1000 the registers but I aways get a Error, I
>>> don't Know Why because in access the Query works perfectly.
>>>
>>> Best Regards,
>>>
>>> *Michael*
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/**discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to excel-macros...@**googlegroups.com.
>>> To post to this group, send email to excel-...@googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/excel-macros
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>
>>
>>
>> --
>> Regards,
>> Anoop
>> Sr. Developer
>> Facebook ID - 
>> https://www.facebook.com/**anooop.k.sharma
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question 

Re: $$Excel-Macros$$ RecordSet ADO get the 20th record

2013-09-19 Thread Anoop K Sharma
can you share your access database?


On Thu, Sep 19, 2013 at 10:40 PM, Michael Pablo wrote:

> Hi Enrique,
>
> I've attempted this Query but I didn't get results. They return this
> advertence, saying that I need to use the clausule EXISTS.
>
> SELECT TOP 1 * FROM MIDASQ12013
> WHERE MIDASQ12013.PAIS EXISTS (SELECT TOP 20 MIDASQ12013.PAIS,
> MIDASQ12013.ATC3_COD, Sum(MIDASQ12013.EUR_2008) AS KEUR08,
> Sum(MIDASQ12013.EUR_2009) AS KEUR09, Sum(MIDASQ12013.EUR_2010) AS KEUR10,
> Sum(MIDASQ12013.EUR_2011) AS KEUR11, Sum(MIDASQ12013.EUR_2012) AS KEUR12,
> Sum(MIDASQ12013.EUR_2013) AS KEUR13, Sum(MIDASQ12013.UN_2008) AS KUN08,
> Sum(MIDASQ12013.UN_2009) AS KUN09, Sum(MIDASQ12013.UN_2010) AS KUN10,
> Sum(MIDASQ12013.UN_2011) AS KUN11, Sum(MIDASQ12013.UN_2012) AS KUN12,
> Sum(MIDASQ12013.UN_2013) AS KUN13
> FROM MIDASQ12013
> GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
> HAVING (((MIDASQ12013.PAIS)="BRAZIL RETAIL"))
> ORDER BY Sum(MIDASQ12013.EUR_2013))
> ORDER BY MIDASQ12013.COUNTRY DESC;
>
> Thanks,
>
> *Michael*
>
>
>
> Em quinta-feira, 19 de setembro de 2013 00h10min28s UTC-3, Enrique Martin
> escreveu:
>>
>> I hope the below one works good to you... pls check
>>
>> SELECT TOP 1 * FROM MIDASQ12013
>> WHERE MIDASQ12013.COUNTRY IN (SELECT TOP 20 MIDASQ12013.COUNTRY,
>> MIDASQ12013.ATC3_COD, Sum(MIDASQ12013.EUR_2008) AS KEUR08,
>> Sum(MIDASQ12013.EUR_2009) AS KEUR09, Sum(MIDASQ12013.EUR_2010) AS KEUR10,
>> Sum(MIDASQ12013.EUR_2011) AS KEUR11, Sum(MIDASQ12013.EUR_2012) AS KEUR12,
>> Sum(MIDASQ12013.EUR_2013) AS KEUR13, Sum(MIDASQ12013.UN_2008) AS KUN08,
>> Sum(MIDASQ12013.UN_2009) AS KUN09, Sum(MIDASQ12013.UN_2010) AS KUN10,
>> Sum(MIDASQ12013.UN_2011) AS KUN11, Sum(MIDASQ12013.UN_2012) AS KUN12,
>> Sum(MIDASQ12013.UN_2013) AS KUN13
>> FROM MIDASQ12013
>> GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
>> HAVING (((MIDASQ12013.PAIS)="brazil retail"))
>> ORDER BY Sum(MIDASQ12013.EUR_2013))
>> ORDER BY MIDASQ12013.COUNTRY DESC;
>>
>>
>> On Thu, Sep 19, 2013 at 12:12 AM, Michael Pablo wrote:
>>
>>> Hello Enrique Martin,
>>>
>>> I have been attempted this query:
>>>
>>> SELECT MIDASQ12013.COUNTRY, MIDASQ12013.ATC3_COD,
>>> Sum(MIDASQ12013.EUR_2008) AS KEUR08, Sum(MIDASQ12013.EUR_2009) AS KEUR09,
>>> Sum(MIDASQ12013.EUR_2010) AS KEUR10, Sum(MIDASQ12013.EUR_2011) AS KEUR11,
>>> Sum(MIDASQ12013.EUR_2012) AS KEUR12, Sum(MIDASQ12013.EUR_2013) AS KEUR13,
>>> Sum(MIDASQ12013.UN_2008) AS KUN08, Sum(MIDASQ12013.UN_2009) AS KUN09,
>>> Sum(MIDASQ12013.UN_2010) AS KUN10, Sum(MIDASQ12013.UN_2011) AS KUN11,
>>> Sum(MIDASQ12013.UN_2012) AS KUN12, Sum(MIDASQ12013.UN_2013) AS KUN13
>>> FROM MIDASQ12013
>>> GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
>>> HAVING (((MIDASQ12013.PAIS)="brazil retail"))
>>> ORDER BY Sum(MIDASQ12013.EUR_2013) DESC
>>>
>>> Ok, I am not experienced about ADO or DAO and how to utilize one or
>>> other. But in this case ADO can account this query? Because maybe this can
>>> be a barrier about execute this query in my VBA code.
>>>
>>> Thanks and Regards,
>>>
>>> *Michael*
>>>
>>> Em segunda-feira, 16 de setembro de 2013 22h44min29s UTC-3, Enrique
>>> Martin escreveu:

 Make a query as "Select Top 20 From " in case you need
 a 20th record without changing your records order.

 but if you want the 20th record after sorting your data in ascending
 order then make following query "Select Top 20 From  order
 by "

 In case you need the 20th record after sorting data in descending order
 then use the following one "Select Top 20 From  order by
  DESC"

 In case you want to call any of these queries by ADO then create
 queryDef object.


 On Mon, Sep 16, 2013 at 7:33 PM, Michael Pablo wrote:

>
>
> Hello Everbody!
>
> I would like to ask help with this duty,  I don't Know how to get the
> 20th records from a record set. I tried with the While Clausule but I 
> fail.
>
> And I don't Know if you can help me about that too because it is more
> a doubt SQL, where I divide by 1000 the registers but I aways get a Error,
> I don't Know Why because in access the Query works perfectly.
>
> Best Regards,
>
> *Michael*
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/**discu**ssexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like
> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
> Advice will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted mater

Re: $$Excel-Macros$$ Pivot Table - Cumlative Totals

2013-09-19 Thread Anoop K Sharma
Please do share your file.


On Fri, Sep 20, 2013 at 1:34 AM, Brett Manning wrote:

> Hello,
>
> Hope everyone is well. I think I have a really simple question but I am
> struggling!  I am looking for a cumlative total across columns, please see
> example data below:
> Basically I want the first column in the Pivot table to be the Opening
> value then the next column to take the opening and add today's entries to
> provide a cumlative balance.
>
> Excel Data
>
> Name TypeOpeningMovement
> 1   Movement 2
> My AccountBalance   100.00
> 100.00   100.00
> Dave's Account   Balance200.00
> -100.00  100.00
>
>
> I would like the Pivot table to display the Opening in the first value
> column in the pivot table as 100.00 for my account and 200.00 for Dave's
> account.  The 2nd Column for Movement 1 should display 200.00 for My
> Account (Opening + Movement) and Movement 2 should total 300.00 (Opening +
> Movement 1 + Movement 2 / or a cumlative running total.
>
> Please can offer me some advice, I am sure this is really simple I just
> cannot work it out.
>
> Thanks,
> Brett
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ External Query not brining in all data

2013-09-19 Thread Anoop K Sharma
Hi Richard,

Your query is not clear enough. Varchar is a reserved word for sql. are you
using max function for getting maximum value of a column?

If possible, please share your file..

Regards,
Anoop
Sr. Developer



On Thu, Sep 19, 2013 at 9:42 PM, Richard  wrote:

> I have created an MS Query using our SQL database.  One of the fields,
> which is a varchar(max) field, will not pull over.
>
> Any suggestions would be greatly appreciated.
>
> Thanks in Advance.
>
> Rich
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ External Query not brining in all data

2013-09-20 Thread Anoop K Sharma
Please share your file..


On Fri, Sep 20, 2013 at 5:50 PM, Richard Mogy  wrote:

> Sorry.  I was saying that the field I'm selecting in my query, called xyz
> is defined in the SQL table as varchar (max), which means,  to me, that the
> number of characters cab vary to the maximum allowed by SQL.
> Rich
> On Sep 19, 2013 10:21 PM, "Anoop K Sharma"  wrote:
>
>> Hi Richard,
>>
>> Your query is not clear enough. Varchar is a reserved word for sql. are
>> you using max function for getting maximum value of a column?
>>
>> If possible, please share your file..
>>
>> Regards,
>> Anoop
>> Sr. Developer
>>
>>
>>
>> On Thu, Sep 19, 2013 at 9:42 PM, Richard  wrote:
>>
>>> I have created an MS Query using our SQL database.  One of the fields,
>>> which is a varchar(max) field, will not pull over.
>>>
>>> Any suggestions would be greatly appreciated.
>>>
>>> Thanks in Advance.
>>>
>>> Rich
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Regards,
>> Anoop
>> Sr. Developer
>> Facebook ID - https://www.facebook.com/anooop.k.sharma
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post 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/bbCqTLhBjS4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> excel-macros+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a questio

Re: $$Excel-Macros$$ RecordSet ADO get the 20th record

2013-09-20 Thread Anoop K Sharma
Use below one there is no field named as country.. if it doesn't
work then let me knw.

SELECT TOP 20 MIDASQ12013.COUNTRY, MIDASQ12013.ATC3_COD,
Sum(MIDASQ12013.EUR_2008) AS KEUR08, Sum(MIDASQ12013.EUR_2009) AS KEUR09,
Sum(MIDASQ12013.EUR_2010) AS KEUR10, Sum(MIDASQ12013.EUR_2011) AS KEUR11,
Sum(MIDASQ12013.EUR_2012) AS KEUR12, Sum(MIDASQ12013.EUR_2013) AS KEUR13,
Sum(MIDASQ12013.UN_2008) AS KUN08, Sum(MIDASQ12013.UN_2009) AS KUN09,
Sum(MIDASQ12013.UN_2010) AS KUN10, Sum(MIDASQ12013.UN_2011) AS KUN11,
Sum(MIDASQ12013.UN_2012) AS KUN12, Sum(MIDASQ12013.UN_2013) AS KUN13
FROM MIDASQ12013
GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
HAVING (((MIDASQ12013.PAIS)="brazil retail"))
ORDER BY Sum(MIDASQ12013.EUR_2013) DESC


On Fri, Sep 20, 2013 at 5:09 PM, Michael Pablo wrote:

> Sure! follow some data of my database.
>
> Em sexta-feira, 20 de setembro de 2013 01h57min07s UTC-3, Enrique Martin
> escreveu:
>>
>> can you share your access database?
>>
>>
>> On Thu, Sep 19, 2013 at 10:40 PM, Michael Pablo wrote:
>>
>>> Hi Enrique,
>>>
>>> I've attempted this Query but I didn't get results. They return this
>>> advertence, saying that I need to use the clausule EXISTS.
>>>
>>> SELECT TOP 1 * FROM MIDASQ12013
>>> WHERE MIDASQ12013.PAIS EXISTS (SELECT TOP 20 MIDASQ12013.PAIS,
>>> MIDASQ12013.ATC3_COD, Sum(MIDASQ12013.EUR_2008) AS KEUR08,
>>> Sum(MIDASQ12013.EUR_2009) AS KEUR09, Sum(MIDASQ12013.EUR_2010) AS KEUR10,
>>> Sum(MIDASQ12013.EUR_2011) AS KEUR11, Sum(MIDASQ12013.EUR_2012) AS KEUR12,
>>> Sum(MIDASQ12013.EUR_2013) AS KEUR13, Sum(MIDASQ12013.UN_2008) AS KUN08,
>>> Sum(MIDASQ12013.UN_2009) AS KUN09, Sum(MIDASQ12013.UN_2010) AS KUN10,
>>> Sum(MIDASQ12013.UN_2011) AS KUN11, Sum(MIDASQ12013.UN_2012) AS KUN12,
>>> Sum(MIDASQ12013.UN_2013) AS KUN13
>>> FROM MIDASQ12013
>>> GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
>>> HAVING (((MIDASQ12013.PAIS)="BRAZIL RETAIL"))
>>> ORDER BY Sum(MIDASQ12013.EUR_2013))
>>> ORDER BY MIDASQ12013.COUNTRY DESC;
>>>
>>> Thanks,
>>>
>>> *Michael*
>>>
>>>
>>>
>>> Em quinta-feira, 19 de setembro de 2013 00h10min28s UTC-3, Enrique
>>> Martin escreveu:

 I hope the below one works good to you... pls check

 SELECT TOP 1 * FROM MIDASQ12013
 WHERE MIDASQ12013.COUNTRY IN (SELECT TOP 20 MIDASQ12013.COUNTRY,
 MIDASQ12013.ATC3_COD, Sum(MIDASQ12013.EUR_2008) AS KEUR08,
 Sum(MIDASQ12013.EUR_2009) AS KEUR09, Sum(MIDASQ12013.EUR_2010) AS KEUR10,
 Sum(MIDASQ12013.EUR_2011) AS KEUR11, Sum(MIDASQ12013.EUR_2012) AS KEUR12,
 Sum(MIDASQ12013.EUR_2013) AS KEUR13, Sum(MIDASQ12013.UN_2008) AS KUN08,
 Sum(MIDASQ12013.UN_2009) AS KUN09, Sum(MIDASQ12013.UN_2010) AS KUN10,
 Sum(MIDASQ12013.UN_2011) AS KUN11, Sum(MIDASQ12013.UN_2012) AS KUN12,
 Sum(MIDASQ12013.UN_2013) AS KUN13
 FROM MIDASQ12013
 GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
 HAVING (((MIDASQ12013.PAIS)="brazil retail"))
 ORDER BY Sum(MIDASQ12013.EUR_2013))
 ORDER BY MIDASQ12013.COUNTRY DESC;


 On Thu, Sep 19, 2013 at 12:12 AM, Michael Pablo wrote:

> Hello Enrique Martin,
>
> I have been attempted this query:
>
> SELECT MIDASQ12013.COUNTRY, MIDASQ12013.ATC3_COD,
> Sum(MIDASQ12013.EUR_2008) AS KEUR08, Sum(MIDASQ12013.EUR_2009) AS KEUR09,
> Sum(MIDASQ12013.EUR_2010) AS KEUR10, Sum(MIDASQ12013.EUR_2011) AS KEUR11,
> Sum(MIDASQ12013.EUR_2012) AS KEUR12, Sum(MIDASQ12013.EUR_2013) AS KEUR13,
> Sum(MIDASQ12013.UN_2008) AS KUN08, Sum(MIDASQ12013.UN_2009) AS KUN09,
> Sum(MIDASQ12013.UN_2010) AS KUN10, Sum(MIDASQ12013.UN_2011) AS KUN11,
> Sum(MIDASQ12013.UN_2012) AS KUN12, Sum(MIDASQ12013.UN_2013) AS KUN13
> FROM MIDASQ12013
> GROUP BY MIDASQ12013.PAIS, MIDASQ12013.ATC3_COD
> HAVING (((MIDASQ12013.PAIS)="brazil retail"))
> ORDER BY Sum(MIDASQ12013.EUR_2013) DESC
>
> Ok, I am not experienced about ADO or DAO and how to utilize one or
> other. But in this case ADO can account this query? Because maybe this can
> be a barrier about execute this query in my VBA code.
>
> Thanks and Regards,
>
> *Michael*
>
> Em segunda-feira, 16 de setembro de 2013 22h44min29s UTC-3, Enrique
> Martin escreveu:
>>
>> Make a query as "Select Top 20 From " in case you
>> need a 20th record without changing your records order.
>>
>> but if you want the 20th record after sorting your data in ascending
>> order then make following query "Select Top 20 From  
>> order
>> by "
>>
>> In case you need the 20th record after sorting data in descending
>> order then use the following one "Select Top 20 From 
>> order by  DESC"
>>
>> In case you want to call any of these queries by ADO then create
>> queryDef object.
>>
>>
>> On Mon, Sep 16, 2013 at 7:33 PM, Michael Pablo wrote:
>>
>>>
>>>
>>> Hello Everbody!
>>>
>>> I would like to ask help with this duty,  I don't Know how to get
>>> the 20th 

Re: $$Excel-Macros$$ Index match help

2013-09-26 Thread Anoop K Sharma
Hi Jeremy,

Please find attached file.. The range here I declared is something
different because I think San Diego ($85,394.40) is having amount greater
than 80,000 and less than 90,000 so its percentage should be 5.0% not 4.7%
(as said by you).

Please let me know the limits so that the formula can be corrected as per
requirement.

Thanks




On Fri, Sep 27, 2013 at 2:56 AM, Jeremy Lawson  wrote:

>
>
> Hi everybody.
>
> I am dealing with a rather complex equation, and could use some help.
>  Most of the cells in the attached spreadsheet are blank, because the data
> are confidential.  The relevant columns are highlighted.
>
> Basically, I am trying to use index match to find geographic salary
> differentials.  Depending upon what city an employee is based in, and what
> his salary is nearest to, he will have a different geographic salary
> differential.  Based upon the city and salary data in the first tab, I want
> to pull in the percentage salary adjustment in the second tab.  I want to
> use straight rounding, so a salary of $34,999.99 will go to $30,000, and a
> salary of $35,000 will go to $40,000.
>
> I have an index match formula, that seems to work, in cell AG1 of Employee
> data tab.  It won't copy down for some reason.  Can anybody help me out?  I
> don't know why this would be.
>
> Thanks!
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Copy of Compensation Analysis - Forum.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Auto run multiple macros with data change

2013-09-30 Thread Anoop K Sharma
Hi,

What code you have written behind "Rate_KaPs_11". If possible please share
your file.


On Sun, Sep 29, 2013 at 1:28 PM, Warwick Trueman  wrote:

>
>
> Hi all,
> my first post - I started teaching myself VBA two days ago, with
> predictable results!
>
> I want to run different macros on a single sheet depending on which cells
> had changes made in them.  The first section of coding worked fine:
>
> Private Sub Workbook_Sheetchange(ByVal As Object, ByVal Target as Range)
> If Not Intersect(Target,Range("B6:E39")) Is Nothing Then
> Rate_KaPs_11
> End If
> End Sub
>
>
> for the second section it wanted a unique name, but workbook_sheetchange 2
> did not work - no error was created, it simply failed to run.  I also tried
> an or statement in the first routine, but that also failed.
>
> Any ideas (or alternate ways to write this)?
> any help is greatly appreciated.
>
> Warwick
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Helpd needed

2013-09-30 Thread Anoop K Sharma
Hi Ravi,

Please check attached one.. just change weightage or your values against
pin code to get answer


On Mon, Sep 30, 2013 at 7:10 PM, Ravinder Kumar <
ravinderbhardwa...@gmail.com> wrote:

> Hi Ashish,
>
> In a file we have Pin Code and weight, it will be check in a Rate Mater
> where the Rates are mention according to the Pincode wise.
>
> So when we go the Pin code and Weight then it automatically calculate.
>
>
> On Mon, Sep 30, 2013 at 7:05 PM, ashish koul wrote:
>
>> wht do u want to calculate
>>
>>
>> On Mon, Sep 30, 2013 at 7:03 PM, Ravinder Kumar <
>> ravinderbhardwa...@gmail.com> wrote:
>>
>>> Hi Ashish,
>>>
>>> Please find the attached file
>>>
>>>
>>> On Mon, Sep 30, 2013 at 7:01 PM, ashish koul wrote:
>>>
 can u share the excel file


 On Mon, Sep 30, 2013 at 7:00 PM, Ravinder Kumar <
 ravinderbhardwa...@gmail.com> wrote:

> Hi,
>
> Please suggest a formula as per the below mention query.
>
> Weight Weight Weight  PINCODE 0.5 1 1.5  744101 20 30 40  744102
> 10 15 20 Condition 1: Pincode wise  Condition 2: Weight
> Thanks in advance.
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like
> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
> Advice will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners
> and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google
> Groups "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



 --
 *Regards*
 * *
 *Ashish Koul*


 *Visit*
 *My Excel Blog *
 Like Us on 
 Facebook
 Join Us on Facebook 


 P Before printing, think about the environment.



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

 FORUM RULES

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

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

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

Re: $$Excel-Macros$$ Formula Required

2013-10-22 Thread Anoop K Sharma
As Requested, PFB the solved one.

Regards,
Anoop
Sr. Developer


On Tue, Oct 22, 2013 at 3:36 PM, xlstime  wrote:

> please share the example
>
> .
>
> Enjoy
> Team XLS
>
>
>
> On Tue, Oct 22, 2013 at 10:28 AM, Prabhakar Thakur <
> prabhakarthak...@gmail.com> wrote:
>
>>  Dear Team,
>>
>>
>>
>>
>>
>> I need a formula for create unique ID.
>>
>>
>>
>> Unique ID=first character of first Name + last name first character + dob
>> + first & character of Home Town.
>>
>>
>>
>> Name
>>
>> Dob
>>
>> Town
>>
>> Ram Kumar
>>
>> 15-Oct
>>
>> Kota
>>
>> Ram kumar Mishra
>>
>> 18-Sep
>>
>> Patna
>>
>> Ram rajat kumar Mishra
>>
>> 20-Jul
>>
>> Delhi
>>
>>
>>
>> Thanks,
>>
>> Prabhakar
>>
>>
>> Thanks,
>> Prabhakar Thakur
>> New Delhi
>> +919953736776
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


UniqueID.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ Formula Required

2013-10-22 Thread Anoop K Sharma
PFA updated with little change as described above.


On Tue, Oct 22, 2013 at 4:18 PM, Anoop K Sharma wrote:

> As Requested, PFB the solved one.
>
> Regards,
> Anoop
> Sr. Developer
>
>
> On Tue, Oct 22, 2013 at 3:36 PM, xlstime  wrote:
>
>> please share the example
>>
>> .
>>
>> Enjoy
>> Team XLS
>>
>>
>>
>> On Tue, Oct 22, 2013 at 10:28 AM, Prabhakar Thakur <
>> prabhakarthak...@gmail.com> wrote:
>>
>>>  Dear Team,
>>>
>>>
>>>
>>>
>>>
>>> I need a formula for create unique ID.
>>>
>>>
>>>
>>> Unique ID=first character of first Name + last name first character +
>>> dob + first & character of Home Town.
>>>
>>>
>>>
>>> Name
>>>
>>> Dob
>>>
>>> Town
>>>
>>> Ram Kumar
>>>
>>> 15-Oct
>>>
>>> Kota
>>>
>>> Ram kumar Mishra
>>>
>>> 18-Sep
>>>
>>> Patna
>>>
>>> Ram rajat kumar Mishra
>>>
>>> 20-Jul
>>>
>>> Delhi
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Prabhakar
>>>
>>>
>>> Thanks,
>>> Prabhakar Thakur
>>> New Delhi
>>> +919953736776
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Regards,
> Anoop
> Sr. Developer
> Facebook ID - https://www.facebook.com/anooop.k.sharma
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

Re: $$Excel-Macros$$ Continuation of VBA for Excel to Word

2013-10-23 Thread Anoop K Sharma
pls share your file...


On Mon, Oct 21, 2013 at 8:51 PM, Justin Pulley wrote:

> I don't know how to mark something uncompleted.
>
> The code works every other time.
>
> 
>
> Sub CreateReportPDF()
> Dim wdapp As Word.Application
> Dim wddoc As Word.Document
>
> Run CopyData
>
> Set wdapp = Word.Application
> Set wddoc = wdapp.documents.Add
>
> Application.ScreenUpdating = False
>
> wdapp.Visible = True
> With wddoc.PageSetup
> .Orientation = wdOrientLandscape
> .PageWidth = InchesToPoints(17)
> .PageHeight = InchesToPoints(11)
> End With
>
> For Each sh In Worksheets(Array("Power Report", "ATS Data"))
> ThisWorkbook.Sheets(sh.Name).UsedRange.Copy
>
> With wdapp
> .Visible = True
> .Selection.Paste
> End With
> Next
>
> Application.CutCopyMode = False
> Application.ScreenUpdating = True
>
> wddoc.SaveAs2 MyDocuments & "\" & "Power Report " & Format((Date), "mm -
> dd - yy") & Format((Time), " hhmm") 'change file name as u like
> MsgBox "The power report has been generated and saved to your My Documents
> Folder"
>
> wddoc.Close
> wdapp.Quit
>
> Set wddoc = Nothing
> Set wdapp = Nothing
>
> End Sub
>
> 
>
> The first time you run the routine it works no issues.  The next time you
> run the routine it fails on error 462.  Then you can run it again and it's
> fine.  Error 462 occurs every other time.  I have tried every fix I can
> find for that error and none of it seems to work.  There are some sites
> that claim you should not use a With command when using a word application
> object.
>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Excel Macrosbased file not working on windows 7 64 bit operating system

2013-10-25 Thread Anoop K Sharma
What Error you are getting?


On Fri, Oct 25, 2013 at 12:42 PM, Jocky Beta  wrote:

> Hi VBA Experts,
>
> Please find the above attached file it's not working on windows 7 64 bit
> operating system. Request you to kindly suggest or edit the file for the
> working on the same.
>
>
> Regards
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Pivot Table queries

2013-10-29 Thread Anoop K Sharma
Sandeep please insert required formula using pivot table formula.
for this go to Options>formula>Calculated Field.
Options Ribbon will populate once you select the pivot field and Calculated
field will enable when you select any column field in pivot.




On Wed, Oct 30, 2013 at 8:07 AM, Sandeep Kumar Chhajer <
chhajersand...@gmail.com> wrote:

> Hi, Excel gurus,
>
> I want to get a column in a pivot table which is comprising of division of
> two data-source column.
>
> Thanks & Regards,
> Sandeep Kumar Chhajer
> Mumbai
> India
>
> Sent on my BlackBerry® from Vodafone
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE  : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Excel Macro to print, slecting range, printer and orientation etc

2013-10-29 Thread Anoop K Sharma
What Error are you getting? Can you share your file in which you use your
recorded macro.


On Sun, Oct 27, 2013 at 9:48 AM, ashish koul  wrote:

> try this way
> http://mariaevert.dk/vba/?p=6
>
>
>
>
> On Sun, Oct 27, 2013 at 8:26 AM, Howard Rambin wrote:
>
>> I am new to macros in Excel (wiz at lotus keyboard macros).
>>
>> I don't have not problem recording a simple print macro with just a range
>> selection, but when I go to select a printer, fit to page etc, I get errors.
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> *Regards*
> * *
> *Ashish Koul*
>
>
> *Visit*
> *My Excel Blog *
> Like Us on 
> Facebook
> Join Us on Facebook 
>
>
> P Before printing, think about the environment.
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Pivot Table queries

2013-10-29 Thread Anoop K Sharma
yes, you can play with operators (+,-,/,*) with predefined fields to create
new one of your choice.


On Wed, Oct 30, 2013 at 11:15 AM, Sandeep Kumar Chhajer <
chhajersand...@gmail.com> wrote:

> **
> Thanks Anup for your response.
> One more thing I want to ask is there any way I can use two column of
> Pivot table for any type of calculation (i.e. the calculation also become
> part of. Pivot table.)
> Suppose, with a data set I have derived with two column in a Pivot table,
> say one is sum and other being count, now I want to work with this two
> column i.e. Sum column / count column with in pivot table, Is it possible?
> Thanks & Regards,
> Sandeep Kumar Chhajer
> Mumbai
> India
>
> Sent on my BlackBerry® from Vodafone
> --
> *From: * Anoop K Sharma 
> *Sender: * excel-macros@googlegroups.com
> *Date: *Wed, 30 Oct 2013 11:02:43 +0530
> *To: *
> *ReplyTo: * excel-macros@googlegroups.com
> *Subject: *Re: $$Excel-Macros$$ Pivot Table queries
>
> Sandeep please insert required formula using pivot table formula.
> for this go to Options>formula>Calculated Field.
> Options Ribbon will populate once you select the pivot field and
> Calculated field will enable when you select any column field in pivot.
>
>
>
>
> On Wed, Oct 30, 2013 at 8:07 AM, Sandeep Kumar Chhajer <
> chhajersand...@gmail.com> wrote:
>
>> Hi, Excel gurus,
>>
>> I want to get a column in a pivot table which is comprising of division
>> of two data-source column.
>>
>> Thanks & Regards,
>> Sandeep Kumar Chhajer
>> Mumbai
>> India
>>
>> Sent on my BlackBerry® from Vodafone
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE  : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Regards,
> Anoop
> Sr. Developer
> Facebook ID - https://www.facebook.com/anooop.k.sharma
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://ww

Re: $$Excel-Macros$$ Re: VlookUp VBA : Can't link up with a Text Box

2013-10-30 Thread Anoop K Sharma
Your code is working fine. What error code you are getting there?




On Wed, Oct 30, 2013 at 6:32 PM, TAWHID  wrote:

> Dear Rupesh ,
> Thanks for your quick reply.
>
> Please have look the attachemnt.
>
>  If I press the "count" batton, the form appears. I am putting
> (copy/paste) item code in the text box (Item code), it should Vlookup the
> description next to the text box in the label.
>
>
> Cheers,
> Tawhid
>
> On Wednesday, 30 October 2013 11:42:27 UTC+1, TAWHID wrote:
>>
>> Can anyone let me know whats wron in this code below? When I run it says
>> error in this line: Set lookFor = Me.TextBox1
>>
>> Private Sub TextBox1_Change()
>>
>> Dim lookFor As Variant
>> Dim rng As Range
>> Dim col As Integer
>> Dim found As Variant
>>
>> Set lookFor = Me.TextBox1
>> Set rng = Sheets("MSR_Input").Columns("**A:C")
>> col = 2
>>
>> On Error Resume Next
>> found = Application.VLookup(lookFor, rng, col, 0)
>> If IsError(found) Then
>> MsgBox lookFor & " not found"
>> Else: UserForm1.Label2.Caption = found ': MsgBox "The look-up value of "
>> & lookFor & " is " & found & " in column " & col
>>
>> End If
>> On Error GoTo 0
>>
>> End Sub
>>
>>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Macro Modification Needed To Include Start/Stop Time

2013-11-13 Thread Anoop K Sharma
Sure


On Wed, Nov 13, 2013 at 11:06 AM, Bill Q  wrote:

>
> On Thursday, December 13, 2012 8:48:25 PM UTC-5, Enrique Martin wrote:
>
>> My Pleasure.. You have given me new title.
>>
>>
>> On Fri, Dec 14, 2012 at 12:57 AM, Bill Q  wrote:
>>
>>> Just what the doctor ordered. Thank you very much Dr. Anoop.
>>>
>>> Much appreciated.
>>>
>>>
>>>
>>> On Thursday, December 13, 2012 1:59:22 AM UTC-5, Enrique Martin wrote:
>>>
 Hi Bill,

 I have modified the code which will work within stipulated time as
 described above.
 I have also provided two command buttons to stop the scheduler forcely.

 Regards,
 Anoop
 Sr. Developer



 On Thu, Dec 13, 2012 at 2:25 AM, Bill Q  wrote:

> To be more specific.
>
> In this case I want to query the S&P 500 every minute between 09:00
> and 16:30.
>
> Thanks for all your input.
>
>
> On Wednesday, December 12, 2012 10:09:26 AM UTC-5, Bill Q wrote:
>
>> From what I can see, it looks like this will interfere with the
>> runintervalminutes (which is important to be seperate). Also, how to I 
>> get
>> it to stop at a specific time ?
>>
>>
>>
>> On Wednesday, December 12, 2012 2:44:15 AM UTC-5, Enrique Martin
>> wrote:
>>
>>> Hi Bill,
>>>
>>> There are two variable defined in your module. These are "RunWhen"
>>> and "SaveWhen".
>>> Both of them are being used with timeserial value.
>>>
>>> You can provide your desired time in this parameter(TimeSerial).
>>> Suppose you want to Run your code at 1500 hrs then you can modify
>>> your code as below:
>>> RunWhen = Now + TimeSerial(15, 0, 0).
>>> Similarly, you can set up your Save Time by modifying SaveWhen
>>> syntax.
>>>
>>> You can also make your code run on specific date/time.
>>>
>>> Regards,
>>> Anoop
>>> Sr. Developer
>>>
>>>
>>> On Wed, Dec 12, 2012 at 3:55 AM, Bill Q  wrote:
>>>
 Hi,

 Looking for code to be modified using military time if possible. I
 would just go into the code and modify the time when needed.

 Thanks.


 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

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

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



>>>
>>>
>>>
>>> --
>>> Regards,
>>> Anoop
>>> Sr. Developer
>>>
>>>   --
> Join official Facebook page of this forum @ https://www.facebook.com/
> discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like
> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
> Advice will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners
> and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google
> Groups "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-...@googlegroups.com.
> To unsubscribe from this group, send email to excel-macros...@
> googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>
>



 --
 Regards,
 Anoop
 Sr. Developer

   --
>>> Join official Facebook page of this forum @ https://www.facebook.com/
>>> discussexcel
>>>
>>> FORU

Re: $$Excel-Macros$$ Create a macro based on a range of cells in excel and send via Lotus Notes with attachment

2013-11-21 Thread Anoop K Sharma
Hi Kim,

can you please share your excel file?


On Wed, Nov 20, 2013 at 1:05 AM, Kim McLaughlin wrote:

>
>
> I have a spreadsheet with columns A through AD and have about 1000 rows
> on my report. I need to run the report every month and send an email to
> anyone that has a greater than or equal to 6 in Column "W". If column "W"
> is greater than or equal to 6, then click a "send emails" button with an
> attachment of the worksheet to email recipients in column "P" via Lotus
> Notes. (There would be multiple addresses, and each month would be
> different depending on the criteria.) Also if the criteria does not match
> the 6, then delete the row, and always save a copy of the worksheet to my
> "C" drive.
>
> The code for the email with the subject, body text and attachment are
> working, but I am having trouble with selecting the range from the
> spreadsheet to send to the recipients and adding my signature to the end.
>
> Any help on this would be greatly appreciated! Thanks in advance.
>
> Option Explicit
>
> Const EMBED_ATTACHMENT As Long = 1454
>
> Const stPath As String = "C:"
>
>
> Sub Send_Active_Sheet()
>
>   Dim stFileName As String
>
>   Dim Worksheets As Variant
>
>   Set Worksheets = Sheets("FabricsProjectList")
>
>   Dim myDocument As Range
>
>   Dim rng As Range
>
>   Dim vaRecipients As String
>
>   Dim vaCopyTo As Variant
>
>   Dim noSession As Object
>
>   Dim noDatabase As Object
>
>   Dim noDocument As Object
>
>   Dim noEmbedObject As Object
>
>   Dim noAttachment As Object
>
>   Dim stAttachment As String
>
>   Dim stSubject As Variant
>
>   Dim vaMsg As Variant
>
>   Dim x As Integer
>
>   Dim c As Range
>
>   Dim i As Long
>
>   Dim lRow As Long
>
>   Dim lCol As Long
>
>   Dim UserName As String
>
>   Dim MailDbName As String
>
>   Dim Maildb As Object
>
>   Dim MailDoc As Object
>
>   Dim AttachME As Object
>
>   Dim Session As Object
>
>   Dim stSignature As String
>
> With Application
> .ScreenUpdating = False
> .DisplayAlerts = False
>
>
>   'Copy the active sheet to a new temporarily workbook.
>
>   With ActiveSheet
>
> .Copy
>
> stFileName = .Range("A1").Value
>
>   End With
> ' Select range of e-mail addresses
>
> Worksheets("FabricsProjectList").Range("P6", "P1000").Value
>
> For i = 7 To Range("A" & Rows.Count).End(3)(2).Row
>
>  '   Cells.Range ("W6:W1000")
>
>If Cells(i, "W:W") >= 6 Then
>
> With Cells(i, "P:P")
>
>vaRecipients = Worksheets("FabricsProjectList").Range("P" & i).Value
>
>.SendTo = vaRecipients
>
>   stSubject = "Hi, Enterprise Project Champion," & vbCrLf & "This is just 
> a FYI - the last review of your Enterprise Project is older than 6 
> months...which one ? Please see audit list attached ..."
>
>   vaMsg = "Hi," & vbCrLf & vbCrLf & "What I am looking for.. the 
> reason for this reminder" & vbCrLf & vbCrLf & "It is my commitment" & vbCrLf 
> & vbCrLf & "To run an audit every month" & vbCrLf & "To find out which 
> projects are not in the regular review process (6 months)" & vbCrLf & "To 
> send out this info to the champions and R&D leaders" & vbCrLf & vbCrLf & 
> "Please be so kind and let me know if there have been RWW's/ reviews in the 
> meantime. If Yes, please send me the documentation." & vbCrLf & vbCrLf & "We 
> will enter the document and the new last review date into the database." & 
> vbCrLf & vbCrLf & "Thank you"
>
>   stSignature = 
> Maildb.GetProfileDocument("CalendarProfile").GetItemValue("Signature")(0)
>
>   stAttachment = stPath & "PROJECT TIME TRACKING\2013 Time Tracking 
> Reports" & stFileName & "Fabrics R&D Time Tracking Reports_Sep2013_rev2.xls"
>
>
>   End With
>
>
>   'Save and close the temporarily workbook.
>
>   With ActiveWorkbook
>
> .SaveAs stAttachment
>
> .Close
>
>   End With
>
>
>   'Instantiate the Lotus Notes COM's Objects.
>
>   Set noSession = CreateObject("Notes.NotesSession")
>
>   Set noDatabase = noSession.GETDATABASE("", "")
>
>
>   'If Lotus Notes is not open then open the mail-part of it.
>
>   If noDatabase.IsOpen = False Then noDatabase.OPENMAIL
>
>
>   'Create the e-mail and the attachment.
>
>   Set noDocument = noDatabase.CREATEDOCUMENT
>
>   Set noAttachment = noDocument.CreateRichTextItem("stAttachment")
>
>   Set noEmbedObject = noAttachment.EmbedObject(EMBED_ATTACHMENT, "", 
> stAttachment)
>
>
>   'Add values to the created e-mail main properties.
>
>   With noDocument
>
> .Form = "Memo"
>
> .SendTo = vaRecipients
>
> .CopyTo = vaCopyTo
>
> .Subject = stSubject
>
> .Body = vaMsg
>
> .SaveMessageOnSend = True
>
> .PostedDate = Now()
>
> .SEND 0, vaRecipients
>
>   End With
>
>
>   'Delete the temporarily workbook.
>
>   Kill stAttachment
>
>
>   'Release objects from memory.
>
>   Set noEmbedObject = Nothing
>
>   Set noAttachment = Nothing
>
>   Set noDocument = Nothing
>
>   Set noDatabase = Nothing
>
>   Set noSession = Nothing
>
>   Set Maildb = Nothing
>
>   Set MailDoc = Nothing
>
>

Re: $$Excel-Macros$$ Re: Sort TCP/IP Address in Excel

2013-12-07 Thread Anoop K Sharma
great


On Mon, Dec 2, 2013 at 6:47 PM, André Roberge wrote:

> An easy way to convert IPs to decimal so they can be sorted is to use an
> Excel function to do it. See 
> herefor more 
> details.
>
> On Friday, June 24, 2011 5:59:16 AM UTC-4, OpenExcel.com wrote:
>>
>> Are you a reporting analyst in IT firm, network engineer, networking
>> analyst or any one who works on network data? If yes, then you ever tried
>> to sort TCP/IP Addresses, I'm sure something like red list in this figure,
>> would have happened and you must have desired the green list. This is the
>> issue of sorting with delimited numbers like 1.1.2,  1.1.1,  1.1.10 which
>> results in 1.1.1,  1.1.10,  1.1.2.
>>
>>
>> Generally, computer and languages on which computers operate treat them
>> as string literals and sorting is based on their ASCII character number.
>> So, the solution is to normalize them, sort them and denormalize back in
>> their original form.
>>
>>
>> This is how, the given VBA macro works. Hope, you understand it easily
>> and leave any questions for clarifications in the comments section.
>>
>>
>> CLICK HERE FOR THE VBA MACRO 
>> CODE
>>
>>
>>
>> Best Regards,
>> Ashish Jain
>> Facebook / 
>> eXceLiTems
>> +91 -  - 40 - 48 - 43
>>
>>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Link workbook based on a decision from a lookup

2013-12-07 Thread Anoop K Sharma
This is basically triggered bases development. Are you using outlook to
notify  requester of their leave status? What version of Office are you
using?


On Wed, Nov 27, 2013 at 5:37 PM, Edward Mcallister wrote:

> Hi,
>
> I'm fairly new to Excel as my specialty is JavaScript. I have designed an
> Annual Leave tracker that resides on a secure management network drive, and
> I have designed a leave card for each employee. The employee's leave card
> and Annual Leave Tracker are linked in my development area and updates take
> place automatically on opening the tracker. I need to have the update *only
> take place* if the manager approves by selecting 'Yes' from a lookup and
> emailing back to the requester; as when live, the tracker will be in a
> secure area.
>
> I have attached both the Tracker and two development leave cards.
>
> Many thanks
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Re: New to Macros - In search of a solution

2013-12-08 Thread Anoop K Sharma
You need to share your file to understand your project


On Wed, Dec 4, 2013 at 4:27 AM, Matt Watson wrote:

> Just a self update. I played with the Macro Recorder and managed to build
> a macro (with some tweaking) to filter by the HTML I pasted in,
> text-to-column til I got my number, and pasted it into another worksheet.
>
> Going to keep researching. It seems like with some solid VBA code I can
> accomplish this. On top of that I'm realizing that these macros can save me
> a ton of time! I'm still open to pointers or ideas to this project.
>
> On Tuesday, December 3, 2013 4:01:44 PM UTC-5, Matt Watson wrote:
>>
>>
>>
>> Hello all, joined this group today.
>>
>> I like to think I'm quite handy with excel, but the uses are so broad I
>> may only know 5%! I work for a car dealership and my excel skills come in
>> handy on a regular basis. A huge part of the business today is your website
>> and inventory listings. A sneaky model-wide price reduction can really
>> affect how you perform in a month in comparison to your competition and
>> unfortunately I just learned this the hard way.
>>
>> My goal lately has been to devise a way to either watch for changes, or
>> hopefully to extract my competitor's website pricing so I can catch a
>> sneaky price drop or recognize an opportunity for myself. I have tried
>> browser extensions and various websites to notify of changes, but
>> everything requires a large amount of coding knowledge that I either do not
>> have, or do not have time to learn. My next idea is possibly using excel!
>> Despite being quite handy, I strangely have never played with macros -
>> probably could have saved me days of work in the past.
>>
>> So here's my objective. I want to either extract values straight off my
>> competitor's site, or paste the HTML code and then run a macro. I would
>> like to have the data easily accessible and done without too much hassle.
>>
>> I have pasted in the raw HTML before, but it took what felt like 40 steps
>> (only using formulas and text-to-columns) to extract the exact data I
>> needed. I realize I could go through all that again and record a macro, but
>> I'm hoping some brilliant mind here may have a better solution. This will
>> be a daily activity for me so the quicker, the better. Keep in mind that I
>> have 0 experience with Excel Macros, but am handy with excel and a computer
>> so I'm not opposed to, or worried about getting my hands dirty. I'm sure
>> the knowledge will reflect into many other of my duties.
>>
>> Thanks!
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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

Re: $$Excel-Macros$$ Write a macro 2 get the user input and based on that filter the rows and put into the another sheet

2013-12-18 Thread Anoop K Sharma
Use below lines.. but you need to change these lines as per your code.

Userform1.Hide  'To hide the userform if it is with name "Userform1"
myCriteria1 = Userform1.textBox1.value
myCriteria2 = Userform1.textBox2.value

Sheet1.Range("A1").autofilter 2, Criteria:= "=" & myCriteria1, xlOr,
Criteria:= "=" & Criteria2.


This code will work if you change all objects as per your requirement.

Please provide your file.


On Wed, Dec 18, 2013 at 1:15 PM, Komali Pendurthy wrote:

>
> Question: I have created one excel sheet. it contains one command button.
> By clicking on that button it should show the user form for taking the
> input from the user. when we clicked submit on the user form it should hide
> and get the input into variables. Based on the given input it should filter
> data in the another excel sheet and filtered rows should be placed on the
> newly created excel.
>
> 1) Is anyone know how to write a query to filter the rows based on the
> user input. When user input changes dynamically.
> Note: If we have 4 columns in a sheet. User might give 2 columns values
> once and he might give another 2 columns as input second time.
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Excel Formula - Huge Formula - Help to simplfy

2013-12-24 Thread Anoop K Sharma
Well, No one will get the result by studying this formula. There will
definitely be number of methods to meet your requirement but for that we
need your master file along with supporting files. Please do share these
with elaborating your requirement.


On Tue, Dec 24, 2013 at 3:38 PM, Brett Manning wrote:

> Hello,
>
> I have created a spreadsheet which looks at various different worksheets
> in the same spreadsheet in order to return the data to one central
> worksheet.  I have then created a pivot table of this data.  My formula
> below contains a lot of If's and Index / Match.  The formula works but I
> was wondering if there is a better way to do this?  I have 2600 rows and 30
> columns, the formula below is an example to return the data for day 1.  The
> same formula is used by day 2 but day 1 is replaced with day 2.  The
> spreadsheet is 22MB and it quite slow due to the number of calculations.  I
> was just wondering if anyone had any idea's?
>
> Thanks in advance.
>
> Brett
>
>
>
>
>
>
> =IF($O2="Balance",SUMIF($C:$C,$C2,U:U),IF(AND($O2="Cash Forecast
> Payment",(ISNA(INDEX(APM_CF_DAY1,MATCH($C2,APM_CF_NAME,0),0,IF(AND($O2="Cash
> Forecast
> Payment",$N2="No"),INDEX(APM_CF_DAY1,MATCH($C2,APM_CF_NAME,0)),IF(AND($O2="Cash
> Forecast
> Payment",$K2="M",$N2="Yes"),INDEX(APM_CF_DAY1,MATCH($C2,APM_CF_NAME,0))*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Cash
> Forecast
> Payment",$K2="D",$N2="Yes"),INDEX(APM_CF_DAY1,MATCH($C2,APM_CF_NAME,0))/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Cash
> Forecast
> Receipt",(ISNA(INDEX(APM_CF_REC_DAY1,MATCH($C2,APM_CF_REC_NAME,0),0,IF(AND($O2="Cash
> Forecast
> Receipt",$N2="No"),INDEX(APM_CF_REC_DAY1,MATCH($C2,APM_CF_REC_NAME,0)),IF(AND($O2="Cash
> Forecast
> Receipt",$K2="M",$N2="Yes"),INDEX(APM_CF_REC_DAY1,MATCH($C2,APM_CF_REC_NAME,0))*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Cash
> Forecast
> Receipt",$K2="D",$N2="Yes"),INDEX(APM_CF_REC_DAY1,MATCH($C2,APM_CF_REC_NAME,0))/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury",(ISNA(INDEX(APM_TT_DAY1,MATCH($C2,APM_TT_NAME,0),0,IF(AND($O2="Treasury",$N2="No"),INDEX(APM_TT_DAY1,MATCH($C2,APM_TT_NAME,0)),IF(AND($O2="Treasury",$K2="M",$N2="Yes"),INDEX(APM_TT_DAY1,MATCH($C2,APM_TT_NAME,0))*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury",$K2="D",$N2="Yes"),INDEX(APM_TT_DAY1,MATCH($C2,APM_TT_NAME,0))/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND(OR($O2="Treasury
> LoanDep",$O2="Treasury LoanDep
> Internal"),Data!$F$2="No"),0,IF(AND($O2="Treasury
> LoanDep",(ISNA(INDEX(APM_TT_LD_DAY1,MATCH($C2,APM_TT_LD_NAME,0),0,IF(AND($O2="Treasury
> LoanDep",$N2="No"),INDEX(APM_TT_LD_DAY1,MATCH($C2,APM_TT_LD_NAME,0)),IF(AND($O2="Treasury
> LoanDep",$K2="M",$N2="Yes"),INDEX(APM_TT_LD_DAY1,MATCH($C2,APM_TT_LD_NAME,0))*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury
> LoanDep",$K2="D",$N2="Yes"),INDEX(APM_TT_LD_DAY1,MATCH($C2,APM_TT_LD_NAME,0))/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury
> LoanDep
> Internal",(ISNA(INDEX(APM_LOANDEP_PARTYA_INTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_INTERNAL_NAME,0),0,IF(AND($O2="Treasury
> LoanDep
> Internal",$N2="No"),INDEX(APM_LOANDEP_PARTYA_INTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_INTERNAL_NAME,0)),IF(AND($O2="Treasury
> LoanDep
> Internal",$K2="M",$N2="Yes"),INDEX(APM_LOANDEP_PARTYA_INTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_INTERNAL_NAME,0))*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury
> LoanDep
> Internal",$K2="D",$N2="Yes"),INDEX(APM_LOANDEP_PARTYA_INTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_INTERNAL_NAME,0))/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury
> LoanDep
> External",(ISNA(INDEX(APM_LOANDEP_PARTYA_EXTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_EXTERNAL_NAME,0),0,IF(AND($O2="Treasury
> LoanDep
> External",$N2="No"),INDEX(APM_LOANDEP_PARTYA_EXTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_EXTERNAL_NAME,0)),IF(AND($O2="Treasury
> LoanDep
> External",$K2="M",$N2="Yes"),INDEX(APM_LOANDEP_PARTYA_EXTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_EXTERNAL_NAME,0))*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="Treasury
> LoanDep
> External",$K2="D",$N2="Yes"),INDEX(APM_LOANDEP_PARTYA_EXTERNAL_DAY1,MATCH($C2,APM_LOANDEP_PARTYA_EXTERNAL_NAME,0))/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),IF(AND($O2="MISC",$N2="No"),SUMIF(MiscEntries_AccountClass,"
>
> "&$A2,MiscEntries_Day1),IF(AND($O2="Misc",$N2="Yes",$K2="M"),SUMIF(MiscEntries_AccountClass,$C2,MiscEntries_Day1)*INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0)),SUMIF(MiscEntries_AccountClass,$C2,MiscEntries_Day1)/INDEX(ExchangeRate,MATCH(METADATA!$G2,CurrencyRate,0))
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https:

Re: $$Excel-Macros$$ Importing Excel Files

2013-12-29 Thread Anoop K Sharma
just use below line

Application.GetOpenFilename ("All Excel File (*.xls*),*.xls*")


On Sun, Dec 29, 2013 at 8:49 PM, Linda C  wrote:

> Hi Ashish,
>
> Is it possible to actually show all the excel files (both .xls and .xlsx
> version) after clicking Browse button so I can directly click the file to
> be imported?  Instead of clicking the drop-down button to scroll to the
> file?  The reason is the files name could be very long and it would be
> easier if I can actually see the files in the "Please select the folder"
> box.
>
> Thanks a lot!
> Linda
>
>
> On Saturday, 28 December 2013 09:55:28 UTC-5, Linda C wrote:
>>
>> Thank you Ashish!
>>
>> I will look at the file and will let you know if I have further
>> questions. :)
>>
>> On Saturday, 28 December 2013 00:38:21 UTC-5, ashish wrote:
>>>
>>> enable macros
>>>
>>> 1 choose browse button and select the folder having the files and then
>>> choose file to import from first combobox
>>>
>>>
>>> 2 choose the sheet name from 2nd combo box
>>>
>>> 3 click on import button to import data
>>>
>>> Regards
>>> Ashish
>>>
>>>
>>>
>>> On Sat, Dec 28, 2013 at 3:34 AM, Linda C  wrote:
>>>
 Yes, there is only one sheet in those import files.

 Thanks!



 On Friday, 27 December 2013 12:21:09 UTC-5, ashish wrote:

> excel files will have only one sheet right?
>
>
> On Fri, Dec 27, 2013 at 10:48 PM, Linda C  wrote:
>
>> Hi ashish,
>>
>> Thanks for the quick reply!
>>
>> The data range to be imported (A1 to Z20) is fixed for all the import
>> files.
>>
>> Sorry, I may not understand your second question.  Ideally, the
>> master.xlsx file will have a button in tab 1 to import "FileA_Main.xlsx"
>> and another button in tab 2 to import "FileB_Main.xlsx".
>>
>> On a separate note, the files to be imported have a date in the name
>> "FileA_20130101_Main".  Since the import will be done periodically with
>> different dates, I'm thinking of the possible options below:
>>
>> 1. Tab 1 in the master.xlsx will import the file name starting with
>> "FileA_" and ends with "_Main" (is it possible?)
>> 2. Change the code manually each time to specify the new file name
>> (tedious but doable)
>>
>> Your help is greatly appreciated!
>>
>> If there is an easier way, please advise.
>>
>> Thanks!
>>
>>
>> On Friday, 27 December 2013 11:42:49 UTC-5, ashish wrote:
>>
>>> Is ur range fixed and do you want to append also or add the data in
>>> seperate tabs only
>>> Sent on my BlackBerry® from Vodafone
>>> --
>>> *From: * Linda C 
>>> *Sender: * excel-...@googlegroups.com
>>> *Date: *Fri, 27 Dec 2013 08:40:19 -0800 (PST)
>>> *To: *
>>> *ReplyTo: * excel-...@googlegroups.com
>>> *Subject: *$$Excel-Macros$$ Importing Excel Files
>>>
>>> Hello,
>>>
>>> I have trouble creating a macro to import excel files into an active
>>> workbook with UI.
>>>
>>> Let's say there are multiple excel files (.xlsx) in the folder
>>> "C:\Import Files".
>>>
>>> These files have the following file names:
>>> "FileA_Main.xlsx"
>>> "FileA_Sub.xlsx"
>>> "FileB_Main.xlsx"
>>> "FileB_Sub.xlsx"
>>>
>>> The active workbook (let's call it Master.xlsx) will have a UI in
>>> each sheet to import different files from that folder:
>>> Sheet1 in the Master.xlsx file will import cell A1 to Z20 found in
>>> "FileA_Main.xlsx"
>>> Sheet2 in the Master.xlsx file will import cell A1 to Z20 found in
>>> "FileB_Main.xlsx"
>>>
>>> Is it possible?
>>> Thanks in advance!
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>> Advice will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>> and members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to excel-macros...@googlegroups.com.
>>> To post to this group, send email to exc

Re: $$Excel-Macros$$ Privacy Warning for macro enabled excel

2014-01-15 Thread Anoop K Sharma
You can follow the following steps to avoid the privacy warning.
1 Menu Button "on the top left of the excel window"
2 Excel Option
3 Trust Center
4 Trust Center setting
5 Privacy Options
6 un-check the "Remove personal information from file properties on save"


On Thu, Jan 16, 2014 at 12:50 PM, DILIPandey  wrote:

> Can you upload that file (after removing sensitive data) ?
>
>
> Regards,
> DILIPandey
>
>
> On Thu, Jan 16, 2014 at 10:32 AM, Robinson Boreh  wrote:
>
>> Hallo to you all.
>> I converted an excel 2003 with macro to a 2010 excel enabled macro by
>> using save as option. I now get an warning every time i save. The message
>> goes like this *"Privacy warning: This document contains macros, ActiveX
>> controls, XML expansion pack information, or web components . These may
>> include personal information that cannot be removed by Document Inspector."*
>> How do i get rid of this message?
>>
>> Regards,
>> Boreh
>>
>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Thanks & Regards,
>
> DILIP KUMAR PANDEY, 
> mvp
>MBA,BCA,B.Com(Hons)
> UAE +971 528225509 India +91 9810929744
> dilipan...@gmail.com, dilipan...@yahoo.com
>
> Skype: dilipandey | Gtalk: dilipandey | Yahoo: dilipandey
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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

Re: $$Excel-Macros$$ Class Module for Checkboxes

2014-01-16 Thread Anoop K Sharma
Use loop... like
for each chkBox in thisworkbook.worksheet
   'your code
next chkbox..

you need to declare chkbox as an object. Please do share your workbook..



On Thu, Jan 16, 2014 at 3:52 AM,  wrote:

>
> Hello All:
>
> To created a class module for the execution of a macro by any userform
> command button the declaration is:
>
> Public WithEvents ButtonGroup As MsForms.CommandButton
>
> Do you know how to declare the same thing for a group of checkboxes
> embedded on a worksheet?
>
> Thank you,
>
> - Nyc.Actuary
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Re: ListFillRange Property of ActiveX ListBox

2014-01-22 Thread Anoop K Sharma
Hi Rob,

Please have look at attached one...


On Thu, Jan 23, 2014 at 6:48 AM, Rob Flott  wrote:

>
>
> On Wednesday, January 22, 2014 3:36:19 PM UTC-8, Rob Flott wrote:
>>
>> Using MS Excel 2010 I have an ActiveX ListBox and want to load a range of
>> names.  This range will vary, and I have a Named Cell that identifies the
>> range.  For example the range of names in one example is A3:A8.  But in
>> another example that range could be A3: A21.  I would like the ListBox to
>> load only the relevant cells, but when I enter the Named Cell all I get is
>> the actual address (A3:A8) and not the corresponding names that should
>> appear.  I tried using INDIRECT (like I would with a Vlookup) but no luck.
>>
>> Is it possible to enter the named cell into the ListFillRange so the
>> proper names appear?
>>
>> If so please show me how.
>>
>> Thank you very much
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Copy of Example Wkbk.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12


Re: $$Excel-Macros$$ Re: ListFillRange Property of ActiveX ListBox

2014-01-26 Thread Anoop K Sharma
Sorry, I din't see the mail.. I hope it worked well..

Thanks Ricardo..


On Sun, Jan 26, 2014 at 10:10 PM, Rob Flott  wrote:

> Ricardo,
>
> Thank you very much, I really appreciate your help.
>
> Rob
>
> On Fri, Jan 24, 2014 at 7:15 PM, Ricardo®  wrote:
>
>>  Hi Rob,
>> To solve the problem of error, you can delete this (
>> Sheets("List3").Select ), it will not affect the main macro.
>>
>> Basole
>>
>>
>>
>>
>> 2014/1/24 Rob Flott 
>>
>>> Anoop,
>>>
>>> When I opened the file I got run time error '57121'
>>> "Application-defined or object-defined error"
>>> And when I clicked Debug it took me to the Sub Workbook Open() and
>>> highlighted the line  Sheets.("List").select
>>> Any ideas as to why I'd get that error message?
>>>
>>> Thank you for your help with this.
>>>
>>> Rob
>>>  On Thu, Jan 23, 2014 at 2:21 AM, Anoop K Sharma >> > wrote:
>>>
>>>>   Hi Rob,
>>>>
>>>> Please have look at attached one...
>>>>
>>>>
>>>>  On Thu, Jan 23, 2014 at 6:48 AM, Rob Flott  wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wednesday, January 22, 2014 3:36:19 PM UTC-8, Rob Flott wrote:
>>>>>>
>>>>>> Using MS Excel 2010 I have an ActiveX ListBox and want to load a
>>>>>> range of names.  This range will vary, and I have a Named Cell that
>>>>>> identifies the range.  For example the range of names in one example is
>>>>>> A3:A8.  But in another example that range could be A3: A21.  I would like
>>>>>> the ListBox to load only the relevant cells, but when I enter the Named
>>>>>> Cell all I get is the actual address (A3:A8) and not the corresponding
>>>>>> names that should appear.  I tried using INDIRECT (like I would with a
>>>>>> Vlookup) but no luck.
>>>>>>
>>>>>> Is it possible to enter the named cell into the ListFillRange so the
>>>>>> proper names appear?
>>>>>>
>>>>>> If so please show me how.
>>>>>>
>>>>>> Thank you very much
>>>>>>
>>>>> --
>>>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>>>> https://www.facebook.com/discussexcel
>>>>>
>>>>> FORUM RULES
>>>>>
>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>>>> Advice will not get quick attention or may not be answered.
>>>>> 2) Don't post a question in the thread of another member.
>>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>>> measure.
>>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>> 5) Jobs posting is not allowed.
>>>>> 6) Sharing copyrighted material and their links is not allowed.
>>>>>
>>>>> NOTE : Don't ever post confidential data in a workbook. Forum owners
>>>>> and members are not responsible for any loss.
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to excel-macros+unsubscr...@googlegroups.com.
>>>>>
>>>>> To post to this group, send email to excel-macros@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/excel-macros.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>  Regards,
>>>> Anoop
>>>> Sr. Developer
>>>> Facebook ID - https://www.facebook.com/anooop.k.sharma
>>>>
>>>> --
>>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>>> It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>>> https://www.facebook.com/discussexcel
>>>>
>>>> FORUM RULES
>>>>
>>>> 1) Use concise, acc

Re: $$Excel-Macros$$ looking for help on skipping highlighted cells with VBA macro

2014-01-31 Thread Anoop K Sharma
Can you please share your file?


On Thu, Jan 30, 2014 at 5:13 AM, Scott Little wrote:

> Hello,
> I have been working on a VBA macro that is taking data entered from one
> sheet and matching to a column on another sheet used as a database. The
> matching process works fine, I can get the data entered to match in the
> database and highlight the font so it is distinguishable. The issue is that
> for the next round of entered data, I want the macro to skip the colored
> font. I have tried Offset, hiding the cells, deleting them, etc. but to no
> avail. I have a second macro that resets all of the matched values back to
> normal so at the end it can start again. Here is my VBA code; the "rng5" is
> where I am trying to figure out to skip over the colored fonts i.e. color
> index=3. I put in an Else count to verify it is counting the colored or
> black bells-depending on the color index. Any suggestions would be
> appreciated.
> PS I also posted this on Linked in Excel Developers.
> Thanks,
>
>
> Sub Skip_Fonts()
>
> Dim rng1 As Range, c As Range, cfind As Range, rng2 As Range, rng3 As
> Range, d As Range, dfind As Range, rng4 As Range, e As Range, rng5 As
> Range, s As Double, n As Long
>
> Application.ScreenUpdating = True
>
> Worksheets("User").Activate
>
> 'searches for matching stage lanes from Gui
>
> Set rng1 = Range(Range("i13"), Range("i20").End(xlUp))
>
> Worksheets("Dbase").Activate
>
> Set rng2 = Range(Range("C2"), Range("C500").End(xlUp))
>
> 'Finds matches then highlites in Dbase
>
> For Each c In rng2
>
>If IsEmpty(cell) Then
>
> Set cfind = rng1.Cells.Find(what:=c.Value, lookat:=xlWhole)
>
> If Not cfind Is Nothing Then c.Font.ColorIndex = 3
>
>End If
>
> Next c
>
> 'searches for matching stage lanes from WMS report
>
> Worksheets("Dbase").Activate
>
> Set rng3 = Range(Range("N2"), Range("N500").End(xlUp))
>
> Set rng4 = Range(Range("C2"), Range("C500").End(xlUp))
>
> 'Finds matches then highlites in Dbase
>
> For Each d In rng4
>
>If IsEmpty(cell) Then
>
> Set dfind = rng3.Cells.Find(what:=d.Value, lookat:=xlWhole)
>
> If Not dfind Is Nothing Then d.Font.ColorIndex = 3
>
>End If
>
> Next d
>
> Set rng5 = Range(Range("C2"), Range("C500").End(xlUp))
>
> For Each e In rng5 'set the desired range
>
> If (e.Font.ColorIndex = 3) _
>
> Then 'use the matched stage lane
>
> 'Here is the matching formula on the Gui-this what I want to skip
> to next value if colored font
>
> 'Sheets("User").Range("e13").Value =
> Evaluate("=INDEX(Dbase!c2:c500,MATCH(E11,Dbase!a$2:a$500,0))")
>
> 'e.Offset(1, 0) = e; tried using offset but would only add to
> existing cells.
>
>'what else would work to match the cells '.Delete shift:=xlUp
>
> Else
>
> n = n + 1
>
> 'skip the stage if e.Font.ColorIndex = 1; it is black font
>
> End If
>
> Next e
>
> If n > 0 Then
>
> MsgBox "black cells=" & n
>
> Else
>
> MsgBox "no black cells"
>
> End If
>
> Worksheets("User").Activate
>
> Application.ScreenUpdating = False
>
> End Sub
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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

2014-02-05 Thread Anoop K Sharma
Welcome to the Group!!!


On Wed, Feb 5, 2014 at 3:09 PM, Raj Mahapatra wrote:

> Hi all,
>
> I m rajesh mahapatra from mumbai...i have learnt many macro trics from
> this group and hoping to see many morethanks
> On 4 Feb 2014 11:54, "Nitin Mittal"  wrote:
>
>> Hi All, I am Nitin Mittal, working as HR Manager in Stonehill
>> International School Bangalore. I want to learn advanced Excel and VBA,
>> hence joined here.
>>
>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ recordset vs collections

2014-02-13 Thread Anoop K Sharma
There is a recordset property which lock the data while reading it through
query.


On Thu, Feb 13, 2014 at 5:41 PM, Keith Willis wrote:

> Hi all
>
> I'm developing a project thats going to be a excel front end to a SQL db.
> One part of the required functionality is that you performa a search on the
> database and return possibly mutliple records for review or amendment on a
> userform. Normally i read data from a recordset into a collection so i'm
> not constantly requerying the db, but it's occoured to me for this that if
> i use a collection and close the recordset then it';s concievably possible
> that another user might access one of the already open records and change
> the data leading to a concurrancy problem. Would using a recordset to
> return the results and use as the source for the data displayed in the form
> solve this problem?
>
> Thanks
>
> Keith
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ recordset vs collections

2014-02-13 Thread Anoop K Sharma
or use this one.

http://msdn.microsoft.com/en-us/library/office/aa141422%28v=office.10%29.aspx


On Thu, Feb 13, 2014 at 6:00 PM, Anoop K Sharma wrote:

> There is a recordset property which lock the data while reading it through
> query.
>
>
> On Thu, Feb 13, 2014 at 5:41 PM, Keith Willis wrote:
>
>> Hi all
>>
>> I'm developing a project thats going to be a excel front end to a SQL db.
>> One part of the required functionality is that you performa a search on the
>> database and return possibly mutliple records for review or amendment on a
>> userform. Normally i read data from a recordset into a collection so i'm
>> not constantly requerying the db, but it's occoured to me for this that if
>> i use a collection and close the recordset then it';s concievably possible
>> that another user might access one of the already open records and change
>> the data leading to a concurrancy problem. Would using a recordset to
>> return the results and use as the source for the data displayed in the form
>> solve this problem?
>>
>> Thanks
>>
>> Keith
>>
>> --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Regards,
> Anoop
> Sr. Developer
> Facebook ID - https://www.facebook.com/anooop.k.sharma
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Attach potentially multiple embedded OLEObjects from excel into an outlook message

2014-03-03 Thread Anoop K Sharma
Please share you Excel file


On Tue, Mar 4, 2014 at 3:54 AM, Chip Hansel  wrote:

> I am working on sending an email based on inputs from one of several
> sheets.
>
> In addition to the specific cells i am using as body, a various sheet may
> have an embedded file (word, pdf, another excel spreadsheet and maybe more).
>
> How do I attach and embedded OLEObject or OLEObjects into that email from
> the selected sheet?  I have highlighted in red my problem area.  This will
> run.  But the issue is that it doesn't attach any file to the email.
>
> Thanks in advance.
>
> below is my code so far...
>
> Dim OutApp As Object
> Dim OutMail As Object
>
> Set OutApp = CreateObject("Outlook.Application")
> Set OutMail = OutApp.CreateItem(0)
>
> On Error Resume Next
> Application.ScreenUpdating = False
>
> With OutMail
>
> .BodyFormat = olFormatRichText
>
> .Subject =
> wbDestination.Sheets(strType).Range(cCELLFOREMAILSUBJECTLINE).Value
>
> strTemp1 = getToEmailNames(individual)
> .To = getEmailNamesBasedOnArrayOfNames(strTemp1)
>
> strTemp2 = getCCEmailNames(individual)
> If Len(strTemp2) > 0 Then
> .CC = getEmailNamesBasedOnArrayOfNames(strTemp2)
> End If
>
> .body = getEmailBody(strType,)
>
>
>
> *For Each oEmbFile In wbDestination.Sheets(strType).OLEObjects*
> *Set oAttachObject = oEmbFile.Object*
> *.Attachments.Add oAttachObject, 6*
> *Next*
>
> If frmSendNotification.chkSendEmailWithOutDisplay.Value = False Then
> .Display
> Else
> .Send
> End If
>
> With Application
> .EnableEvents = True
> .ScreenUpdating = True
> End With
>
> End With
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Link Custom Toolbar with a file

2014-03-07 Thread Anoop K Sharma
Can you share the module or AddIn?


On Fri, Mar 7, 2014 at 1:39 PM,  wrote:

> Thanks Clive but iy didn't help.
> What I guess I'm looking for is an event that is triggered when a
> programme is brought back to the full page state from the diminished state
> on the Task Bar.
> donwb
>
>
> On Tuesday, 4 March 2014 18:40:43 UTC, clive r wrote:
>
>> You could MAYBE try "RECORD MACRO"  to manually invoke the toolbar,
>> then look at the auto-generated code for clues.
>>
>>
>> On 4 March 2014 18:19,  wrote:
>>
>>>  I am using Excel 2003 on Windows 7 Pro 64 bit
>>>
>>> When I open a file I need to call up an associated Custom Toolbar.
>>>
>>> I have written VBA modules to do this and they work OK.
>>>
>>> However when I reduce the application to the TaskBar (pressing"_"),
>>>
>>> then retrieve it by clicking it's Icon on the TaskBar, it opens OK, but
>>> without the toolbar.
>>> The code below is in place:-
>>>
>>>
>>> *Sub Auto_Open()*
>>>
>>> *Application.ScreenUpdating = False*
>>>
>>> *Application.EnableEvents = False*
>>>
>>> *Application.CommandBars("MyToolbar").Visible = True*
>>>
>>> *More code.*
>>>
>>>
>>>
>>> *And under "This Workbook":-*
>>>
>>> *Private Sub Workbook_Activate()*
>>>
>>> *Application.ScreenUpdating = False*
>>>
>>> *Application.CommandBars("MyToolbar").Visible = True*
>>>
>>> *On Error GoTo Line1*
>>>
>>> *Workbooks("Book1.xls").Close savechanges:=False*
>>>
>>> *Line1:*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> *Private Sub Workbook_Deactivate()*
>>>
>>> *Application.ScreenUpdating = False*
>>>
>>> *On Error GoTo Line1*
>>>
>>> *Application.WindowState = xlMinimised*
>>>
>>> *Line1:*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> *Private Sub MyShutdown()*
>>>
>>> *Application.ScreenUpdating = False*
>>>
>>> *UserForm4.Show*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> *Private Sub Workbook_Open()*
>>>
>>> *Application.CommandBars("MyToolbar").Visible = True*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> *Private Sub Workbook_SheetActivate(ByVal Sh As Object)*
>>>
>>> *Application.CommandBars("MyToolbar").Visible = True*
>>>
>>> *Call Load*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> *Private Sub Workbook_WindowActivate(ByVal Wn As Window)*
>>>
>>> *Application.ScreenUpdating = False*
>>>
>>> *Application.CommandBars("MyToolbar").Visible = True*
>>>
>>> *LS = Worksheets("CBs").Range("MyLastSheet").Value*
>>>
>>> *Application.Worksheets(LS).Select*
>>>
>>> *Line1:*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> *Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)*
>>>
>>> *Application.CommandBars("MyToolbar").Visible = False*
>>>
>>> *End Sub*
>>>
>>>
>>>
>>> but none of this activates the toolbar.
>>>
>>> Help please
>>>
>>> donwb
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
>>> It's =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to excel-macros...@googlegroups.com.
>>> To post to this group, send email to excel-...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails fr

Re: $$Excel-Macros$$ Save only a few sheets

2014-03-28 Thread Anoop K Sharma
Share your Excel file


On Fri, Mar 28, 2014 at 12:04 PM, Stefano Tagliaferri
wrote:

>
>
> Hello! Sorry for my English (Google translator)!
> I would like to write an Excel macro that can save to a different folder
> of the active, two or three sheets belonging to the folder where I'm
> working.
> It's possible? Thanks for your help
> Stefano
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ extracting zip codes from addresses

2014-03-28 Thread Anoop K Sharma
Hi Joseph,

Please have a look at attached one.. The formula'll work for 5 digit Zip
code only.


On Fri, Mar 28, 2014 at 3:17 PM, joseph liech wrote:

> thanks for your attention.
> please help me.
>
>
> On Thu, Mar 27, 2014 at 12:05 AM, Divaker Pandey wrote:
>
>> can you provide please sample file.
>>
>> Divaker
>>
>>
>> On Wed, Mar 26, 2014 at 5:51 PM, joseph liech 
>> wrote:
>>
>>> hi everyone
>>>
>>> i have looked around most postings here but none was similar to my
>>> situation.
>>>
>>> i need help please, or kindly pls suggest me where i can get help.
>>>
>>> everyday i received about 100 customers' addresses. it is in 1 row for
>>> each address, but all the address details are lumped into 1 cell.
>>>
>>> the house number, building name, street name, city, state and zipcode
>>> are all lumped into 1 cell, so it makes zip code sorting impossible. the
>>> placing of the zip code itself  in the addresses are not even fixed.
>>>
>>> the zip codes are made of only 5 digit long numbers eg 01234 or 23456
>>> etc etc (malaysia zip codes).
>>>
>>> so the macros should find the zip code in the cell and copy it to the
>>> next cell on the right. then go to the next row below and do the same.
>>> this way i can do the zip code sorting.
>>>
>>> please 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 http://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/excel-macros/LAuOdGy22MU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> excel-macros+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To 

Re: $$Excel-Macros$$ Error occured during opening the file

2014-04-03 Thread Anoop K Sharma
Save as the file and create links again.. Make you you haven't change the
MS Platform version to lower.


On Fri, Apr 4, 2014 at 11:43 AM, Ashish Bhalara
wrote:

>
> Dear expert,
>
> There are Error occur during opening the file of "Excel found unreadable
> content in ''. Do you want to recover the contents of this
> workbook?."
>
> There are also sometime problem create during the opening file and Excel
> gone to task of Recover of file content and open as [Repaired] file.
>
> This file contain many sheets and conditions of also linking of each
> sheets. To complete the task of copy paste in new work book is so hard to
> write all conditions & macros. Kindly give the proper solution regarding
> this matter.
>
> There are also message coming with log file in xml which mention below.
>
> 
>  -  xmlns="*http://schemas.openxmlformats.org/spreadsheetml/2006/main
> *">
>error008880_01.xml
>Errors were detected in file 'D:\Ashish\Share
> Document\Account Statement from Apr-2014.xlsm'
>  - 
>Removed Records: Object from
> /xl/printerSettings/printerSettings5.bin part (Print options) removedRecord>
>   
>   
>
> Thanks & regards.
> Ashish Bhalara
> 9624111822
> P*Please do not print this email unless it is absolutely necessary.
> Spread environmental üawareness.♣♣♣*
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


Re: $$Excel-Macros$$ Over 33,554 rows problem

2014-06-02 Thread Anoop K Sharma
can you share your file?


On Sat, May 31, 2014 at 2:57 AM, Bill Q  wrote:

> Hi,
>
> I am using Excel 2010. I have a macro web query that downloads various
> information. It works fine. No issue there. The only issue that I have is
> that it will stop if it encounters more than 33 or 34 thousand rows of
> information. I have unchecked the box in "advanced options" that will not
> alert me if the number of cells is over 33,554. I thought that would do the
> trick - but no success.
>
> Any suggestions ?
>
> Thanks.
>
>
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Anoop
Sr. Developer
Facebook ID - https://www.facebook.com/anooop.k.sharma

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

FORUM RULES

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

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


  1   2   >