#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default input box

is there a way i can put an input box on my spread sheet, where the user can
type in a job # and it will take them to that cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default input box

If you have a date, you can get the day name with code like the
following:


Dim DayName As String
DayName = Format(Now, "dddd")
MsgBox DayName



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"steve" wrote in message
...
is there a way i can put an input box on my spread sheet, where
the user can
type in a job # and it will take them to that cell?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default input box

Dim rng As Range

set rng = Application.Inputbox("Select a cell",Type:=8)
If rng Is Nothing Then
rng.select
End If

This techniwue allows you to select a range from within the inputbox, and
that range is returned.

--
HTH

Bob Phillips

"steve" wrote in message
...
is there a way i can put an input box on my spread sheet, where the user

can
type in a job # and it will take them to that cell?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default input box

Dim rng As Range
set rng = Application.Inputbox("Select a cell",Type:=8)
If rng Is Nothing Then
'do nothing
else
rng.select
End If

I bet you dropped a Not somewhere. Please check the floor near the pc.

Bob Phillips wrote:

Dim rng As Range

set rng = Application.Inputbox("Select a cell",Type:=8)
If rng Is Nothing Then
rng.select
End If

This techniwue allows you to select a range from within the inputbox, and
that range is returned.

--
HTH

Bob Phillips

"steve" wrote in message
...
is there a way i can put an input box on my spread sheet, where the user

can
type in a job # and it will take them to that cell?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default input box

Found it, next to the On Error <vbg

Bob

"Dave Peterson" wrote in message
...
Dim rng As Range
set rng = Application.Inputbox("Select a cell",Type:=8)
If rng Is Nothing Then
'do nothing
else
rng.select
End If

I bet you dropped a Not somewhere. Please check the floor near the pc.

Bob Phillips wrote:

Dim rng As Range

set rng = Application.Inputbox("Select a cell",Type:=8)
If rng Is Nothing Then
rng.select
End If

This techniwue allows you to select a range from within the inputbox,

and
that range is returned.

--
HTH

Bob Phillips

"steve" wrote in message
...
is there a way i can put an input box on my spread sheet, where the

user
can
type in a job # and it will take them to that cell?


--

Dave Peterson





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default input box

You'll want an On Error Resume Next before the InputBox statement
in case the use clicks cancel.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bob Phillips" wrote in message
...
Dim rng As Range

set rng = Application.Inputbox("Select a cell",Type:=8)
If rng Is Nothing Then
rng.select
End If

This techniwue allows you to select a range from within the
inputbox, and
that range is returned.

--
HTH

Bob Phillips

"steve" wrote in message
...
is there a way i can put an input box on my spread sheet,
where the user

can
type in a job # and it will take them to that cell?





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to input pictures automatically based on cell input? bsharp Excel Worksheet Functions 9 May 30th 09 07:16 AM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
How do I add input data in the input ranges in drop down boxes. oil_driller Excel Discussion (Misc queries) 1 November 9th 05 10:31 PM
=SUMIF(Input!H2:H718,AZ19,Input!E2:E685)AND(IF ALex Excel Worksheet Functions 2 March 14th 05 09:19 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"