how can i search for sheet with any part of sheet name
hi every on
i need code for userform of textbox and listbox to search for any
sheet in workbook with any part of that sheet name on i enter on
textbox to populate on listbox all sheets named contain that enterd
text on textbox .
any help appreciated .
This code takes a string and searches the sheet name for it. Set strData to
your textbox value and instead of msgbox, do a listbox.add
Dim strData As String
strData = "Dat"
For i = 1 To ThisWorkbook.Sheets.Count
For j = 1 To Len(ThisWorkbook.Sheets(i).Name) - Len(strData) + 1
If UCase(Mid(ThisWorkbook.Sheets(i).N...Change name in From section
How do I change how my name is displayed in the From section of my mailbox?
Go to Tools, Accounts, select that account, click Properties.=20
On the General tab you can change the displayed name.
Gary VanderMolen, Microsoft MVP (Mail)
"kabutton" <email@example.com> wrote in message =
> How do I change how my name is displayed in the From section of my =
...How do I insert Roman Numerals?
New to Word 2007 would someone please explain to me how to insert Roman
Numerlas in my document?
"ckj" <firstname.lastname@example.org> wrote in message
> New to Word 2007 would someone please explain to me how to insert Roman
> Numerlas in my document?
Just type them...
Type a number e.g. 21, select it and run the following macro
Dim oRng As Range
Set oRng = Selection.Range
oRng.Fields.Add oRng, 34, oRng.Text & " \*Roman"...Lookup selective from another sheet
Assume I have one sheet as below. How can I create a new sheet and display
only those entrys that are greater than a entered value.
i.e main sheet
on second sheet, if 4 is entered only entrys >4 are shown. i.e
Try something like this:
Your main sheet is A1-b6 and Sheet 2 is A1:B4
"Jim" <Jim Forrest@hotmail.com> wrote in message
> Assume...Insert trigger
Looking for some advice on SQL 2005. I have a table that will usually be
populated by an SSIS package. I want to set the "loaddate" column to the
current time after a record is inserted. Should i do this via trigger or
should i just build a step in the SSIS package to update the column after the
If trigger is the way to go, what is the syntax to create the after insert
Thanks in advance.
You can create a default constraint on the table set to CURRENT_TIMESTAMP. That will handle the automatic date
assignment without any need for coding.
-...Control Name when New workbook opened from a template
How can I control the name of a new workbook opened from template?
Such as using MyWorkbook.xlt to open MyWorkBookToday.xls instead of
SC from Lubbock, Texas
The name of the file (including the extension) is set when you (or the user)
saves the file.
I don't think you can control how excel names workbooks that are created based
on template files.
Well, you could provide a macro that creates the file and then saves the file
with the name (and location) you want.
SC in Texas wrote:
> How can I control the name of a new work...XL 2000 Changes File Name for Save
When I save my Excel spreadsheet, Excel adds a 1 to the
file name (file.xls becomes file1.xls). When I remove the 1
and save it, it responds with the overwrite message? It
just started doing this several weeks ago and I can't
figure out why. Anyone know what's going on?
Are you sure that the additional 1 is added when you're doing the save?
Could it have been added when you were opening the workbook? If you try it
again, do you see: File1 (instead of File.xls) in the title bar?
If yes, then it sounds like you've opened the file via a double click in windows
explorer. And ...Variable field names?
I am trying to execute the following code: -
strSQL = strSQL & Nz([" & strCOM_Year & "], 0)
where strCOM_Year is a string I want the system to use as a field
name. It doesn't like this. Keeps saying 'can't find the field "|"
referred to in you expression', even though I can clearly see in the
debug window that the current value of strCOM_Year is "2006/2007".
i.e. I am looking for the value in the field called 2006/2007.
> I am trying to execute the following code: -
> str...inserting hrs and minutes
I have a cell in my time card that displays total weekly time -ex-
"40:15" is there a way to make it more like this...40hrs,15mins
Message posted from http://www.ExcelForum.com
Use a custom format hh"hrs",mm"mins"
"-Brian-H- >" <<Brian-Hemail@example.com> wrote in message
> I have a cell in my time card that displays total weekly time -ex-
> "40:15" is there a way to make it more like this...40hrs,15mins ?
> ...Worksheet name in cell formula
I asked this question a while ago and got a prompt answer which I thought
was what I wanted but alas its not...
I want to be able to change my worksheet names.....ie: from Sheet 1, Sheet
2, etc etc.....to something more meaningful.....eg Sales, Expenses....etc
etc.... and have these changes reflect on the worksheet.
For example, I might want Sheet 1 Cell A1 to say.....This is the Sales
worksheet (assuming I have renamed it to Sales).
The answer I was given some time back worked.....but it changed the formula
on every worksheet to reflect the name of the last changed sheet.
By this I mean.....insert an interactive excel file into word web page
I'm trying to insert a excel file into a word document with text, and then
save it was as a web page, but I want to keep the excel part interactive.
...Insert | File > Attachmnet-Button Drop Down ;What is the difference between Insert and Insert As Attachmnet
re: "Outlook2003, File-Insert-Options"
On making new-email with Attachment-File(s),
File Menu | Insert | File >>> (Brows and select File to insert )
then we can see the button "Insert", and write side
Drop Down Arrow lower-right side of Dialog Box;
If it clicked,
we can see three options as follows:
Insert as text
Insert as Attachment
I can not recognize/understand the difference
between "Insert" and "Insert as Attachment"
What is the difference between Insert and Insert As Attachment ?
I would appreciate y...Name Change Policy
Just wanted to get some opinions on how different IT departments handle name
changes. When someones last name changes, do you change the logon ID?
On Mon, 14 Feb 2005 08:25:02 -0800, SBasinger
>Just wanted to get some opinions on how different IT departments handle name
>changes. When someones last name changes, do you change the logon ID?
You rename the account and rename the alias.
That will force RUS to stamp a different SMTP address on the account.
You then edit the smtp addresses on the account to add the old smtp
addr...Message headers, attachments, and the message body may be lost in Outlook 2003 when you reply to an e-mail message that contains a References header that exceeds 1,000 bytes
Refer to below hot fix, just wonder which microsoft patches can fix below
issue, as installing the hot fix manually is killing
Here is my problem,
I have a database with an assortment of data in a that takes place on many
multiple days, and on each day i have multilple entries, and this database
grows everyday, i.e.
Date Time Amount category
1/1/10 1:00 x y
1/1/10 2:00 x y
1/1/10 3:00 x y
1/31/10 1:00 x y
1/31/10 2:00 x y
What i want to do is have a worksheet that corresponds to each individual
days worth of data. So when i put a date in the corresponding cell at the
top of the any ne...Schema reference
I'm looking for a reference to the AD attributes and what processes fill
i.e. what user attributes get updated when a user logs on or off.
Am 15.03.2010 19:26, schrieb Chris:
> I'm looking for a reference to the AD attributes and what processes fill
> i.e. what user attributes get updated when a user logs on or off.
Huuh, I guess you won't find a reference like that anywhere. What you
could do is download Sysinternals' ADExplorer. It allows snapshot
creation and comparison. Take a snapshot, do some action to the
dire...Inserting Hyperlinks in a Protected Sheet
I run Excel 2000 and I have a protected worksheet that I share wit
users in my organisation. I want to allow the insertion of a hyperlin
to a specific file type within a specified directory on our server.
1.Protection on disables the insert hyperlink command. Can this b
overcome with worksheet activate code?
2.Can I limit the types of files (preferably by requiring the file t
meet a mask format eg "z-*.xls")?
3.Can I limit the directory that can be linked, by referring to
pathname stored in a cell on the active sheet?
Would appreciate your suggestions.
Thanks S...Insert with a where condition
Hi, sql 2005
I have an insert statement that is ignoring the where condition. That is, I
want to insert records when they do not already exist in the destination
INSERT INTO dbo.tblmnuGroupPerm
FROM dbo.locmnuTabFunction AS ltf
ltf.mtfID NOT IN
FROM dbo.tblmnuGroupPerm AS gp
Any ideas or recommendations appreciated :-)
It's OK... <oops "redFace">I did not correctly se...IF and LOOKUP Problems
I am having 1 major problem currently, and will have another problem
potentially in the near future.
In the last tab "Weekly Time Sheet", I have created a pivot table,
which works to perfection. I have also created in Column A a
description for each of the codes given in the pivot table. This
description is pulled from a range that has been created in N18:O76.
However, the problem is, I can't seem to figure out how to have a blank
cell show up if there is not a code given in column B. There is no
guarantee that I will work on the same projects on a weekly basis. Is
there a w...Insert
I want to overtype in a Publisher text box. I find I can only insert. The
"insert" key doesn't do anything.
...Adding to a range in a reference?
I'm modifying an existing workbook. One of my drop down lists has its
text options provided by means of a 'Defined Name': Choices.
The Name 'Choices' refers to the text items in a group of adjacent
cells, in a row, on another worksheet called 'Info'. The reference is a
I want to add an extra item of text to increase the number of options
in the drop down list. So as not to disturb the location of cells
defined by other references, I tried to append the new cell downwards
from the group in the row.
I tried this: ='Info'!$D$7:..."Lookup" data type
I´m using the deployment manager to create a new lookup filed chema but when
I click on the dropdown box to select the data type, the "lookup" data type
doesn´t appear. I´ve got the customization manual and that data type is
supposed to appear in the list. How can I add it?
Deployment Manager in CRM 1.* does not let you add a Lookup data type
"Talei" <Talei@discussions.microsoft.com> wrote in message
> I�m using the deployment manager to create a new lookup filed chema but
> I ...Using Named Range for filename
I have a workbook that references various other workbooks on the server.
All the files relate to the current month, so every month we do a
find/replace to update the filenames.
What I would like to do is store the filenames in the workbook and have each
on as a named range.
So instead of the formula =[g:\finance\shared]book1.xls!a2 I can use
I've tried doing this but each time it opens up the file explorer window and
asks for a file.
Thanks in advance
How about just making each one of your stored names as a Hyperlink?
Vaya con Dios,
"...how to insert data in a table
I am creating an access database in which I want to insert data in
already created table.
Vikky <firstname.lastname@example.org> wrote in news:1194124711.012302.269990
> Hi Exprets;
> I am creating an access database in which I want to insert data in
> already created table.
> Kindly help.
Data from where? Do you want to import it from excel, from a text
file, copy it from another table or type it in manually?
PA is y I've altere...How do you insert page numbers larger than 1000?
I have my purchase orders set up as a Publisher document. When our
organization upgraded from Publisher 2000 to Publisher 2002, the new version
set parameters on the page numbers. This was one of those things that worked
just fine in the previous version... Does anyone know how to turn it off or
Hi mregen (email@example.com),
in the newsgroups
|| I have my purchase orders set up as a Publisher document. When our
|| organization upgraded from Publisher 2000 to Publisher 2002, the new
|| version set parameters on the page numbers. This was one of those...