Thread
:
entering data on another sheet
View Single Post
#
3
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
entering data on another sheet
try putting the dot ( . ) before range. Look in help for with.
--
Don Guillett
SalesAid Software
"Tony Zappal" wrote in message
...
Hi All,
I have the below code which i was hoping would work.
It's supposed to enter the varable defined from the userform1 onto another
sheet which doesn't have focus. However, it enters it onto current sheet,
not
onto the RecsC sheet.
Can anyone please help? I've tried different combinations, but cant get it
to work.
Cheers.
Tony.
----------------------------------------------------
With Worksheets("RecsC")
Set g = Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
g = UserForm1.strSuppNam
End With
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]