BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Dick_Pickett
Fluorite | Level 6

Is this possible?

 

Example: An Excel cell contains: =HYPERLINK("[mailto:[email protected]]", "[email protected]")

 

PROC IMPORT does not import the cell contents.

 

PROC IMPORT datafile = "report" out = &tabnamecon
dbms = XLSX REPLACE ;

sheet = "&tabname" ;
getnames = NO ;
%IF &columnheadline = NA %THEN %DO ;
datarow = 1
%END ;
%IF &columnheadline ^= NA %THEN %DO ;
datarow=&columnheadline
%END ;
;
RUN ;

Richard F. Pickett, Research Systems Programmer/Analyst
Payment Data Analysis (PDA)
Community Health & Implementation Research Program(CHIRP)
Improving the Human Condition(ITCH)
Social, Statistical & Environmental Sciences(SSES)
RTI International
3040 Cornwallis Road
322 Building 9
Research Triangle Park, NC 27709-2194
Phone: 919.316.3798
Fax: 919.485.5589
mailto:[email protected]

turning knowledge into practice
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
When importing from Excel, it reads the value of the cell, not the formulas of the cell.
I'm not aware of any method to retrieving the formulas beyond parsing the XML file which is very cumbersome.

View solution in original post

1 REPLY 1
Reeza
Super User
When importing from Excel, it reads the value of the cell, not the formulas of the cell.
I'm not aware of any method to retrieving the formulas beyond parsing the XML file which is very cumbersome.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1635 views
  • 1 like
  • 2 in conversation