Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Stricky
 
Posts: n/a
Default How do I insert the keystroke ShiftF3 into a cell?

I am trying to design a very simple macro where by data can be copied and
pasted to another computer programme from excel. The problem I have is that
the other software programe uses the keystroke shiftF3 to clear a field and I
cannot replicate this keystroke in excel. How would I enter these keystrokes
into a cell so that when pasted they would perform the function in the other
programme rather than trying to data enter it?
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

not sure about the 'How would I enter these keystrokes into a cell so that
when pasted ..' bit of your question, but if you're looking at how to
incorporate a line in your code that mimics the user pressing Shift & F3
then check out "sendkeys statement" in VBA help (alt & f11 to get to the vbe
window and use the help from in there).

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Stricky" wrote in message
...
I am trying to design a very simple macro where by data can be copied and
pasted to another computer programme from excel. The problem I have is
that
the other software programe uses the keystroke shiftF3 to clear a field
and I
cannot replicate this keystroke in excel. How would I enter these
keystrokes
into a cell so that when pasted they would perform the function in the
other
programme rather than trying to data enter it?



  #3   Report Post  
stricky
 
Posts: n/a
Default

Thanks Julie!

I'm not much of a technical person so I dont know anything about VBA?

I have read about the sendkeys statement but I dont know how to insert the
following statement into one or more cells...

Sub
SendKeys "+{F3}"
End Sub

I am hoping that the out come will be that when I copy the cell and then
paste it to the other software programme it will run the command rather than
trying to type it.

Cheers .

"JulieD" wrote:

Hi

not sure about the 'How would I enter these keystrokes into a cell so that
when pasted ..' bit of your question, but if you're looking at how to
incorporate a line in your code that mimics the user pressing Shift & F3
then check out "sendkeys statement" in VBA help (alt & f11 to get to the vbe
window and use the help from in there).

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Stricky" wrote in message
...
I am trying to design a very simple macro where by data can be copied and
pasted to another computer programme from excel. The problem I have is
that
the other software programe uses the keystroke shiftF3 to clear a field
and I
cannot replicate this keystroke in excel. How would I enter these
keystrokes
into a cell so that when pasted they would perform the function in the
other
programme rather than trying to data enter it?




  #4   Report Post  
JulieD
 
Posts: n/a
Default

mmm, sorry, not sure that is actually possible ... i though you were trying
to send a command via vba to another program rather than having a stream of
data in cells, exported and imported into the other program ... not sure how
you would achieve that.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"stricky" wrote in message
...
Thanks Julie!

I'm not much of a technical person so I dont know anything about VBA?

I have read about the sendkeys statement but I dont know how to insert the
following statement into one or more cells...

Sub
SendKeys "+{F3}"
End Sub

I am hoping that the out come will be that when I copy the cell and then
paste it to the other software programme it will run the command rather
than
trying to type it.

Cheers .

"JulieD" wrote:

Hi

not sure about the 'How would I enter these keystrokes into a cell so
that
when pasted ..' bit of your question, but if you're looking at how to
incorporate a line in your code that mimics the user pressing Shift & F3
then check out "sendkeys statement" in VBA help (alt & f11 to get to the
vbe
window and use the help from in there).

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Stricky" wrote in message
...
I am trying to design a very simple macro where by data can be copied
and
pasted to another computer programme from excel. The problem I have is
that
the other software programe uses the keystroke shiftF3 to clear a field
and I
cannot replicate this keystroke in excel. How would I enter these
keystrokes
into a cell so that when pasted they would perform the function in the
other
programme rather than trying to data enter it?






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 do i insert the current time into a cell, and show different . Dave Excel Discussion (Misc queries) 1 March 22nd 05 06:57 PM
insert a new cell into an existing formula Debbie Excel Discussion (Misc queries) 3 March 14th 05 06:46 PM
Adding a control button to insert a date in the active cell. Mike Excel Discussion (Misc queries) 2 February 15th 05 06:27 PM
automatically insert system time in a cell PM Excel Discussion (Misc queries) 2 December 30th 04 04:56 PM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM


All times are GMT +1. The time now is 09:30 PM.

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

About Us

"It's about Microsoft Excel"